IDAES / idaes-ext

IDAES developer repo for those building the idaes binary solvers and related tools.
Other
9 stars 11 forks source link

Add support for macOS (everything but HSL solvers) #69

Closed adowling2 closed 2 years ago

adowling2 commented 3 years ago

Goal: update idaes get-extensions to partially work with macOS.

Here is what happens when I run sh ./scripts/compile_libs.sh:

--2021-01-14 14:25:33--  https://coin-or-tools.github.io/ThirdParty-ASL/solvers-20180528.tgz
Resolving coin-or-tools.github.io (coin-or-tools.github.io)... 185.199.111.153, 185.199.108.153, 185.199.109.153, ...
Connecting to coin-or-tools.github.io (coin-or-tools.github.io)|185.199.111.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 349280 (341K) [application/octet-stream]
Saving to: ‘solvers-20180528.tgz’

solvers-20180528.tgz                       100%[=======================================================================================>] 341.09K  --.-KB/s    in 0.03s   

2021-01-14 14:25:33 (9.73 MB/s) - ‘solvers-20180528.tgz’ saved [349280/349280]

x solvers/
x solvers/r_op.hd
x solvers/obj2val.c
x solvers/r_qp.hd
x solvers/fpinitmt.c
x solvers/duthes.c
x solvers/wsu_desc.c
x solvers/sos_add.c
x solvers/punknown.c
x solvers/amplsolv.sy
x solvers/xp2known.c
x solvers/comeval.c
x solvers/stdio1.h0
x solvers/func_add.c
x solvers/mainexit.c
x solvers/op_typeb.hd
x solvers/fg_read.c
x solvers/funcadd0.c
x solvers/funcadd1.c
x solvers/funcaddk.c
x solvers/funcaddr.c
x solvers/asl.h
x solvers/fgh_read.c
x solvers/nlp.h
x solvers/errchk.h
x solvers/asl_pfgh.h
x solvers/makefile.wat
x solvers/fg_write.c
x solvers/README
x solvers/asl_pfg.h
x solvers/com2eval.c
x solvers/basename.c
x solvers/configure
x solvers/r_opn.hd
x solvers/conscale.c
x solvers/rops2.c
x solvers/nqpcheck.c
x solvers/asldate.c
x solvers/opcode.hd
x solvers/dtoa1.c
x solvers/fpsetprec.s
x solvers/avltree.c
x solvers/avltree.h
x solvers/auxinfo.c
x solvers/dvalue.hd
x solvers/fpsetprec64.s
x solvers/op_type.hd
x solvers/jacinc1.c
x solvers/objconst.c
x solvers/writesol.c
x solvers/repwhere.c
x solvers/qpcheckZ.c
x solvers/bscanf.c
x solvers/studchk0.c
x solvers/fpinit.c
x solvers/jacpdim.h
x solvers/conpval.c
x solvers/sigcatch.c
x solvers/sphes.c
x solvers/qpcheck.c
x solvers/fullhes.c
x solvers/g_fmt.c
x solvers/nl_obj.c
x solvers/arith.ibm
x solvers/atof.c
x solvers/names.c
x solvers/r_opn0.hd
x solvers/configurehere
x solvers/conadj.c
x solvers/xp1known.c
x solvers/jacdim.c
x solvers/dtoa.c
x solvers/indic_cons.c
x solvers/jacinc.c
x solvers/getenv.c
x solvers/conval.c
x solvers/obj_adj0.c
x solvers/libnamsave.c
x solvers/jac0dim.c
x solvers/00lastchange
x solvers/htcl.c
x solvers/xectim.c
x solvers/mip_pri.c
x solvers/pfg_read.c
x solvers/degree.c
x solvers/jac2dim.c
x solvers/jac2dim.h
x solvers/con2val.c
x solvers/derprop.c
x solvers/qsortv.c
x solvers/funcadd.c
x solvers/funcadd.h
x solvers/sscanf.c
x solvers/mach.c
x solvers/misc.c
x solvers/genrowno.c
x solvers/getstub.c
x solvers/getstub.h
x solvers/obj_adj.c
x solvers/obj_adj.h
x solvers/nlp2.h
x solvers/nqpcheckZ.c
x solvers/README.f77
x solvers/value.c
x solvers/mpec_adj.c
x solvers/wrtsol_.c
x solvers/mypow.c
x solvers/rops.c
x solvers/arith.h0
x solvers/sjac0dim.c
x solvers/amplsolv.lbc
x solvers/obj_prec.c
x solvers/con1ival.c
x solvers/objval.c
x solvers/printf.c
x solvers/stderr.c
x solvers/sprintf.c
x solvers/op_type.c
x solvers/arithchk.c
x solvers/rnd_prod.s
x solvers/xsum0.out
x solvers/opnos.hd
x solvers/makefile.lc
x solvers/makefile.sy
x solvers/makefile.vc
x solvers/b_search.c
x solvers/float.h0
x solvers/suf_sos.c
x solvers/pfghread.c
x solvers/con2ival.c
x solvers/mqpcheckv.c
x solvers/psinfo.h
x solvers/objval_.c
x solvers/strerror.c
x solvers/mpec_adj0.c
x solvers/comptry.bat
x solvers/qp_read.c
x solvers/fpecatch.c
x solvers/changes
x solvers/dynlink.c
x solvers/x2check.c
x solvers/ws_desc.c
x solvers/details.c0
x solvers/pshvprod.c
x solvers/readsol.c
x solvers/makefile.u
x solvers/f_read.c
cd ${OBJDIR=sys.`uname -m`.`uname -s`}; make
x86_64-apple-darwin13.4.0-clang -c -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -DASL_NO_FPINITMT fpinit.c
x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe arithchk.c fpinit.o -lm ||\
     x86_64-apple-darwin13.4.0-clang -DNO_LONG_LONG -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe arithchk.c fpinit.o -lm ||\
     x86_64-apple-darwin13.4.0-clang -DNO_SSIZE_T -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe arithchk.c fpinit.o -lm ||\
     x86_64-apple-darwin13.4.0-clang -DNO_LONG_LONG -DNO_SSIZE_T -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe arithchk.c fpinit.o -lm
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd
Undefined symbols for architecture x86_64:
  "___error", referenced from:
      _main in arithchk-69a302.o
  "___stack_chk_fail", referenced from:
      _get_nanbits in arithchk-69a302.o
      _fpinit_ASL in fpinit.o
  "___stack_chk_guard", referenced from:
      _get_nanbits in arithchk-69a302.o
      _fpinit_ASL in fpinit.o
  "___stdoutp", referenced from:
      _main in arithchk-69a302.o
  "_acos", referenced from:
      _main in arithchk-69a302.o
  "_asin", referenced from:
      _main in arithchk-69a302.o
  "_exp", referenced from:
      _main in arithchk-69a302.o
  "_fprintf", referenced from:
      _main in arithchk-69a302.o
  "_fwrite", referenced from:
      _main in arithchk-69a302.o
  "_log", referenced from:
      _main in arithchk-69a302.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd
ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture x86_64:
  "___error", referenced from:
      _main in arithchk-ae2b3e.o
  "___stack_chk_fail", referenced from:
      _get_nanbits in arithchk-ae2b3e.o
      _fpinit_ASL in fpinit.o
  "___stack_chk_guard", referenced from:
      _get_nanbits in arithchk-ae2b3e.o
      _fpinit_ASL in fpinit.o
  "___stdoutp", referenced from:
      _main in arithchk-ae2b3e.o
  "_acos", referenced from:
      _main in arithchk-ae2b3e.o
  "_asin", referenced from:
      _main in arithchk-ae2b3e.o
  "_exp", referenced from:
      _main in arithchk-ae2b3e.o
  "_fprintf", referenced from:
      _main in arithchk-ae2b3e.o
  "_fwrite", referenced from:
      _main in arithchk-ae2b3e.o
  "_log", referenced from:
      _main in arithchk-ae2b3e.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
Undefined symbols for architecture x86_64:
  "___error", referenced from:
      _main in arithchk-f9e3bb.o
  "___stack_chk_fail", referenced from:
      _get_nanbits in arithchk-f9e3bb.o
      _fpinit_ASL in fpinit.o
  "___stack_chk_guard", referenced from:
      _get_nanbits in arithchk-f9e3bb.o
      _fpinit_ASL in fpinit.o
  "___stdoutp", referenced from:
      _main in arithchk-f9e3bb.o
  "_acos", referenced from:
      _main in arithchk-f9e3bb.o
  "_asin", referenced from:
      _main in arithchk-f9e3bb.o
  "_exp", referenced from:
      _main in arithchk-f9e3bb.o
  "_fprintf", referenced from:
      _main in arithchk-f9e3bb.o
  "_fwrite", referenced from:
      _main in arithchk-f9e3bb.o
  "_log", referenced from:
      _main in arithchk-f9e3bb.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libm.tbd
Undefined symbols for architecture x86_64:
  "___error", referenced from:
      _main in arithchk-773485.o
  "___stack_chk_fail", referenced from:
      _get_nanbits in arithchk-773485.o
      _fpinit_ASL in fpinit.o
  "___stack_chk_guard", referenced from:
      _get_nanbits in arithchk-773485.o
      _fpinit_ASL in fpinit.o
  "___stdoutp", referenced from:
      _main in arithchk-773485.o
  "_acos", referenced from:
      _main in arithchk-773485.o
  "_asin", referenced from:
      _main in arithchk-773485.o
  "_exp", referenced from:
      _main in arithchk-773485.o
  "_fprintf", referenced from:
      _main in arithchk-773485.o
  "_fwrite", referenced from:
      _main in arithchk-773485.o
  "_log", referenced from:
      _main in arithchk-773485.o
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [arith.h] Error 1
make: *** [amplsolver] Error 2
/Library/Developer/CommandLineTools/usr/bin/make -C ./helmholtz/iapws95
cp ../common/helmholtz* ./
echo '#include"iapws95_param.h"' > helmholtz_param.h
sed s/EOS_TAG/iapws95/g helmholtz_asl_funcs.h > tmp
mv tmp helmholtz_asl_funcs.h
sed s/EOS_TAG/iapws95/g helmholtz_asl_funcs.cpp > tmp
mv tmp helmholtz_asl_funcs.cpp
g++ -c -Wall -Wextra -O3 -static -fPIC -I/Users/adowling/idaes-ext/solvers/sys.x86_64.Darwin -std=c++0x -fPIC helmholtz_external.cpp -o helmholtz_external.o
In file included from helmholtz_external.cpp:26:
helmholtz_memo.h:22:9: fatal error: boost/functional/hash.hpp: No such file or directory
   22 | #include<boost/functional/hash.hpp>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [helmholtz_external.o] Error 1
make: *** [iapws95] Error 2
cp: ../src/dist/*.so: No such file or directory
a license_lib.txt
a tmp
a version_lib.txt

@eslickj @michaelbynum @ksbeattie any thoughts?

adowling2 commented 3 years ago

Looks like my machine is using clang by default. We want to use gfortran instead.

eslickj commented 3 years ago

Looks like you don't have boost libraries installed. I set the scripts up to use gcc. Not really sure about clang. For some things it may work, but I probably hard coded gcc into the property library make files.

adowling2 commented 3 years ago

I set CC=/usr/bin/gcc in the make script (ugly). You are correct I'm missing boost.

adowling2 commented 3 years ago

I installed boost with conda install -c conda-forge boost.

adowling2 commented 3 years ago

Now I'm getting this error message:

In file included from helmholtz_external.cpp:26:
helmholtz_memo.h:22:9: fatal error: boost/functional/hash.hpp: No such file or directory
   22 | #include<boost/functional/hash.hpp>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [helmholtz_external.o] Error 1
eslickj commented 3 years ago

For this you'll want to install, guessing, something like libboost-dev with home brew.

adowling2 commented 3 years ago

I removed boost with conda and ran conda install -c statiskit libboost-dev.

eslickj commented 3 years ago

I searched a bit maybe brew install boost. I don't think conda will put it where the compilers are looking by default unless you got the compiler with conda too. There is something in your environment I guess that sets where to look for header files.

adowling2 commented 3 years ago

Yep, I'm trying brew install boost now. Update: That did not work. Next steps for me:

eslickj commented 3 years ago

You can set the BOOST_HEADER environment variable as described her https://github.com/IDAES/idaes-ext/blob/main/src/Makefile.in. Boost used to be a bigger issue before everything came precompiled. A lot of boost is implemented in header files, so I think if you have it and can track down the headers that's enough to make it work.

adowling2 commented 3 years ago

I got it to work. I pushed my code as a new branch: adowling2-macos. I hardcoded things.

adowling2 commented 3 years ago

I now have ./dist-lib/idaes-lib--64.tar.gz. Is this the file we want to test release?

eslickj commented 3 years ago

Yeah. There is an OS string missing. I guess you had no way to know to set an environment variable for it. Anyway between the two -- goes darwin so you can rename it idaes-lib-darwin-64.tar.gz

adowling2 commented 3 years ago

@eslickj @ksbeattie @michaelbynum I successfully compiled the IDAES-specific libraries (e.g., thermo functions). See my email for the file.

I think the next step is to post this to GitHub. I see there are a few special ways to run get-extensions:

idaes get-extensions --release <tag>

or

idaes get-extensions --url <URL>

My suggestion is to use the URL option. I can then try on my macOS laptop. (I compiled these on my macOS desktop.) If that works, I can get a few macOS users in my group to give it a try.

I anticipate we'll run into a few more snags to get this working on the first computer we test.

adowling2 commented 3 years ago

Yes, we'll want to use the URL option. Otherwise, IDAES will give up when it detects macOS: https://github.com/IDAES/idaes-pse/blob/4438f0135f1bf8c543778afa9b8f77d1e92056b3/idaes/solvers.py#L93

adowling2 commented 3 years ago

Actually, the code linked above installs both the IDAES libraries and solvers at the same time. We might need to compile Ipopt without HSL to get macOS support working.

eslickj commented 3 years ago

@adowling2 I think the solvers package includes pynumero, Ipopt, and k_aug. I think we can compile all except k_aug without hsl. May need to give this some thought. But I think we can get a full working set of binaries maybe omitting k_aug without HSL.

I think the URL option also fails from Mac, but I can make whatever changes we need to make it act right. The url option can be used to install from your local drive too like idaes get extensions --url file:///home/..., so it's really nice for testing.

adowling2 commented 3 years ago

Update: binaries compiled on macOS 10.15 will not work with macOS 10.13.

adowling2 commented 3 years ago

Update: it appears part of conda doesn't work in macOS 10.13.

/Users/******/anaconda3/envs/idaes-pse/lib/python3.7/site-packages/zmq/backend/cython/../../.dylibs/libsodium.23.dylib (which was built for Mac OS X 10.15)

I cannot run idaes get-extensions on my computer with macOS 10.13.

adowling2 commented 3 years ago

I updated my computer. I'm now able to run IDAES.

@eslickj You are correct that IDAES throws an exception:

idaes get-extensions --url /my_path_here/idaes-pse/binaries

results in

  File "/my_path_here/idaes-pse/idaes/solvers.py", line 103, in download_binaries
    raise Exception('Mac OSX currently unsupported')

For clarity, I put the two .tar.gz files in /binaries.

adowling2 commented 3 years ago

Update: I got the binaries to work on the computer I compiled them on. I created this PR with a one-line change in IDAES: https://github.com/IDAES/idaes-pse/pull/162

I'm now recompiling the extensions with my academic HSL license to test the workflow. These will not be redistributed.

adowling2 commented 3 years ago

Update: I was able to run the IDAES tests using my compiled binaries on macOS installed via idaes get-extensions (with the URL option to a local directory). Only 3 tests failed:

========================================================================================================================== short test summary info ===========================================================================================================================
FAILED idaes/dmf/tests/test_surrmod.py::test_init - TypeError: add() missing 1 required positional argument: 'rsrc'
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestSaponification_crossflow::test_solve - ValueError: Cannot load a SolverResults object with bad status: error
FAILED idaes/tests/test_docs.py::test_doctests - assert 1 == 0
==================================================================================================== 3 failed, 3517 passed, 3 skipped, 83 deselected in 303.06s (0:05:03) ====================================================================================================

So this is positive news.

@eslickj @michaelbynum I'm having trouble compiling idaes-ext using HSL on my local machine. Lots of clang versus g++ conflicts. We can talk more during our Zoom meeting next week.

adowling2 commented 3 years ago

I figured out the clang/gcc issue. Right now I'm stuck on k_aug. There seems to be a linker issue.

[  5%] Building C object CMakeFiles/dot_sens.dir/src/k_aug/dot_driver/dot_driver.c.o
/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug/src/k_aug/dot_driver/dot_driver.c:62:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char **argv) {
             ^
1 warning generated.
[ 10%] Linking C executable dot_sens
clang: warning: argument unused during compilation: '-ansi' [-Wunused-command-line-argument]
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dot_sens] Error 1
make[1]: *** [CMakeFiles/dot_sens.dir/all] Error 2
make: *** [all] Error 2
cp: bin/k_aug*: No such file or directory
cp: dot_sens*: No such file or directory
a idaes-solvers--64.tar.gz: Can't add archive to itself
a ipopt
a libpynumero_ASL.dylib
a license.txt
a tmp
a version_solvers.txt
HSL Present: YES
adowling2 commented 3 years ago

I'm still stuck on compiling k_aug:

Cloning into 'k_aug'...
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (82/82), done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 1825 (delta 40), reused 30 (delta 14), pack-reused 1743
Receiving objects: 100% (1825/1825), 17.32 MiB | 26.59 MiB/s, done.
Resolving deltas: 100% (1111/1111), done.
M   CMakeLists.txt
Already on 'ma57'
Your branch is up to date with 'origin/ma57'.
expr: syntax error
-- The C compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_FORTRAN_COMPILER

-- Build files have been written to: /Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug
Scanning dependencies of target dot_sens
[  5%] Building C object CMakeFiles/dot_sens.dir/src/k_aug/dot_driver/dot_driver.c.o
/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug/src/k_aug/dot_driver/dot_driver.c:62:14: warning: unused
      parameter 'argc' [-Wunused-parameter]
int main(int argc, char **argv) {
             ^
1 warning generated.
[ 10%] Linking C executable dot_sens
clang: warning: argument unused during compilation: '-ansi' [-Wunused-command-line-argument]
ld: warning: could not create compact unwind for _libload_ASL: stack subq instruction is too different from dwarf stack size
[ 10%] Built target dot_sens
Scanning dependencies of target k_aug
[ 15%] Building C object CMakeFiles/k_aug.dir/src/k_aug/main_.c.o
In file included from /Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug/src/k_aug/main_.c:39:
/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug/src/k_aug/get_grad_f.h:8:24: error: no newline at end of file
      [-Werror,-Wnewline-eof]
#endif /* GET_GRAD_F */
                       ^
/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/k_aug/src/k_aug/main_.c:162:14: warning: unused parameter 'argc'
      [-Wunused-parameter]
int main(int argc, char **argv){
             ^
1 warning and 1 error generated.
make[2]: *** [CMakeFiles/k_aug.dir/src/k_aug/main_.c.o] Error 1
make[1]: *** [CMakeFiles/k_aug.dir/all] Error 2
make: *** [all] Error 2
adowling2 commented 3 years ago

I think I got it to work ;)

adowling2 commented 3 years ago

I used idaes get-extensions to install the compiled solvers with HSL. Here are the results from running the tests:

================================================================================================ short test summary info =================================================================================================
FAILED idaes/dmf/tests/test_surrmod.py::test_init - TypeError: add() missing 1 required positional argument: 'rsrc'
FAILED idaes/generic_models/flowsheets/tests/test_demo_flowsheet.py::test_solve_flowsheet - assert 374.61789615752025 == 368.2 ± 3.7e-02
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestSaponification_crossflow::test_solve - ValueError: Cannot load a SolverResults object with bad status: error
FAILED idaes/tests/test_docs.py::test_doctests - assert 1 == 0
========================================================================== 4 failed, 3516 passed, 3 skipped, 83 deselected in 297.87s (0:04:57) ==========================================================================

Edit: I believe these binaries we compiled on my desktop and then tests on the same machine.

eslickj commented 3 years ago

@adowling2 that's awesome. Now we just have to figure out if they work on MacOS in general or if there may be shared library or version issues. We can talk Tuesday, but the non-HSL versions should be okay to add to like a Mac Testing release or something to make it easy for people to try out.

I'll modify the get-extensions to only raise the exception about unsupported MacOS only if the files are missing at the URL you point it to, so we won't have to deal with that issue. We can keep testing with --url since I think the release option will try to verify checksums, and we don't have those yet.

adowling2 commented 3 years ago

Update: I installed the binaries (including HSL) compiled on one macOS machine (Mojave) on a different macOS machine (Big Sur). On the different machine, 300+ tests are failing, many with Solver (ipopt) did not exit normally error. Attached are all of the error messages.

errors.txt

adowling2 commented 3 years ago

I also reran the tests with the non-HSL binaries. Lots of failing tests:

================================================================================ 397 failed, 3116 passed, 6 skipped, 83 deselected, 4 errors in 254.74s (0:04:14) =================================================================================

Here are some common error messages:

/Users/adowling/anaconda3/envs/idaes-pse/lib/python3.7/ctypes/__init__.py:364: OSError
-------------------------------------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------------------------------------
ERROR: evaluating object as numeric value:
    fs.main_compressor.control_volume.properties_in[0.0].temperature
        (object: <class 'pyomo.core.base.expression.SimpleExpression'>)
    dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not found:
    __ZNKSt5ctypeIcE13_M_widen_initEv
      Referenced from: /Users/adowling/.idaes/bin/swco2_external.so Expected
      in: /usr/lib/libstdc++.6.dylib
     in /Users/adowling/.idaes/bin/swco2_external.so
---------------------------------------------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------------------------------------------
ERROR    pyomo.core:numvalue.py:244 evaluating object as numeric value: fs.main_compressor.control_volume.properties_in[0.0].temperature
    (object: <class 'pyomo.core.base.expression.SimpleExpression'>)
dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
  Referenced from: /Users/adowling/.idaes/bin/swco2_external.so
  Expected in: /usr/lib/libstdc++.6.dylib
 in /Users/adowling/.idaes/bin/swco2_external.so
-------------------------------------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------------------------------------
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: See the solver log above for diagnostic information.
2021-01-15 19:29:03 [DEBUG] idaes.solver: dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
2021-01-15 19:29:03 [DEBUG] idaes.solver: Referenced from: /Users/adowling/.idaes/bin/ipopt
Referenced from: /Users/adowling/.idaes/bin/ipopt
Referenced from: /Users/adowling/.idaes/bin/ipopt
2021-01-15 19:29:03 [DEBUG] idaes.solver: Reason: image not found
Reason: image not found
Reason: image not found
---------------------------------------------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------------------------------------------
ERROR    pyomo.opt:solvers.py:591 Solver (ipopt) returned non-zero return code (-6)
ERROR    pyomo.opt:solvers.py:594 See the solver log above for diagnostic information.
DEBUG    idaes.solver:logger.py:280 dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
DEBUG    idaes.solver:logger.py:280 Referenced from: /Users/adowling/.idaes/bin/ipopt
DEBUG    idaes.solver:logger.py:280 Reason: image not found
-------------------------------------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------------------------------------
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: Solver log: dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
      Referenced from: /Users/adowling/.idaes/bin/ipopt Reason: image not
      found
---------------------------------------------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------------------------------------------
ERROR    pyomo.opt:solvers.py:591 Solver (ipopt) returned non-zero return code (-6)
ERROR    pyomo.opt:solvers.py:596 Solver log:
dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
  Referenced from: /Users/adowling/.idaes/bin/ipopt
  Reason: image not found
adowling2 commented 3 years ago

I suspect I have the hsl library installed on the machine used to compile the solvers.

Regarding the thermo error, looks like I need to compile statically: https://stackoverflow.com/a/53526797/8534156

adowling2 commented 3 years ago

I confirmed that even when trying to use the binaries compiled with HSL, I get the error ERROR: Solver log: dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib for ipopt.

adowling2 commented 3 years ago

I'm now trying to recompile to sort out the libcoinshl and libc++ errors. If I don't compile inside my idaes-pse conda environment, I get this error:

g++ -c -Wall -Wextra -O3 -static -fPIC -I/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/solvers/sys.x86_64.Darwin -I/usr/local/Cellar/boost/1.74.0/include -std=c++0x -fPIC helmholtz_external.cpp -o helmholtz_external.o
g++ -c -Wall -Wextra -O3 -static -fPIC -I/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/solvers/sys.x86_64.Darwin -I/usr/local/Cellar/boost/1.74.0/include -std=c++0x -fPIC helmholtz_solve.cpp -o helmholtz_solve.o
g++ -c -Wall -Wextra -O3 -static -fPIC -I/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/solvers/sys.x86_64.Darwin -I/usr/local/Cellar/boost/1.74.0/include -std=c++0x -fPIC helmholtz_phi.cpp -o helmholtz_phi.o
g++ -c -Wall -Wextra -O3 -static -fPIC -I/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/solvers/sys.x86_64.Darwin -I/usr/local/Cellar/boost/1.74.0/include -std=c++0x -fPIC helmholtz_asl_funcs.cpp -o helmholtz_asl_funcs.o
In file included from helmholtz_asl_funcs.h:22,
                 from helmholtz_asl_funcs.cpp:25:
/Users/adowling/DowlingLab/IDAES/idaes-ext-with-hsl/solvers/sys.x86_64.Darwin/funcadd.h:27:10: fatal error: stdio1.h: No such file or directory
   27 | #include "stdio1.h" /* for ANSI and any printing */
      |          ^~~~~~~~~~
compilation terminated.
adowling2 commented 3 years ago

Update: I recompiled the binaries after adding -static-libstdc++ in Makefile.in and --without-hsl for the coinbrew line in compile_solvers.sh. Now testing on my second macOS computer.

adowling2 commented 3 years ago

@jsiirola @ksbeattie FYI, I was unable to run IDAES after a fresh install using the developer documentation. It fails on macOS 10.13 (High Sierra) because of this: https://github.com/IDAES/idaes-ext/issues/69#issuecomment-760570594. The package zmq is the issue.

adowling2 commented 3 years ago

Update trying binaries without HSL. Still work in progress:

============================================================================ short test summary info ============================================================================
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_solve_consistent_initial_conditions - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_calculate_full_state_setpoint - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_solve_setpoint - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_add_setpoint_to_controller - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_construct_objective_weights - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit n...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_add_objective_function - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_initialize_control_problem - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_initialize_by_solving_elements - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exi...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_initialize_from_previous_sample - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ex...
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_solve_control_problem - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/apps/caprese/tests/test_nmpc_unit.py::TestNMPCSim::test_simulate_plant - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/apps/caprese/tests/test_util.py::test_initialize_by_element_in_range - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/convergence/tests/test_convergence.py::test_convergence_evaluation_fixedvar_mutableparam - pyutilib.common._exceptions.ApplicationError: Solver (ipopt)...
FAILED idaes/core/util/tests/test_homotopy.py::test_basic - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_overshoot - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_constraint_violation - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_max_iter - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_infeasible_init - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_step_accel - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_step_init - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_step_cut - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_step_cut_2 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_iter_target - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_homotopy.py::test_basic_max_step - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_initialization.py::test_solve_indexed_block_list - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_initialization.py::test_solve_indexed_block_IndexedBlock - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_pid_initialization.py::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_scaling.py::TestScaleConstraintsPynumero::test_jacobian - OSError: dlopen(/Users/adowling/.idaes/bin/libpynumero_ASL.dylib, 6): Library not ...
FAILED idaes/core/util/tests/test_scaling.py::TestScaleConstraintsPynumero::test_scale_no_var_scale - OSError: dlopen(/Users/adowling/.idaes/bin/libpynumero_ASL.dylib, 6): Li...
FAILED idaes/core/util/tests/test_scaling.py::TestScaleConstraintsPynumero::test_scale_with_var_scale - OSError: dlopen(/Users/adowling/.idaes/bin/libpynumero_ASL.dylib, 6): ...
FAILED idaes/core/util/tests/test_scaling.py::TestScaleConstraintsPynumero::test_scale_with_ignore_var_scale - OSError: dlopen(/Users/adowling/.idaes/bin/libpynumero_ASL.dyli...
FAILED idaes/core/util/tests/test_scaling.py::TestScaleConstraintsPynumero::test_scale_with_ignore_var_scale_constraint_scale - OSError: dlopen(/Users/adowling/.idaes/bin/lib...
FAILED idaes/core/util/tests/test_unit_costing.py::test_costing_FH_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_unit_costing.py::test_costing_distillation_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_unit_costing.py::test_blower_build_and_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/core/util/tests/test_unit_costing.py::test_compressor_fan - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC::test_solution - assert 0.14 ± 1.0e-02 == None
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC::test_conservation - assert 1429.019385148 <= 0.01
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC_EnergyBalanceType::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) ...
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC_EnergyBalanceType::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC_EnergyBalanceType::test_solution - assert 0.44 ± 1.0e-02 == None
FAILED idaes/gas_solid_contactors/unit_models/tests/test_BFB.py::TestIronOC_EnergyBalanceType::test_conservation - assert 1429.019385148 <= 0.01
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC::test_solution - assert 0.5675 ± 1.0e-02 == 0.05
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC::test_conservation - assert 589.2076589576661 <= 0.01
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC_EnergyBalanceType::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) d...
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC_EnergyBalanceType::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC_EnergyBalanceType::test_solution - assert 0.19 ± 1.0e-02 == 0.05
FAILED idaes/gas_solid_contactors/unit_models/tests/test_MB.py::TestIronOC_EnergyBalanceType::test_conservation - assert 589.2076589576661 <= 0.01
FAILED idaes/generic_models/flowsheets/tests/test_demo_flowsheet.py::test_initialize_flowsheet - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit nor...
FAILED idaes/generic_models/flowsheets/tests/test_demo_flowsheet.py::test_solve_flowsheet - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/properties/activity_coeff_models/tests/test_ideal_ideal_FTPz.py::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not...
FAILED idaes/generic_models/properties/activity_coeff_models/tests/test_ideal_ideal_FcTP.py::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not...
FAILED idaes/generic_models/properties/core/examples/reactions/tests/test_reaction_example.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError:...
FAILED idaes/generic_models/properties/core/examples/reactions/tests/test_reaction_example.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solv...
FAILED idaes/generic_models/properties/core/examples/reactions/tests/test_reaction_example.py::TestStateBlock::test_solution - assert 500 == 7.0849 ± 7.1e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did ...
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not e...
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR.py::TestStateBlock::test_solution - assert 0.3333333333333333 == 0.1739 ± 1.0e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR_Dowling_2015.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver...
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR_Dowling_2015.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipo...
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR_Dowling_2015.py::TestStateBlock::test_solution - assert 0.3333333333333333 == 0.9663 ± 1.0e-03
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR_Dowling_2015.py::TestStateBlock::test_SF0 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/examples/tests/test_ASU_PR_Dowling_2015.py::TestStateBlock::test_SFIL3 - pyutilib.common._exceptions.ApplicationError: Solver (ipo...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal.py::TestStateBlock::test_solution - assert 0.5 == 0.4121 ± 1.0e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FPhx.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FPhx.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FPhx.py::TestStateBlock::test_solution - assert 0.5 == 0.4121 ± 1.0e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcPh.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcPh.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcPh.py::TestStateBlock::test_solution - assert 0.5 == 0.4121 ± 1.0e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcTP.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcTP.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/properties/core/examples/tests/test_BTIdeal_FcTP.py::TestStateBlock::test_solution - assert 0.5 == 0.407 ± 1.0e-04
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T350_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T350_P5_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T450_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T450_P5_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T368_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_BT_PR.py::TestBTExample::test_T376_P1_x2 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/properties/core/examples/tests/test_CO2_H2O_Ideal_VLE.py::TestStateBlock::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (...
FAILED idaes/generic_models/properties/core/examples/tests/test_CO2_H2O_Ideal_VLE.py::TestStateBlock::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/examples/tests/test_CO2_H2O_Ideal_VLE.py::TestStateBlock::test_solution - assert 0.5 == 1 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Liquid::test_initialize - pyutilib.common._exceptions.ApplicationError: Solv...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Liquid::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (i...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Liquid::test_solution - assert 0.3333333333333333 == 0.3424 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Vapour::test_initialize - pyutilib.common._exceptions.ApplicationError: Solv...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Vapour::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (i...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense.py::TestNonCondensable_Vapour::test_solution - assert 0.3333333333333333 == 0.2858 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Liquid::test_initialize - pyutilib.common._exceptions.ApplicationError: S...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Liquid::test_solve - pyutilib.common._exceptions.ApplicationError: Solver...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Liquid::test_solution - assert 0.3333333333333333 == 0.3424 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Vapour::test_initialize - pyutilib.common._exceptions.ApplicationError: S...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Vapour::test_solve - pyutilib.common._exceptions.ApplicationError: Solver...
FAILED idaes/generic_models/properties/core/generic/tests/test_noncondense_PR.py::TestNonCondensable_Vapour::test_solution - assert 0.3333333333333333 == 0.2931 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Vapour::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Vapour::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Vapour::test_solution - assert 0.3333333333333333 == 0.2964 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Liquid::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Liquid::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap.py::TestNonVapourisable_Liquid::test_solution - assert 0.3333333333333333 == 0.4 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Vapour::test_initialize - pyutilib.common._exceptions.ApplicationError: Solve...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Vapour::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ip...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Vapour::test_solution - assert 0.3333333333333333 == 0.3066 ± 1.0e-04
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Liquid::test_initialize - pyutilib.common._exceptions.ApplicationError: Solve...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Liquid::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ip...
FAILED idaes/generic_models/properties/core/generic/tests/test_nonvap_PR.py::TestNonVapourisable_Liquid::test_solution - assert 0.3333333333333333 == 0.4 ± 1.0e-04
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicLV::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicLV::test_release_state - AttributeError: 'ConcreteModel' object has no attribute '_flags'
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicL::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicL::test_release_state - AttributeError: 'ConcreteModel' object has no attribute '_flags'
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicV::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBasicV::test_release_state - AttributeError: 'ConcreteModel' object has no attribute '_flags'
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T350_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T350_P5_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T450_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T450_P5_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T368_P1_x5 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/cubic_eos/tests/test_BT_example.py::TestBTExample::test_T376_P1_x2 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::test_htpx - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __ZNKSt5ctypeI...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestMixPh::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): S...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLGPh::test_get_material_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLGPh::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLGPh::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sy...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLPh::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symb...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLPh::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestGPh::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symb...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestGPh::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestMixTpx::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): S...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestMixTpx::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): ...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLgTpx::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sy...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLgTpx::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): S...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLTpx::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestLTpx::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sy...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestGTpx::test_get_enthalpy_flow_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95.py::TestGTpx::test_get_energy_density_terms - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sy...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_ph_mixed_byphase - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_phmixed_mixed_total - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_ph_lg_total - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_ph_l_phase_two - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_ph_l_phase - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_ph_g_phase - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_tpx_g_phase - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_tpx_lg_total - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbo...
FAILED idaes/generic_models/properties/tests/test_iapws95_integration.py::test_heater_tpx_lg_total_2 - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/generic_models/properties/tests/test_swco2_integration.py::TestIntegration::test_verify - OSError: dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbo...
FAILED idaes/generic_models/properties/tests/test_swco2_transport.py::TestSWCO2::test_transport - OSError: dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not...
FAILED idaes/generic_models/unit_models/distillation/tests/test_conventional_tray.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ip...
FAILED idaes/generic_models/unit_models/distillation/tests/test_conventional_tray.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) ...
FAILED idaes/generic_models/unit_models/distillation/tests/test_conventional_tray.py::TestBTXIdeal::test_solution - assert 0.46337 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/distillation/tests/test_feed_tray.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/unit_models/distillation/tests/test_feed_tray.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/unit_models/distillation/tests/test_feed_tray.py::TestBTXIdeal::test_solution - assert 0.92409 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/distillation/tests/test_partial_condenser.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ip...
FAILED idaes/generic_models/unit_models/distillation/tests/test_partial_condenser.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) ...
FAILED idaes/generic_models/unit_models/distillation/tests/test_partial_condenser.py::TestBTXIdeal::test_solution - assert 0.2306 ± 1.0e-03 == 0.25
FAILED idaes/generic_models/unit_models/distillation/tests/test_partial_condenser.py::TestBTXIdeal::test_conservation - assert 1.0 <= 1e-06
FAILED idaes/generic_models/unit_models/distillation/tests/test_reboiler.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did ...
FAILED idaes/generic_models/unit_models/distillation/tests/test_reboiler.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not e...
FAILED idaes/generic_models/unit_models/distillation/tests/test_reboiler.py::TestBTXIdeal::test_solution - assert 0.3891 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/distillation/tests/test_reboiler.py::TestBTXIdeal::test_conservation - assert 1.0 <= 1e-06
FAILED idaes/generic_models/unit_models/distillation/tests/test_total_condenser.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipop...
FAILED idaes/generic_models/unit_models/distillation/tests/test_total_condenser.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) di...
FAILED idaes/generic_models/unit_models/distillation/tests/test_total_condenser.py::TestBTXIdeal::test_solution - assert 365.347 ± 1.0e-03 == 298.15
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_column.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) d...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_column.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_column.py::TestBTXIdeal::test_solution - assert 47.45 ± 4.7e-01 == 0.4166666666666667
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_liq_draw.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (i...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_liq_draw.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt)...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_liq_draw.py::TestBTXIdeal::test_solution - assert 0.23168 ± 1.0e-03 == 0.25
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_vap_draw.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (i...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_vap_draw.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt)...
FAILED idaes/generic_models/unit_models/distillation/tests/test_tray_side_vap_draw.py::TestBTXIdeal::test_solution - assert 0.46337 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/tests/test_cstr.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/generic_models/unit_models/tests/test_cstr.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_cstr.py::TestSaponification::test_solution - assert 304.09 ± 1.0e-02 == 303.15
FAILED idaes/generic_models/unit_models/tests/test_cstr.py::TestSaponification::test_conservation - assert 3904.51 ± 1.0e-02 == 0.0
FAILED idaes/generic_models/unit_models/tests/test_cstr.py::TestSaponification::test_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_equilibrium_reactor.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) ...
FAILED idaes/generic_models/unit_models/tests/test_equilibrium_reactor.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did n...
FAILED idaes/generic_models/unit_models/tests/test_equilibrium_reactor.py::TestSaponification::test_solution - assert 304.32 ± 1.0e-02 == 303.15
FAILED idaes/generic_models/unit_models/tests/test_feed.py::TestIAPWS::test_solution - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: _...
FAILED idaes/generic_models/unit_models/tests/test_feed.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestBTXIdeal::test_solution - assert 368.0 ± 1.0e+00 == 298.15
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestIAPWS::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not ...
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestIAPWS::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestIAPWS::test_solution - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not fo...
FAILED idaes/generic_models/unit_models/tests/test_feed_flash.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not foun...
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestBTXIdeal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestBTXIdeal::test_solution - assert 0.603 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestIAPWS::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestIAPWS::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestIAPWS::test_solution - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: ...
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestIAPWS::test_conservation - assert 98 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_flash.py::TestIAPWS::test_costing - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: _...
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_initialize_temperature - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not e...
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_solve_temperature - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit n...
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_solution_temperature - assert 250.06 ± 1.0e-02 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_conservation_temperature - ValueError: No value for uninitialized NumericValue object fs.unit.c...
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_initialize_duty - assert 1 == 0
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_solve_heat_duty - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit nor...
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_solution_duty - assert 250.06 ± 1.0e-01 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_gibbs.py::TestMethane::test_conservation_duty - ValueError: No value for uninitialized NumericValue object fs.unit.control_...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::test_costing - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did no...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exi...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent::test_solution - assert 5 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent::test_conservation - assert 4.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent_alt_name::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipop...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent_alt_name::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) di...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent_alt_name::test_solution - assert 5 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBTX_cocurrent_alt_name::test_conservation - assert 4.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external....
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_initialize_underwood - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_solve_underwood - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_exte...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_solution - assert 3535 ± 1.0e+00 == 4000
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestIAPWS_countercurrent::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestSaponification_crossflow::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ip...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestSaponification_crossflow::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestSaponification_crossflow::test_solution - assert 301.3 ± 1.0e-01 == 320
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBT_Generic_cocurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt)...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBT_Generic_cocurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBT_Generic_cocurrent::test_solution - assert 5 ± 1.0e-03 == 100
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger.py::TestBT_Generic_cocurrent::test_conservation - assert 95 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_cocurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_cocurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_cocurrent::test_solution - assert 322.669 ± 1.0e-03 == 365
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_cocurrent::test_conservation - ValueError: No value for uninitialized NumericValue object fs....
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_countercurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_countercurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_countercurrent::test_solution - assert 304.292 ± 1.0e-03 == 304
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestBTX_countercurrent::test_conservation - ValueError: No value for uninitialized NumericValue objec...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_cocurrent::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_cocurrent::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6):...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_cocurrent::test_solution - assert 46298 ± 4.0e+00 == 50000
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_cocurrent::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6)...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_countercurrent::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_extern...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_countercurrent::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_countercurrent::test_solution - assert 45359 ± 1.0e+00 == 50000
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestIAPWS_countercurrent::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.s...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_cocurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_cocurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipop...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_cocurrent::test_solution - assert 309.4 ± 1.0e-01 == 320
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_countercurrent::test_initialize - pyutilib.common._exceptions.ApplicationError: So...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_countercurrent::test_solve - pyutilib.common._exceptions.ApplicationError: Solver ...
FAILED idaes/generic_models/unit_models/tests/test_heat_exchanger_1D.py::TestSaponification_countercurrent::test_solution - assert 309.2 ± 1.0e-01 == 320
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBTX::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBTX::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBTX::test_solution - assert 5 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBTX::test_conservation - assert 4.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestIAPWS::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestIAPWS::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestIAPWS::test_solution - assert 52000 ± 1.0e+00 == 50000
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestIAPWS::test_conservation - assert 10000 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: _...
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit ...
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestSaponification::test_solution - assert 320.2 ± 1.0e-01 == 320
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestSaponification::test_conservation - assert 1000.0 <= 0.001
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBT_Generic::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit norm...
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBT_Generic::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBT_Generic::test_solution - assert 5 ± 1.0e-03 == 100
FAILED idaes/generic_models/unit_models/tests/test_heater.py::TestBT_Generic::test_conservation - assert 95 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestBTX::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestBTX::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestBTX::test_solution - assert 6 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestBTX::test_conservation - assert 5.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestIAPWS::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestIAPWS::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __...
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit n...
FAILED idaes/generic_models/unit_models/tests/test_mixer.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_pfr.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit nor...
FAILED idaes/generic_models/unit_models/tests/test_pfr.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_pfr.py::TestSaponification::test_solution - assert 303.6 ± 1.0e-02 == 303.15
FAILED idaes/generic_models/unit_models/tests/test_pfr.py::TestSaponification::test_conservation - assert 1847000 ± 1.0e+03 == 0.0
FAILED idaes/generic_models/unit_models/tests/test_pfr.py::TestSaponification::test_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestBTX_isothermal::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestBTX_isothermal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestBTX_isothermal::test_solution - assert 5 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestBTX_isothermal::test_conservation - assert 4.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestIAPWS::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestIAPWS::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit norm...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestIAPWS::test_solution - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol no...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::TestSaponification::test_solution - assert 81325 ± 1.0e+02 == 101325
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::Test_costing::test_pump - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::Test_costing::test_compressor - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not e...
FAILED idaes/generic_models/unit_models/tests/test_pressure_changer.py::Test_costing::test_turbine - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbo...
FAILED idaes/generic_models/unit_models/tests/test_product.py::TestBTX::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_product.py::TestBTX::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_product.py::TestBTX::test_solution - assert 5 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/tests/test_product.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: ...
FAILED idaes/generic_models/unit_models/tests/test_rstoic.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit ...
FAILED idaes/generic_models/unit_models/tests/test_rstoic.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_rstoic.py::TestSaponification::test_solution - assert 304.21 ± 1.0e-02 == 303.15
FAILED idaes/generic_models/unit_models/tests/test_rstoic.py::TestSaponification::test_conservation - assert 4410000.0 <= 0.001
FAILED idaes/generic_models/unit_models/tests/test_rstoic.py::TestSaponification::test_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit nor...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestSaponification::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ex...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestSaponification::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit no...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestSaponification::test_solution - assert 0.2 ± 1.0e-05 == 0.5
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestSaponification::test_conservation - assert 0.30000000000000004 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTXIdeal::test_initialiszation - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exi...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTXIdeal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTXIdeal::test_solution - assert 0.438 ± 1.0e-03 == 1.0
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTXIdeal::test_conservation - assert 1.0 <= 1e-05
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestIAPWS::test_initialiszation - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestIAPWS::test_solve - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found:...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestIAPWS::test_solution - assert 10 ± 1.0e-03 == 50.0
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestIAPWS::test_conservation - assert 40.0 <= 1e-06
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTX_Ideal::test_initialiszation - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not ex...
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTX_Ideal::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_separator.py::TestBTX_Ideal::test_solution - assert 0.396 ± 1.0e-03 == 0.5
FAILED idaes/generic_models/unit_models/tests/test_statejunction.py::TestBTX::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit norm...
FAILED idaes/generic_models/unit_models/tests/test_statejunction.py::TestBTX::test_solve - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/generic_models/unit_models/tests/test_statejunction.py::TestIAPWS::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not f...
FAILED idaes/generic_models/unit_models/tests/test_translator.py::TestTranslate::test_initialize - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit n...
FAILED idaes/power_generation/costing/tests/test_power_plant_costing.py::test_PP_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/costing/tests/test_power_plant_costing.py::test_power_plant_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit ...
FAILED idaes/power_generation/costing/tests/test_power_plant_costing.py::test_sCO2_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/costing/tests/test_power_plant_costing.py::test_ASU_costing - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/helm/tests/test_compare_to_generic.py::test_pump - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/helm/tests/test_compare_to_generic.py::test_turbine - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not...
FAILED idaes/power_generation/unit_models/helm/tests/test_compare_to_generic.py::test_compressor - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/power_generation/unit_models/helm/tests/test_compare_to_generic.py::test_compressor_pump_compare - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so...
FAILED idaes/power_generation/unit_models/helm/tests/test_condenser_ntu.py::test_condenser_steady - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol...
FAILED idaes/power_generation/unit_models/helm/tests/test_condenser_ntu.py::test_condenser_dynamic - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbo...
FAILED idaes/power_generation/unit_models/helm/tests/test_mixer.py::test_mixer - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/helm/tests/test_mixer.py::test_mixer2 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/helm/tests/test_phase_separator.py::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not...
FAILED idaes/power_generation/unit_models/helm/tests/test_phase_separator.py::test_wflash - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not fou...
FAILED idaes/power_generation/unit_models/helm/tests/test_splitter.py::test_splitter - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_inlet.py::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not f...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_inlet.py::test_initialize_calc_cf - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symb...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_inlet.py::test_initialize_dyn - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol n...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_inlet.py::test_initialize_dyn2 - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_inlet.py::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_multistage.py::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol ...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_multistage.py::test_initialize_calc_cf - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6):...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_outlet.py::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not ...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_outlet.py::test_initialize_calc_cf - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Sym...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_outlet.py::test_initialize_calc_cf_dyn - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6):...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_outlet.py::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not foun...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_stage.py::test_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not f...
FAILED idaes/power_generation/unit_models/helm/tests/test_turbine_stage.py::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/power_generation/unit_models/tests/test_boiler_heat_exchanger.py::test_boiler_hx - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not...
FAILED idaes/power_generation/unit_models/tests/test_boilerfireside.py::test_initialize_unit - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/tests/test_boilerfireside.py::test_solve_unit - assert -8 == 0
FAILED idaes/power_generation/unit_models/tests/test_downcomer.py::test_initialize_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/power_generation/unit_models/tests/test_downcomer.py::test_solve_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/power_generation/unit_models/tests/test_drum.py::test_initialize_drum - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/power_generation/unit_models/tests/test_drum.py::test_run_drum - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __ZNKSt5ct...
FAILED idaes/power_generation/unit_models/tests/test_drum1D.py::test_initialize_drum1D - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found:...
FAILED idaes/power_generation/unit_models/tests/test_drum1D.py::test_run_drum1D - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __ZNKS...
FAILED idaes/power_generation/unit_models/tests/test_feedwater_heater.py::test_fwh_model - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not foun...
FAILED idaes/power_generation/unit_models/tests/test_heat_exchanger2D.py::test_initialize_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol no...
FAILED idaes/power_generation/unit_models/tests/test_heat_exchanger2D.py::test_run_drum - assert 11 == 0
FAILED idaes/power_generation/unit_models/tests/test_heat_exchanger_3streams.py::test_initialize_unit - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not e...
FAILED idaes/power_generation/unit_models/tests/test_heat_exchanger_3streams.py::test_run_unit - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit nor...
FAILED idaes/power_generation/unit_models/tests/test_steamheater.py::test_initialize_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not fou...
FAILED idaes/power_generation/unit_models/tests/test_steamheater.py::test_solve_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: _...
FAILED idaes/power_generation/unit_models/tests/test_valve_steam.py::test_vapor_steady_state_initialize - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): ...
FAILED idaes/power_generation/unit_models/tests/test_valve_steam.py::test_report - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __ZNK...
FAILED idaes/power_generation/unit_models/tests/test_waterpipe.py::test_initialize_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/power_generation/unit_models/tests/test_waterpipe.py::test_solve_unit - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
FAILED idaes/power_generation/unit_models/tests/test_waterpipe.py::test_pipe_expansion - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found:...
FAILED idaes/power_generation/unit_models/tests/test_waterpipe.py::test_pipe_noexpansion - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not foun...
FAILED idaes/power_generation/unit_models/tests/test_waterpipe.py::test_pipe_vaporphase - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found...
FAILED idaes/power_generation/unit_models/tests/test_watertank.py::test_initialize_watertank - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/tests/test_watertank.py::test_run_watertank - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/power_generation/unit_models/tests/test_waterwall.py::test_initialize_waterwall - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not ...
FAILED idaes/power_generation/unit_models/tests/test_waterwall.py::test_waterwall - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __ZN...
FAILED idaes/surrogate/test_my_surrogate_base.py::test_pysmo_poly - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/surrogate/pysmo/tests/test_polynomial_regression.py::TestPolynomialRegression::test_pyomo_optimization_01 - pyutilib.common._exceptions.ApplicationError: Solver ...
FAILED idaes/surrogate/pysmo/tests/test_polynomial_regression.py::TestPolynomialRegression::test_pyomo_optimization_02[array] - pyutilib.common._exceptions.ApplicationError: ...
FAILED idaes/surrogate/pysmo/tests/test_radial_basis_function.py::TestRadialBasisFunction::test_pyomo_optimization_01 - pyutilib.common._exceptions.ApplicationError: Solver (...
FAILED idaes/surrogate/pysmo/tests/test_radial_basis_function.py::TestRadialBasisFunction::test_pyomo_optimization_02[array] - pyutilib.common._exceptions.ApplicationError: S...
FAILED idaes/surrogate/pysmo/tests/test_radial_basis_function.py::TestRadialBasisFunction::test_leave_one_out_crossvalidation_10[array] - pyutilib.common._exceptions.Applicat...
FAILED idaes/surrogate/pysmo/tests/test_radial_basis_function.py::TestRadialBasisFunction::test_leave_one_out_crossvalidation_10[DataFrame] - pyutilib.common._exceptions.Appl...
FAILED idaes/surrogate/roundingRegression/test_roundingRegression.py::test_simple_regression - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/tests/test_docs.py::test_doctests - assert 1 == 0
FAILED idaes/tests/test_have_pynumero.py::test_have_pynumero - OSError: dlopen(/Users/adowling/.idaes/bin/libpynumero_ASL.dylib, 6): Library not loaded: /usr/local/lib/libcoi...
FAILED idaes/tests/test_logger.py::test_solver_condition2 - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/tests/test_logger.py::test_solver_log - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
FAILED idaes/ui/tests/test_flowsheet.py::test_flowsheet_serializer_demo - OSError: dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not found: __ZNKSt5ctypeIcE...
ERROR idaes/core/util/tests/test_homotopy.py::test_ideal_prop - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
ERROR idaes/core/util/tests/test_homotopy.py::test_ideal_prop_max_iter - pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally
ERROR idaes/power_generation/flowsheets/test/test_subcritical_boiler.py::test_basic_build - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not fou...
ERROR idaes/power_generation/flowsheets/test/test_subcritical_boiler.py::test_init - OSError: dlopen(/Users/adowling/.idaes/bin/iapws95_external.so, 6): Symbol not found: __Z...
=============================================== 397 failed, 3116 passed, 6 skipped, 83 deselected, 4 errors in 229.58s (0:03:49) ================================================
adowling2 commented 3 years ago

Looking back at errors.txt, we had 397 failed test. So no improvement.

adowling2 commented 3 years ago

Here are some select errors:

E           OSError: dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
E             Referenced from: /Users/adowling/.idaes/bin/swco2_external.so
E             Expected in: /usr/lib/libstdc++.6.dylib
E            in /Users/adowling/.idaes/bin/swco2_external.so

/Users/adowling/anaconda3/envs/idaes-pse/lib/python3.7/ctypes/__init__.py:364: OSError
>           self._handle = _dlopen(self._name, mode)
E           OSError: dlopen(/Users/adowling/.idaes/bin/swco2_external.so, 6): Symbol not found: __ZNKSt5ctypeIcE13_M_widen_initEv
E             Referenced from: /Users/adowling/.idaes/bin/swco2_external.so
E             Expected in: /usr/lib/libstdc++.6.dylib
E            in /Users/adowling/.idaes/bin/swco2_external.so

/Users/adowling/anaconda3/envs/idaes-pse/lib/python3.7/ctypes/__init__.py:364: OSError
adowling2 commented 3 years ago

Ipopt is still an issue:

>                   "Solver (%s) did not exit normally" % self.name)
E                   pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally

/Users/adowling/anaconda3/envs/idaes-pse/lib/python3.7/site-packages/pyomo/opt/base/solvers.py:598: ApplicationError
----------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: Solver log: dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
      Referenced from: /Users/adowling/.idaes/bin/ipopt Reason: image not
      found
------------------------------------------------------------------------------- Captured log call -------------------------------------------------------------------------------
ERROR    pyomo.opt:solvers.py:591 Solver (ipopt) returned non-zero return code (-6)
ERROR    pyomo.opt:solvers.py:596 Solver log:
dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
  Referenced from: /Users/adowling/.idaes/bin/ipopt
  Reason: image not found
adowling2 commented 3 years ago

@eslickj Where does idaes install the solver binaries? I'm running into issues with testing as I already have Ipopt installed on this computer (compiled from source).

Edit: The answer was right in front of me... /Users/adowling/.idaes/bin/ipopt

adowling2 commented 3 years ago

Here is what happens when I try to run Ipopt from the command line:

dyld: Library not loaded: /usr/local/lib/libcoinhsl.2.dylib
  Referenced from: /Users/adowling/.idaes/bin/ipopt
  Reason: image not found
Abort trap: 6
adowling2 commented 3 years ago

Two things to discuss tomorrow:

adowling2 commented 3 years ago

Here are the coinhsl libraries installed on the machine I'm using to compile:

$ ls -l /usr/local/lib/ | grep hsl 
-rwxr-xr-x   1 root      admin  1283468 Jun  1  2020 libcoinhsl.2.dylib
lrwxr-xr-x   1 root      admin       18 Jun  1  2020 libcoinhsl.dylib -> libcoinhsl.2.dylib
-rwxr-xr-x   1 root      admin     1129 Jun  1  2020 libcoinhsl.la

My next idea is to temporarily remove these files.

adowling2 commented 3 years ago

Temporarily removing the files did not work. I'm now resetting my build directory; I deleted all of the untracked files in git, removed the coinbrew folder, and deleted everything in the dist-* directories.

Side note: I think I'm still using clang to compile ASL when running compile_libs.sh. I'm first compiling solvers then libs.

adowling2 commented 3 years ago

To recap, I hid the coinhsl libraries, reset the idaes-ext directory, and recompiled. I'm now getting this error:

$ /Users/adowling/.idaes/bin/ipopt 
dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/9/libquadmath.0.dylib
  Referenced from: /Users/adowling/.idaes/bin/ipopt
  Reason: image not found
Abort trap: 6

Edit: looks like I need to recompile Ipopt and link static gfortran gcc libraries. https://github.com/BYU-PRISM/GEKKO/issues/71

adowling2 commented 3 years ago

I tried compiled Ipopt without HSL using the -lgcc. k_aug failed to build because it could not find libcoinhsl. This is a good sign.

Error message:

/Users/adowling/idaes-ext/k_aug/src/interfaces/hsl/ma57_driver.c:455:1: warning: control reaches end of non-void function [-Wreturn-type]
  455 | }
      | ^
[ 85%] Building C object CMakeFiles/k_aug.dir/src/matrix/dsyev_driver.c.o
make[2]: *** No rule to make target `/usr/local/lib/libcoinhsl.dylib', needed by `bin/k_aug'.  Stop.
make[1]: *** [CMakeFiles/k_aug.dir/all] Error 2
make: *** [all] Error 2
a dot_sens
a ipopt
a k_aug
a libpynumero_ASL.dylib
a license.txt
a tmp
a version_solvers.txt
HSL Present: NO
adowling2 commented 3 years ago

Still no luck; Ipopt still complains about not being able to access libquadmath.

adowling2 commented 3 years ago

I'm now trying to compile the binaries on my laptop. I'd like to use a functional version of them for some IDAES development.

adowling2 commented 3 years ago

Good news: I was able to compile the binaries without HSL on my laptop (Big Sur). Now only 153 tests failed. All with pyutilib.common._exceptions.ApplicationError: Solver (ipopt) did not exit normally. I confirmed I was able to run the Ipopt executable without issues. I also confirmed the complied thermodynamics functions work.

So right now, I'm able to compile the binaries and use them on the same computer. I have not had any luck compiling the binaries on one computer and using them on another.

Next steps:

adowling2 commented 3 years ago

Here is one example of a failed test:

Document: technical_specs/model_libraries/power_generation/unit_models/feedwater_heater_0D
------------------------------------------------------------------------------------------
2021-01-18 18:20:31 [INFO] idaes.init.fs.fwh.desuperheat.shell: Initialization Complete
2021-01-18 18:20:31 [INFO] idaes.init.fs.fwh.desuperheat.tube: Initialization Complete
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: Solver log: Ipopt 3.13.2: tol=1e-06

    **************************************************************************
        **** This program contains Ipopt, a library for large-scale nonlinear
        optimization.
     Ipopt is released as open source code under the Eclipse Public License
     (EPL).
             For more information visit http://projects.coin-or.org/Ipopt

    This version of Ipopt was compiled from source code available at
        https://github.com/IDAES/Ipopt as part of the Institute for the Design
        of Advanced Energy Systems Process Systems Engineering Framework
        (IDAES PSE Framework) Copyright (c) 2018-2019. See
        https://github.com/IDAES/idaes-pse.

    This version of Ipopt was compiled using HSL, a collection of Fortran
    codes
        for large-scale scientific computation.  All technical papers, sales
        and publicity material resulting from use of the HSL codes within
        IPOPT must contain the following acknowledgement:
            HSL, a collection of Fortran codes for large-scale scientific
            computation. See http://www.hsl.rl.ac.uk.
    **************************************************************************
        ****

    This is Ipopt version 3.13.2, running with linear solver mumps. NOTE:
    Other linear solvers might be more efficient (see Ipopt documentation).

    Number of nonzeros in equality constraint Jacobian...:       21 Number of
    nonzeros in inequality constraint Jacobian.:        0 Number of nonzeros
    in Lagrangian Hessian.............:       11

    Total number of variables............................:       10
                         variables with only lower bounds:        0
                    variables with lower and upper bounds:        4
                         variables with only upper bounds:        0
    Total number of equality constraints.................:       10 Total
    number of inequality constraints...............:        0
            inequality constraints with only lower bounds:        0
       inequality constraints with lower and upper bounds:        0
            inequality constraints with only upper bounds:        0

    iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du
    alpha_pr  ls
       0  0.0000000e+00 3.86e+06 0.00e+00  -1.0 0.00e+00    -  0.00e+00
       0.00e+00   0
    Error in an AMPL evaluation. Run with "halt_on_ampl_error yes" to see
    details.
**********************************************************************
adowling2 commented 3 years ago

It found some tests fail after multiple Ipopt iterations. I wonder if the tests are just tuned to only work with HSL and perform poorly with MUMPS.

Edit: some tests require ma27:

/Users/adowling/anaconda3/envs/idaes-pse/lib/python3.7/site-packages/pyomo/opt/base/solvers.py:598: ApplicationError
---------------------------------------------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------------------------------------------
ERROR: Solver (ipopt) returned non-zero return code (-6)
ERROR: Solver log: Ipopt 3.13.2: tol=1e-06 linear_solver=ma27
------------------------------------------------------------------------------------------------------------------ Captured log call ------------------------------------------------------------------------------------------------------------------
ERROR    pyomo.opt:solvers.py:591 Solver (ipopt) returned non-zero return code (-6)
ERROR    pyomo.opt:solvers.py:596 Solver log:
Ipopt 3.13.2: tol=1e-06
linear_solver=ma27