Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.001825/0.001825, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002524/0.002524, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.992 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.01274/0.01274, allocations: 2.795 MB / 315.2 MB, free: 300 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.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic",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.002069/0.002069, allocations: 63.89 kB / 438.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1071, allocations: 54.19 MB / 492.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.01219/0.1193, allocations: 9.161 MB / 0.4903 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009123/0.1284, allocations: 8.599 MB / 0.4987 GB, free: 5.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.1287, allocations: 4 kB / 0.4987 GB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.1294, allocations: 163 kB / 0.4989 GB, free: 5.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.1299, allocations: 115.2 kB / 0.499 GB, free: 5.195 MB / 366.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.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.1361, allocations: 1.448 MB / 0.5004 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.1366, allocations: 270.8 kB / 0.5006 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.1367, allocations: 13.75 kB / 0.5007 GB, free: 3.461 MB / 366.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.6101/0.7468, allocations: 13.08 MB / 0.5134 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.747, allocations: 89.78 kB / 0.5135 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.7471, allocations: 7.625 kB / 0.5135 GB, free: 6.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.7492, allocations: 478 kB / 0.514 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.7493, allocations: 32.27 kB / 0.514 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.7495, allocations: 85.95 kB / 0.5141 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.7512, allocations: 0.5113 MB / 0.5146 GB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.7512, allocations: 0.6094 kB / 0.5146 GB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.7512, allocations: 0 / 0.5146 GB, free: 6.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.7512, allocations: 1.156 kB / 0.5146 GB, free: 6.703 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001162/0.7524, allocations: 0.4933 MB / 0.5151 GB, free: 6.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7524, allocations: 9.125 kB / 0.5151 GB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.7525, allocations: 51.06 kB / 0.5151 GB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.7529, allocations: 55.14 kB / 0.5152 GB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.7531, allocations: 150.7 kB / 0.5153 GB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.7532, allocations: 8.438 kB / 0.5153 GB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.7532, allocations: 13.69 kB / 0.5153 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.7538, allocations: 247.2 kB / 0.5156 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7538, allocations: 2.188 kB / 0.5156 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.7538, allocations: 4.781 kB / 0.5156 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.7538, allocations: 11.03 kB / 0.5156 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.7543, allocations: 201.5 kB / 0.5158 GB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.7553, allocations: 0.6695 MB / 0.5164 GB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.7559, allocations: 203.2 kB / 0.5166 GB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.7562, allocations: 136.3 kB / 0.5168 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.7565, allocations: 105.2 kB / 0.5169 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.7565, allocations: 35.47 kB / 0.5169 GB, free: 5.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.7565, allocations: 3.938 kB / 0.5169 GB, free: 5.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002965/0.7594, allocations: 1.171 MB / 0.518 GB, free: 5.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.7595, allocations: 53.97 kB / 0.5181 GB, free: 5.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.7596, allocations: 136 kB / 0.5182 GB, free: 5.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.7596, allocations: 30.8 kB / 0.5183 GB, free: 5.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.7597, allocations: 107.4 kB / 0.5184 GB, free: 5.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.7598, allocations: 164.9 kB / 0.5185 GB, free: 4.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.7599, allocations: 59.7 kB / 0.5186 GB, free: 4.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.76, allocations: 332.1 kB / 0.5189 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.7603, allocations: 125.8 kB / 0.519 GB, free: 4.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.7606, allocations: 194.6 kB / 0.5192 GB, free: 4.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.7611, allocations: 348.3 kB / 0.5195 GB, free: 4.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7611, allocations: 4.688 kB / 0.5195 GB, free: 4.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001151/0.7623, allocations: 480.9 kB / 0.52 GB, free: 4.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7623, allocations: 5.406 kB / 0.52 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7623, allocations: 2.281 kB / 0.52 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007569/0.7631, allocations: 146.9 kB / 0.5201 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.7632, allocations: 34.08 kB / 0.5202 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/0.7637, allocations: 0.6537 MB / 0.5208 GB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.7639, allocations: 13.05 kB / 0.5208 GB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.7639, allocations: 11.16 kB / 0.5208 GB, free: 3.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.764, allocations: 133.9 kB / 0.521 GB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.7641, allocations: 21.09 kB / 0.521 GB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.7642, allocations: 27.45 kB / 0.521 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.7642, allocations: 10.14 kB / 0.521 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7642, allocations: 1.219 kB / 0.521 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7642, allocations: 5.016 kB / 0.521 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.7645, allocations: 268 kB / 0.5213 GB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7645, allocations: 1.125 kB / 0.5213 GB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.7647, allocations: 41.75 kB / 0.5213 GB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.765, allocations: 66.88 kB / 0.5214 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.7651, allocations: 11.97 kB / 0.5214 GB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.7661, allocations: 1.447 MB / 0.5228 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7661, allocations: 0 / 0.5228 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.7672, allocations: 0.713 MB / 0.5235 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.7672, allocations: 18.06 kB / 0.5235 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.7672, allocations: 2.172 kB / 0.5235 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.7674, allocations: 11.09 kB / 0.5235 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.7675, allocations: 26.44 kB / 0.5236 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.7675, allocations: 12.78 kB / 0.5236 GB, free: 2.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.7676, allocations: 95.66 kB / 0.5237 GB, free: 1.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7676, allocations: 0 / 0.5237 GB, free: 1.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.7679, allocations: 66.59 kB / 0.5237 GB, free: 1.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.7694, allocations: 1.269 MB / 0.525 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008126/0.7702, allocations: 339.5 kB / 0.5253 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7702, allocations: 0 / 0.5253 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.7708, allocations: 295.9 kB / 0.5256 GB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.7715, allocations: 95.69 kB / 0.5257 GB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.7759, allocations: 2.943 MB / 0.5285 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.7763, allocations: 0.7333 MB / 0.5293 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.7766, allocations: 119 kB / 0.5294 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.7767, allocations: 56.98 kB / 0.5294 GB, free: 14.82 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7767, allocations: 0 / 0.5294 GB, free: 14.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.8173, allocations: 8.305 MB / 0.5375 GB, free: 12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.18, allocations: 7.438 kB / 0.5375 GB, free: 11.99 MB / 382.1 MB " [Timeout remaining time 645] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.1 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesDynamic.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.516341809998266] Failed to read output from testmodel.py, exit status != 0: 14.518822553000064 14.538376953 13.78279134 Calling exit ...