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.001302/0.001302, 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.001576/0.001576, allocations: 216.2 kB / 22.25 MB, free: 5.074 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.977 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.01254/0.01254, allocations: 2.793 MB / 315.2 MB, free: 280 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.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.002035/0.002035, allocations: 71.89 kB / 438.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 54.17 MB / 492.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.2729/0.3913, allocations: 51.31 MB / 0.5314 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0346/0.4259, allocations: 29.21 MB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008494/0.4267, allocations: 6.438 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.4287, allocations: 0.62 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00783/0.4365, allocations: 2.25 MB / 0.5628 GB, free: 2.465 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.01097/0.4475, allocations: 2.925 MB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4491, allocations: 0.9351 MB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4492, allocations: 29.3 kB / 0.5666 GB, free: 15.53 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.7092/1.158, allocations: 52 MB / 0.6174 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/1.159, allocations: 302.6 kB / 0.6176 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/1.159, allocations: 40 kB / 0.6177 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2327/1.392, allocations: 27.41 MB / 0.6444 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/1.392, allocations: 103.5 kB / 0.6445 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/1.393, allocations: 342.4 kB / 0.6449 GB, free: 308 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006629/1.399, allocations: 1.866 MB / 0.6467 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.399, allocations: 4 kB / 0.6467 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/1.399, allocations: 0 / 0.6467 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/1.399, allocations: 3.938 kB / 0.6467 GB, free: 14.42 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.001826/1.401, allocations: 1.053 MB / 0.6477 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.401, allocations: 8.031 kB / 0.6477 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/1.401, allocations: 119 kB / 0.6479 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/1.404, allocations: 0.5 MB / 0.6483 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005161/1.409, allocations: 281.6 kB / 0.6486 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/1.409, allocations: 41.88 kB / 0.6486 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.409, allocations: 59.94 kB / 0.6487 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.411, allocations: 0.8766 MB / 0.6496 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/1.411, allocations: 3.938 kB / 0.6496 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/1.411, allocations: 28 kB / 0.6496 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/1.411, allocations: 31.98 kB / 0.6496 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.412, allocations: 0.7162 MB / 0.6503 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/1.418, allocations: 4.978 MB / 0.6552 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/1.418, allocations: 265.1 kB / 0.6554 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/1.419, allocations: 153.7 kB / 0.6556 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.42, allocations: 0.9079 MB / 0.6565 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.42, allocations: 34.56 kB / 0.6565 GB, free: 3.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 1.984e-06/1.42, allocations: 3.938 kB / 0.6565 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.00161/1.421, allocations: 0.5973 MB / 0.6571 GB, free: 3.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/1.422, allocations: 81.11 kB / 0.6572 GB, free: 2.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/1.422, allocations: 186.5 kB / 0.6573 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/1.422, allocations: 29.7 kB / 0.6574 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/1.422, allocations: 296.3 kB / 0.6577 GB, free: 2.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.422, allocations: 249.8 kB / 0.6579 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.422, allocations: 93.97 kB / 0.658 GB, free: 2.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/1.423, allocations: 342.8 kB / 0.6583 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/1.423, allocations: 113.3 kB / 0.6584 GB, free: 1.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/1.423, allocations: 307.9 kB / 0.6587 GB, free: 1.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/1.424, allocations: 481 kB / 0.6592 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.424, allocations: 0 / 0.6592 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000884/1.425, allocations: 492.5 kB / 0.6596 GB, free: 176 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.425, allocations: 11.94 kB / 0.6597 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.425, allocations: 4 kB / 0.6597 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.425, allocations: 8 kB / 0.6597 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.425, allocations: 63.91 kB / 0.6597 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.425, allocations: 11.94 kB / 0.6597 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.425, allocations: 67.91 kB / 0.6598 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/1.425, allocations: 20.23 kB / 0.6598 GB, free: 15.98 MB / 0.4981 GB 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.0002859/1.426, allocations: 197.7 kB / 0.66 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/1.426, allocations: 35.69 kB / 0.66 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/1.426, allocations: 34.53 kB / 0.6601 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.426, allocations: 0 / 0.6601 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.426, allocations: 7.938 kB / 0.6601 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.426, allocations: 0 / 0.6601 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/1.427, allocations: 467.9 kB / 0.6605 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.427, allocations: 0 / 0.6605 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/1.427, allocations: 27.98 kB / 0.6606 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.427, allocations: 7.922 kB / 0.6606 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.427, allocations: 8 kB / 0.6606 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/1.427, allocations: 4 kB / 0.6606 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.427, allocations: 0 / 0.6606 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/1.427, allocations: 0.5061 MB / 0.6611 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/1.428, allocations: 35.69 kB / 0.6611 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/1.428, allocations: 11.94 kB / 0.6611 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.428, allocations: 7.984 kB / 0.6611 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/1.428, allocations: 15.98 kB / 0.6611 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.428, allocations: 7.984 kB / 0.6611 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001239/1.428, allocations: 120.2 kB / 0.6613 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.428, allocations: 0 / 0.6613 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008036/1.429, allocations: 199.5 kB / 0.6614 GB, free: 14.25 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: 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.001656/1.43, allocations: 1.244 MB / 0.6627 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009791/1.431, allocations: 0.5482 MB / 0.6632 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.431, allocations: 0.8125 kB / 0.6632 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/1.432, allocations: 464 kB / 0.6636 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.433, allocations: 194.3 kB / 0.6638 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/1.439, allocations: 3.642 MB / 0.6674 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.44, allocations: 0.9386 MB / 0.6683 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006168/1.441, allocations: 257.9 kB / 0.6685 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/1.441, allocations: 271.3 kB / 0.6688 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/1.441, allocations: 0 / 0.6688 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05802/1.499, allocations: 19.37 MB / 0.6877 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.93, allocations: 15.81 kB / 0.6877 GB, free: 3.008 MB / 0.5137 GB " [Timeout remaining time 646] (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: 17.22994705900055] Failed to read output from testmodel.py, exit status != 0: 14.276680716997362 14.30783408 12.903478718 Calling exit ...