Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.0017/0.0017, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.002168/0.002168, allocations: 218.8 kB / 22.25 MB, free: 5.195 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.027 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.01362/0.01362, allocations: 2.8 MB / 315.2 MB, free: 332 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.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical",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.003193/0.003193, allocations: 67.88 kB / 438.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1516, allocations: 54.18 MB / 492.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.2922/0.4439, allocations: 51.31 MB / 0.5314 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03353/0.4774, allocations: 29.21 MB / 0.56 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.4781, allocations: 7.281 kB / 0.56 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.4802, allocations: 0.6169 MB / 0.5606 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.4873, allocations: 2.247 MB / 0.5628 GB, free: 2.602 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008753/0.4961, allocations: 2.935 MB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.4976, allocations: 0.9344 MB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4977, allocations: 27.88 kB / 0.5666 GB, free: 15.66 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.7087/1.206, allocations: 51.99 MB / 0.6173 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007903/1.207, allocations: 302.7 kB / 0.6176 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.207, allocations: 40 kB / 0.6177 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2376/1.445, allocations: 27.41 MB / 0.6444 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/1.445, allocations: 103.5 kB / 0.6445 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007172/1.446, allocations: 342.4 kB / 0.6449 GB, free: 392 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007505/1.453, allocations: 1.866 MB / 0.6467 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.453, allocations: 0 / 0.6467 GB, free: 14.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/1.453, allocations: 0 / 0.6467 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/1.454, allocations: 0 / 0.6467 GB, free: 14.51 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002151/1.456, allocations: 1.057 MB / 0.6477 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.456, allocations: 12.03 kB / 0.6477 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/1.456, allocations: 115 kB / 0.6478 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/1.458, allocations: 0.5039 MB / 0.6483 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/1.462, allocations: 277.7 kB / 0.6486 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/1.463, allocations: 45.88 kB / 0.6486 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.463, allocations: 59.88 kB / 0.6487 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.464, allocations: 0.8767 MB / 0.6496 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.464, allocations: 0 / 0.6496 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/1.465, allocations: 28 kB / 0.6496 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/1.465, allocations: 35.97 kB / 0.6496 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.466, allocations: 0.7123 MB / 0.6503 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/1.471, allocations: 4.923 MB / 0.6551 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/1.472, allocations: 285.1 kB / 0.6554 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/1.472, allocations: 161.4 kB / 0.6555 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.474, allocations: 0.9236 MB / 0.6564 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.474, allocations: 38.56 kB / 0.6565 GB, free: 3.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.185e-06/1.474, allocations: 0 / 0.6565 GB, free: 3.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.002481/1.476, allocations: 0.6241 MB / 0.6571 GB, free: 3.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/1.476, allocations: 89.09 kB / 0.6572 GB, free: 2.973 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/1.476, allocations: 170.1 kB / 0.6573 GB, free: 2.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.476, allocations: 33.7 kB / 0.6574 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.477, allocations: 284.5 kB / 0.6576 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/1.477, allocations: 249.9 kB / 0.6579 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/1.477, allocations: 97.95 kB / 0.658 GB, free: 2.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/1.477, allocations: 342.8 kB / 0.6583 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/1.477, allocations: 129.3 kB / 0.6584 GB, free: 1.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/1.478, allocations: 285.3 kB / 0.6587 GB, free: 1.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/1.479, allocations: 485.5 kB / 0.6592 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.479, allocations: 0 / 0.6592 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00101/1.48, allocations: 476.2 kB / 0.6596 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.48, allocations: 11.94 kB / 0.6596 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.48, allocations: 4 kB / 0.6596 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/1.48, allocations: 8 kB / 0.6596 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/1.48, allocations: 68.5 kB / 0.6597 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.48, allocations: 15.88 kB / 0.6597 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/1.48, allocations: 63.5 kB / 0.6598 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/1.48, allocations: 20 kB / 0.6598 GB, free: 104 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003395/1.481, allocations: 193.8 kB / 0.66 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.481, allocations: 35.7 kB / 0.66 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/1.481, allocations: 29.95 kB / 0.66 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.481, allocations: 4 kB / 0.66 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.481, allocations: 4 kB / 0.6601 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.481, allocations: 0 / 0.6601 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/1.482, allocations: 468 kB / 0.6605 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.482, allocations: 0 / 0.6605 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/1.482, allocations: 31.92 kB / 0.6605 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.482, allocations: 7.922 kB / 0.6605 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/1.482, allocations: 8 kB / 0.6605 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.482, allocations: 7.984 kB / 0.6606 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.482, allocations: 0 / 0.6606 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/1.483, allocations: 0.5332 MB / 0.6611 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/1.483, allocations: 39.62 kB / 0.6611 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/1.483, allocations: 3.938 kB / 0.6611 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/1.483, allocations: 11.98 kB / 0.6611 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/1.483, allocations: 27.95 kB / 0.6612 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/1.483, allocations: 8 kB / 0.6612 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000116/1.484, allocations: 124.1 kB / 0.6613 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.484, allocations: 0 / 0.6613 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008041/1.484, allocations: 199.5 kB / 0.6615 GB, free: 14.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001851/1.486, allocations: 1.267 MB / 0.6627 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001097/1.487, allocations: 0.5525 MB / 0.6632 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.487, allocations: 0 / 0.6632 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/1.488, allocations: 480.2 kB / 0.6637 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.489, allocations: 194.6 kB / 0.6639 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/1.497, allocations: 3.63 MB / 0.6674 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/1.498, allocations: 0.9435 MB / 0.6684 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007422/1.499, allocations: 257.8 kB / 0.6686 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/1.499, allocations: 283.3 kB / 0.6689 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/1.499, allocations: 0 / 0.6689 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06211/1.561, allocations: 19.86 MB / 0.6883 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.28, allocations: 19.22 kB / 0.6883 GB, free: 2.602 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesTranscritical.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.509413813007995] Failed to read output from testmodel.py, exit status != 0: 14.649420036934316 14.66795176 13.210764658 Calling exit ...