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.001742/0.001742, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002261/0.002261, allocations: 214.6 kB / 22.25 MB, free: 5.129 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.984 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.01425/0.01425, allocations: 2.792 MB / 315.2 MB, free: 316 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.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.002041/0.002041, allocations: 71.89 kB / 438.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 54.17 MB / 492.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01101/0.1141, allocations: 8.974 MB / 0.4901 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.1227, allocations: 8.486 MB / 0.4984 GB, free: 5.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1228, allocations: 7.938 kB / 0.4984 GB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1234, allocations: 151.1 kB / 0.4985 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.1237, allocations: 95.42 kB / 0.4986 GB, free: 5.586 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.003904/0.1276, allocations: 1.436 MB / 0.5 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.128, allocations: 246.8 kB / 0.5003 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1281, allocations: 5.75 kB / 0.5003 GB, free: 3.895 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.3487/0.4767, allocations: 13.76 MB / 0.5137 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4769, allocations: 73.2 kB / 0.5138 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4769, allocations: 9.5 kB / 0.5138 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4781, allocations: 300 kB / 0.5141 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.4781, allocations: 26.47 kB / 0.5141 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4782, allocations: 77.56 kB / 0.5142 GB, free: 7.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007793/0.479, allocations: 343.9 kB / 0.5145 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.479, allocations: 5.312 kB / 0.5145 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.479, allocations: 0 / 0.5145 GB, free: 7.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.479, allocations: 0 / 0.5145 GB, free: 7.477 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.0006091/0.4796, allocations: 428.3 kB / 0.5149 GB, free: 7.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4797, allocations: 10.34 kB / 0.5149 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.4797, allocations: 53.55 kB / 0.515 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.4801, allocations: 90.14 kB / 0.515 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4803, allocations: 144 kB / 0.5152 GB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.4803, allocations: 19.88 kB / 0.5152 GB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.4803, allocations: 12.06 kB / 0.5152 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.4807, allocations: 258.7 kB / 0.5155 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4807, allocations: 0 / 0.5155 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4808, allocations: 4.438 kB / 0.5155 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4808, allocations: 11.55 kB / 0.5155 GB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.4811, allocations: 258.4 kB / 0.5157 GB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.4819, allocations: 0.8083 MB / 0.5165 GB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.4822, allocations: 146.1 kB / 0.5167 GB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.4824, allocations: 127.3 kB / 0.5168 GB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4824, allocations: 7.625 kB / 0.5168 GB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4824, allocations: 48.05 kB / 0.5168 GB, free: 6.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.162e-06/0.4824, allocations: 0 / 0.5168 GB, free: 6.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006916/0.4831, allocations: 413 kB / 0.5172 GB, free: 6.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.4831, allocations: 55.69 kB / 0.5173 GB, free: 6.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.4832, allocations: 113.3 kB / 0.5174 GB, free: 6.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.4832, allocations: 26.36 kB / 0.5174 GB, free: 6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.4833, allocations: 112.7 kB / 0.5175 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.4833, allocations: 118.6 kB / 0.5176 GB, free: 5.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.4834, allocations: 36.53 kB / 0.5177 GB, free: 5.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.4834, allocations: 325.5 kB / 0.518 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.4837, allocations: 125.1 kB / 0.5181 GB, free: 5.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.4839, allocations: 177.8 kB / 0.5183 GB, free: 5.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.4843, allocations: 213.9 kB / 0.5185 GB, free: 5.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4843, allocations: 1.25 kB / 0.5185 GB, free: 5.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004909/0.4848, allocations: 298.6 kB / 0.5188 GB, free: 5.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4848, allocations: 6.25 kB / 0.5188 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4848, allocations: 4.156 kB / 0.5188 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4848, allocations: 3.484 kB / 0.5188 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4849, allocations: 22.56 kB / 0.5188 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4849, allocations: 4.656 kB / 0.5188 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.485, allocations: 26.72 kB / 0.5188 GB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.4851, allocations: 8.812 kB / 0.5188 GB, free: 5.312 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 8.409e-05/0.4851, allocations: 121 kB / 0.5189 GB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.4852, allocations: 15.97 kB / 0.519 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.4857, allocations: 351.7 kB / 0.5193 GB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.4857, allocations: 2.75 kB / 0.5193 GB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4857, allocations: 1.531 kB / 0.5193 GB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.4857, allocations: 0.7969 kB / 0.5193 GB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.486, allocations: 270.8 kB / 0.5196 GB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.486, allocations: 7.938 kB / 0.5196 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.4861, allocations: 19.42 kB / 0.5196 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4861, allocations: 5.75 kB / 0.5196 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4861, allocations: 1.125 kB / 0.5196 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4861, allocations: 1.766 kB / 0.5196 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4861, allocations: 3.281 kB / 0.5196 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.4866, allocations: 444 kB / 0.52 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.4866, allocations: 17.05 kB / 0.52 GB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.4866, allocations: 5.969 kB / 0.52 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4867, allocations: 6.391 kB / 0.52 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4868, allocations: 14.12 kB / 0.5201 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4868, allocations: 9.594 kB / 0.5201 GB, free: 4.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.4868, allocations: 88.06 kB / 0.5202 GB, free: 4.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4868, allocations: 0 / 0.5202 GB, free: 4.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.4872, allocations: 65.34 kB / 0.5202 GB, free: 4.703 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.001102/0.4883, allocations: 1.129 MB / 0.5213 GB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.4889, allocations: 334.6 kB / 0.5216 GB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4889, allocations: 1.125 kB / 0.5216 GB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.4891, allocations: 211.7 kB / 0.5218 GB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.4897, allocations: 82.81 kB / 0.5219 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.4923, allocations: 2.398 MB / 0.5243 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.4925, allocations: 0.7554 MB / 0.525 GB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.4926, allocations: 27.22 kB / 0.525 GB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.4927, allocations: 63.56 kB / 0.5251 GB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4927, allocations: 0 / 0.5251 GB, free: 1.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.5292, allocations: 8.724 MB / 0.5336 GB, free: 15.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.11, allocations: 11.41 kB / 0.5336 GB, free: 15.14 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.127160628006095] Failed to read output from testmodel.py, exit status != 0: 12.45117335300165 12.482032134 11.996396071 Calling exit ...