Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.001505/0.001505, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.00144/0.00144, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.01266/0.01266, allocations: 2.781 MB / 311.6 MB, free: 1.48 MB / 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.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",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.002284/0.002284, allocations: 71.88 kB / 433.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1159, allocations: 54.13 MB / 487.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2657/0.3815, allocations: 51.03 MB / 0.5261 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02307/0.4046, allocations: 29.16 MB / 0.5546 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.4052, allocations: 2.75 kB / 0.5546 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.4068, allocations: 0.6189 MB / 0.5552 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006084/0.4128, allocations: 2.239 MB / 0.5573 GB, free: 9.148 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008419/0.4213, allocations: 2.925 MB / 0.5602 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.4225, allocations: 0.9263 MB / 0.5611 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.4226, allocations: 29.25 kB / 0.5611 GB, free: 7.203 MB / 398.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.6819/1.105, allocations: 51.86 MB / 0.6118 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/1.105, allocations: 310.6 kB / 0.6121 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/1.105, allocations: 39.94 kB / 0.6121 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2286/1.334, allocations: 27.34 MB / 0.6388 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/1.334, allocations: 111.5 kB / 0.6389 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007689/1.335, allocations: 338.5 kB / 0.6392 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007836/1.343, allocations: 1.854 MB / 0.641 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.343, allocations: 8 kB / 0.6411 GB, free: 11.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/1.343, allocations: 0 / 0.6411 GB, free: 11.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.447e-05/1.343, allocations: 3.938 kB / 0.6411 GB, free: 11.31 MB / 478.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.002694/1.346, allocations: 1.129 MB / 0.6422 GB, free: 10.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.346, allocations: 11.98 kB / 0.6422 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/1.346, allocations: 115 kB / 0.6423 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/1.348, allocations: 0.5039 MB / 0.6428 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/1.352, allocations: 335.5 kB / 0.6431 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/1.352, allocations: 45.88 kB / 0.6431 GB, free: 9.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/1.352, allocations: 55.94 kB / 0.6432 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.354, allocations: 0.8685 MB / 0.644 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.354, allocations: 3.938 kB / 0.644 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/1.354, allocations: 28 kB / 0.6441 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/1.354, allocations: 35.97 kB / 0.6441 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/1.355, allocations: 0.7 MB / 0.6448 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/1.36, allocations: 5.009 MB / 0.6497 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/1.361, allocations: 261.1 kB / 0.6499 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/1.361, allocations: 157.7 kB / 0.6501 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/1.363, allocations: 1.538 MB / 0.6516 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.363, allocations: 34.56 kB / 0.6516 GB, free: 15.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.384e-06/1.363, allocations: 0 / 0.6516 GB, free: 15.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001677/1.365, allocations: 0.6041 MB / 0.6522 GB, free: 14.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/1.365, allocations: 81.05 kB / 0.6523 GB, free: 14.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.365, allocations: 182.8 kB / 0.6525 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/1.365, allocations: 33.7 kB / 0.6525 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.365, allocations: 296.4 kB / 0.6528 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/1.365, allocations: 241.8 kB / 0.653 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.366, allocations: 97.95 kB / 0.6531 GB, free: 13.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/1.366, allocations: 338.8 kB / 0.6534 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/1.366, allocations: 113.3 kB / 0.6535 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/1.366, allocations: 308 kB / 0.6538 GB, free: 13.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/1.367, allocations: 493.6 kB / 0.6543 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.367, allocations: 0 / 0.6543 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001241/1.368, allocations: 492.4 kB / 0.6548 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.368, allocations: 7.938 kB / 0.6548 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.368, allocations: 8 kB / 0.6548 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.369, allocations: 8 kB / 0.6548 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.369, allocations: 67.84 kB / 0.6548 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.369, allocations: 15.92 kB / 0.6549 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/1.369, allocations: 59.95 kB / 0.6549 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.369, allocations: 24 kB / 0.6549 GB, free: 11.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * 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.0002732/1.369, allocations: 193.7 kB / 0.6551 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/1.369, allocations: 27.75 kB / 0.6552 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/1.37, allocations: 30.66 kB / 0.6552 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.37, allocations: 0 / 0.6552 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.37, allocations: 4 kB / 0.6552 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.37, allocations: 3.984 kB / 0.6552 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/1.37, allocations: 490.9 kB / 0.6557 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.37, allocations: 0 / 0.6557 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/1.37, allocations: 31.92 kB / 0.6557 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/1.37, allocations: 3.938 kB / 0.6557 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/1.37, allocations: 8 kB / 0.6557 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/1.37, allocations: 4 kB / 0.6557 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.37, allocations: 4 kB / 0.6557 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/1.371, allocations: 0.5177 MB / 0.6562 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.371, allocations: 112.7 kB / 0.6563 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/1.371, allocations: 7.938 kB / 0.6563 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.371, allocations: 4 kB / 0.6563 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/1.372, allocations: 23.92 kB / 0.6564 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/1.372, allocations: 7.984 kB / 0.6564 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001053/1.372, allocations: 119.2 kB / 0.6565 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.372, allocations: 0 / 0.6565 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007262/1.372, allocations: 195.5 kB / 0.6567 GB, free: 10.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * 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.001542/1.374, allocations: 1.252 MB / 0.6579 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008727/1.375, allocations: 0.545 MB / 0.6584 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.375, allocations: 0 / 0.6584 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/1.375, allocations: 459.8 kB / 0.6589 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.377, allocations: 195.6 kB / 0.659 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/1.382, allocations: 3.634 MB / 0.6626 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/1.382, allocations: 0.9387 MB / 0.6635 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005445/1.383, allocations: 261.8 kB / 0.6638 GB, free: 2.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/1.383, allocations: 271.3 kB / 0.664 GB, free: 2.137 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/1.383, allocations: 0 / 0.664 GB, free: 2.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/1.432, allocations: 18.14 MB / 0.6817 GB, free: 8 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.425/10.86, allocations: 7.938 kB / 0.6817 GB, free: 0 / 0.4981 GB " [Timeout remaining time 649] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit_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_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.023973892908543] Failed to read output from testmodel.py, exit status != 0: 11.16009996412322 11.177335871 9.831051131 Calling exit ...