Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 208.4 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.02034/0.02034, allocations: 2.806 MB / 315.2 MB, free: 408 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 71.89 kB / 438.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1079, allocations: 54.18 MB / 492.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3393/0.4472, allocations: 83.86 MB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04231/0.4895, allocations: 40.87 MB / 0.6032 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.4909, allocations: 4 kB / 0.6032 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003363/0.4943, allocations: 1.235 MB / 0.6044 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02004/0.5143, allocations: 6.982 MB / 0.6112 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.5155, allocations: 270 kB / 0.6114 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.5176, allocations: 1.346 MB / 0.6128 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.5177, allocations: 55.19 kB / 0.6128 GB, free: 300 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.5183, allocations: 433.9 kB / 0.6132 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.5191, allocations: 0.4935 MB / 0.6137 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.5192, allocations: 40 kB / 0.6137 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987/2.507, allocations: 170 MB / 0.7798 GB, free: 60.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/2.507, allocations: 151.4 kB / 0.7799 GB, free: 60.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007681/2.508, allocations: 0.5967 MB / 0.7805 GB, free: 60.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/2.518, allocations: 2.787 MB / 0.7832 GB, free: 58.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/2.518, allocations: 0 / 0.7832 GB, free: 58.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/2.518, allocations: 0 / 0.7832 GB, free: 58.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.187e-05/2.518, allocations: 0 / 0.7832 GB, free: 58.73 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.001337/2.519, allocations: 1.553 MB / 0.7848 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/2.519, allocations: 8.031 kB / 0.7848 GB, free: 57.35 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/2.519, allocations: 203.4 kB / 0.785 GB, free: 57.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/2.523, allocations: 1.22 MB / 0.7862 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/2.523, allocations: 223.6 kB / 0.7864 GB, free: 56.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/2.523, allocations: 73.88 kB / 0.7864 GB, free: 56.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/2.523, allocations: 94.5 kB / 0.7865 GB, free: 56.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/2.525, allocations: 1.746 MB / 0.7882 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/2.525, allocations: 0 / 0.7882 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/2.525, allocations: 45 kB / 0.7883 GB, free: 55.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/2.525, allocations: 72.94 kB / 0.7883 GB, free: 55.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/2.527, allocations: 1.673 MB / 0.79 GB, free: 54.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/2.531, allocations: 8.551 MB / 0.7983 GB, free: 45.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/2.532, allocations: 0.5261 MB / 0.7988 GB, free: 45.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/2.532, allocations: 0.4991 MB / 0.7993 GB, free: 45.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/2.533, allocations: 1.432 MB / 0.8007 GB, free: 44.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/2.533, allocations: 36.28 kB / 0.8008 GB, free: 44.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 1.674e-06/2.533, allocations: 0 / 0.8008 GB, free: 44.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01117/2.545, allocations: 1.531 MB / 0.8023 GB, free: 43.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/2.545, allocations: 81.11 kB / 0.8023 GB, free: 43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/2.545, allocations: 141.2 kB / 0.8025 GB, free: 42.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/2.545, allocations: 25.7 kB / 0.8025 GB, free: 42.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/2.545, allocations: 407.2 kB / 0.8029 GB, free: 42.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/2.545, allocations: 0.5904 MB / 0.8035 GB, free: 41.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/2.545, allocations: 144.8 kB / 0.8036 GB, free: 41.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/2.545, allocations: 309.9 kB / 0.8039 GB, free: 41.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/2.546, allocations: 339.7 kB / 0.8042 GB, free: 41.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/2.546, allocations: 0.4923 MB / 0.8047 GB, free: 41.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/2.547, allocations: 1.031 MB / 0.8057 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.547, allocations: 3.938 kB / 0.8057 GB, free: 40.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001097/2.548, allocations: 1.055 MB / 0.8067 GB, free: 39.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/2.548, allocations: 4 kB / 0.8067 GB, free: 39.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/2.548, allocations: 4 kB / 0.8067 GB, free: 39.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/2.548, allocations: 11.98 kB / 0.8068 GB, free: 39.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/2.548, allocations: 27.17 kB / 0.8068 GB, free: 39.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/2.548, allocations: 8 kB / 0.8068 GB, free: 39.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/2.549, allocations: 83.14 kB / 0.8069 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/2.549, allocations: 24 kB / 0.8069 GB, free: 39.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003195/2.549, allocations: 220.8 kB / 0.8071 GB, free: 39.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/2.549, allocations: 55.52 kB / 0.8072 GB, free: 39.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/2.549, allocations: 39.88 kB / 0.8072 GB, free: 39.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/2.549, allocations: 4 kB / 0.8072 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.549, allocations: 0 / 0.8072 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/2.549, allocations: 3.984 kB / 0.8072 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/2.55, allocations: 1.018 MB / 0.8082 GB, free: 38.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/2.55, allocations: 0 / 0.8082 GB, free: 38.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/2.55, allocations: 5.5 kB / 0.8082 GB, free: 38.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/2.55, allocations: 4.062 kB / 0.8082 GB, free: 38.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/2.55, allocations: 19.98 kB / 0.8082 GB, free: 38.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/2.55, allocations: 4 kB / 0.8082 GB, free: 38.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.55, allocations: 4 kB / 0.8082 GB, free: 38.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/2.551, allocations: 1.19 MB / 0.8094 GB, free: 36.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/2.551, allocations: 79.2 kB / 0.8095 GB, free: 36.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/2.552, allocations: 4 kB / 0.8095 GB, free: 36.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/2.552, allocations: 5.875 kB / 0.8095 GB, free: 36.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/2.552, allocations: 27.97 kB / 0.8095 GB, free: 36.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/2.552, allocations: 12 kB / 0.8095 GB, free: 36.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.114e-05/2.552, allocations: 99.64 kB / 0.8096 GB, free: 36.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/2.552, allocations: 3.938 kB / 0.8096 GB, free: 36.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009702/2.553, allocations: 379 kB / 0.81 GB, free: 36.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/2.555, allocations: 2.201 MB / 0.8121 GB, free: 34.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001238/2.556, allocations: 1.557 MB / 0.8136 GB, free: 32.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/2.556, allocations: 0 / 0.8136 GB, free: 32.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/2.557, allocations: 1.645 MB / 0.8153 GB, free: 30.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/2.559, allocations: 469.6 kB / 0.8157 GB, free: 30.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/2.562, allocations: 2.4 MB / 0.818 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/2.563, allocations: 1.291 MB / 0.8193 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006191/2.563, allocations: 179.4 kB / 0.8195 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/2.564, allocations: 0.6321 MB / 0.8201 GB, free: 25.47 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/2.564, allocations: 0 / 0.8201 GB, free: 25.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08269/2.647, allocations: 45.06 MB / 0.8641 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/17.62, allocations: 11.88 kB / 0.8641 GB, free: 12.8 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestStatesSatSubcritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.996467948993086] Failed to read output from testmodel.py, exit status != 0: 17.969866760002333 17.994002707 15.472609863 Calling exit ...