Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.001483/0.001483, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001641/0.001641, allocations: 212 kB / 19.43 MB, free: 3.637 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.01663/0.01663, allocations: 2.8 MB / 311.6 MB, free: 1.441 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.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",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.002118/0.002118, allocations: 71.88 kB / 433.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1027, allocations: 54.14 MB / 487.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.0115/0.1142, allocations: 8.926 MB / 496.6 MB, free: 296 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.1229, allocations: 8.466 MB / 0.4932 GB, free: 7.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1231, allocations: 7.938 kB / 0.4932 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.1237, allocations: 159 kB / 0.4934 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.124, allocations: 95.36 kB / 0.4934 GB, free: 7.535 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.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.1289, allocations: 1.428 MB / 0.4948 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.1294, allocations: 242.8 kB / 0.4951 GB, free: 5.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.487e-05/0.1294, allocations: 13.55 kB / 0.4951 GB, free: 5.844 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.3402/0.4696, allocations: 13.71 MB / 0.5085 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.4699, allocations: 80.38 kB / 0.5086 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.47, allocations: 5.25 kB / 0.5086 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4719, allocations: 303.9 kB / 0.5088 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.4721, allocations: 25.41 kB / 0.5089 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.4723, allocations: 77.14 kB / 0.5089 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.4749, allocations: 345.9 kB / 0.5093 GB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4749, allocations: 1.406 kB / 0.5093 GB, free: 9.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4749, allocations: 0.75 kB / 0.5093 GB, free: 9.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.4749, allocations: 0 / 0.5093 GB, free: 9.84 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001009/0.4759, allocations: 0.4976 MB / 0.5098 GB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.476, allocations: 13.95 kB / 0.5098 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.476, allocations: 51.22 kB / 0.5098 GB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.4765, allocations: 88.66 kB / 0.5099 GB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4767, allocations: 196.9 kB / 0.5101 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.4768, allocations: 21.45 kB / 0.5101 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4768, allocations: 10 kB / 0.5101 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.4773, allocations: 251.7 kB / 0.5104 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4773, allocations: 3.891 kB / 0.5104 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4773, allocations: 5.062 kB / 0.5104 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.4773, allocations: 9.516 kB / 0.5104 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.4778, allocations: 250.2 kB / 0.5106 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4789, allocations: 0.8547 MB / 0.5115 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.4792, allocations: 142 kB / 0.5116 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4794, allocations: 125 kB / 0.5117 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.4794, allocations: 9.688 kB / 0.5117 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4795, allocations: 37.3 kB / 0.5118 GB, free: 8.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.4795, allocations: 0 / 0.5118 GB, free: 8.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007938/0.4803, allocations: 409.8 kB / 0.5121 GB, free: 8.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.4803, allocations: 53.61 kB / 0.5122 GB, free: 8.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.4804, allocations: 117.3 kB / 0.5123 GB, free: 8.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4804, allocations: 26.41 kB / 0.5123 GB, free: 8.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.4805, allocations: 106.9 kB / 0.5124 GB, free: 8.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.4805, allocations: 115.7 kB / 0.5125 GB, free: 7.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.4806, allocations: 42.88 kB / 0.5126 GB, free: 7.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.4807, allocations: 325.4 kB / 0.5129 GB, free: 7.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.4809, allocations: 121 kB / 0.513 GB, free: 7.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.4811, allocations: 166.9 kB / 0.5132 GB, free: 7.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.4815, allocations: 216.1 kB / 0.5134 GB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4815, allocations: 3.844 kB / 0.5134 GB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004966/0.482, allocations: 284.6 kB / 0.5137 GB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.482, allocations: 5.531 kB / 0.5137 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.482, allocations: 3.938 kB / 0.5137 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.482, allocations: 5.125 kB / 0.5137 GB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4822, allocations: 31.23 kB / 0.5137 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4822, allocations: 3.953 kB / 0.5137 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4823, allocations: 26.05 kB / 0.5137 GB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4823, allocations: 7.719 kB / 0.5137 GB, free: 7.438 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.286e-05/0.4824, allocations: 120 kB / 0.5138 GB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.4825, allocations: 20 kB / 0.5139 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/0.483, allocations: 332 kB / 0.5142 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.483, allocations: 11.92 kB / 0.5142 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.483, allocations: 0 / 0.5142 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4831, allocations: 3.375 kB / 0.5142 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.4834, allocations: 293.4 kB / 0.5145 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4834, allocations: 4.5 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4835, allocations: 20.05 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.4835, allocations: 0.5312 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4835, allocations: 1.188 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4835, allocations: 4.125 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4835, allocations: 0.5 kB / 0.5145 GB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.4842, allocations: 436.8 kB / 0.5149 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.4843, allocations: 94.53 kB / 0.515 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4843, allocations: 5.406 kB / 0.515 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4844, allocations: 7.234 kB / 0.515 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.4845, allocations: 9.5 kB / 0.515 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.4845, allocations: 11.31 kB / 0.515 GB, free: 6.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.4846, allocations: 91.23 kB / 0.5151 GB, free: 6.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4846, allocations: 0.5312 kB / 0.5151 GB, free: 6.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.485, allocations: 64.19 kB / 0.5152 GB, free: 6.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001426/0.4864, allocations: 1.122 MB / 0.5163 GB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.4871, allocations: 335.4 kB / 0.5166 GB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4871, allocations: 0 / 0.5166 GB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.4874, allocations: 204.2 kB / 0.5168 GB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.488, allocations: 71.48 kB / 0.5169 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.4909, allocations: 2.387 MB / 0.5192 GB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4911, allocations: 0.7511 MB / 0.5199 GB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.4912, allocations: 23.48 kB / 0.52 GB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4914, allocations: 67.77 kB / 0.52 GB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4914, allocations: 4 kB / 0.52 GB, free: 3.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.5257, allocations: 8.205 MB / 0.528 GB, free: 1.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.216, allocations: 15.41 kB / 0.5281 GB, free: 1.328 MB / 366.1 MB " [Timeout remaining time 650] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & python3 -m fmpy simulate --output-file ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_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_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.100848895963281] Failed to read output from testmodel.py, exit status != 0: 9.50670126779005 9.523011038 9.044782682 Calling exit ...