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.001593/0.001593, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.00188/0.00188, allocations: 213.5 kB / 22.24 MB, free: 5.105 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.82 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.014/0.014, allocations: 2.805 MB / 315.2 MB, free: 116 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.001999/0.001999, allocations: 71.89 kB / 438.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 54.17 MB / 492.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01112/0.1163, allocations: 8.164 MB / 0.4892 GB, free: 14.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.1241, allocations: 7.314 MB / 0.4964 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1242, allocations: 0 / 0.4964 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.1248, allocations: 123.2 kB / 0.4965 GB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1251, allocations: 99.34 kB / 0.4966 GB, free: 7.309 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.003748/0.1289, allocations: 1.424 MB / 0.498 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1292, allocations: 242.8 kB / 0.4982 GB, free: 5.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1292, allocations: 5.75 kB / 0.4982 GB, free: 5.637 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.35/0.4793, allocations: 13.76 MB / 0.5116 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.4795, allocations: 70.25 kB / 0.5117 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.4795, allocations: 5.969 kB / 0.5117 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.4807, allocations: 304.6 kB / 0.512 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4808, allocations: 24.67 kB / 0.512 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.481, allocations: 68.05 kB / 0.5121 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.4829, allocations: 343.8 kB / 0.5124 GB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4829, allocations: 0 / 0.5124 GB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4829, allocations: 4 kB / 0.5124 GB, free: 9.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4829, allocations: 0 / 0.5124 GB, free: 9.543 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.0007718/0.4837, allocations: 427.4 kB / 0.5128 GB, free: 9.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4838, allocations: 9.281 kB / 0.5128 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.651e-05/0.4838, allocations: 48.66 kB / 0.5129 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.4843, allocations: 91.69 kB / 0.513 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4845, allocations: 137.8 kB / 0.5131 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.4846, allocations: 25.42 kB / 0.5131 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4846, allocations: 10.06 kB / 0.5131 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.485, allocations: 306.5 kB / 0.5134 GB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.485, allocations: 5.641 kB / 0.5134 GB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4851, allocations: 4.594 kB / 0.5134 GB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4851, allocations: 12.31 kB / 0.5135 GB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.4855, allocations: 262.9 kB / 0.5137 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.4864, allocations: 0.6921 MB / 0.5144 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4867, allocations: 146.5 kB / 0.5145 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.4869, allocations: 128.9 kB / 0.5146 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4869, allocations: 4.781 kB / 0.5146 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4869, allocations: 36.78 kB / 0.5147 GB, free: 8.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.644e-06/0.4869, allocations: 1.688 kB / 0.5147 GB, free: 8.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007248/0.4877, allocations: 414.7 kB / 0.5151 GB, free: 8.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.4877, allocations: 56.39 kB / 0.5151 GB, free: 8.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.4878, allocations: 116.7 kB / 0.5152 GB, free: 8.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4878, allocations: 25.7 kB / 0.5153 GB, free: 8.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.4878, allocations: 113.7 kB / 0.5154 GB, free: 8.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.4879, allocations: 116.4 kB / 0.5155 GB, free: 7.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.488, allocations: 43.81 kB / 0.5155 GB, free: 7.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.488, allocations: 325.8 kB / 0.5158 GB, free: 7.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4882, allocations: 127 kB / 0.516 GB, free: 7.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.4884, allocations: 175 kB / 0.5161 GB, free: 7.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4888, allocations: 214.4 kB / 0.5163 GB, free: 7.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4888, allocations: 1.812 kB / 0.5163 GB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005158/0.4893, allocations: 293 kB / 0.5166 GB, free: 7.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4893, allocations: 9.562 kB / 0.5166 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4893, allocations: 2.375 kB / 0.5166 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4894, allocations: 1.281 kB / 0.5166 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4895, allocations: 26.11 kB / 0.5167 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4895, allocations: 2.25 kB / 0.5167 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4896, allocations: 25.8 kB / 0.5167 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4896, allocations: 6.344 kB / 0.5167 GB, free: 7.449 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.568e-05/0.4897, allocations: 128.4 kB / 0.5168 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4898, allocations: 15.94 kB / 0.5168 GB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.4903, allocations: 345.7 kB / 0.5172 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.4903, allocations: 2.297 kB / 0.5172 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4903, allocations: 0.9375 kB / 0.5172 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4903, allocations: 0 / 0.5172 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4906, allocations: 261.3 kB / 0.5174 GB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4906, allocations: 3.938 kB / 0.5174 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.4907, allocations: 19.91 kB / 0.5174 GB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4907, allocations: 4 kB / 0.5174 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4907, allocations: 6.219 kB / 0.5174 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4907, allocations: 1.078 kB / 0.5174 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4907, allocations: 0 / 0.5174 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.4912, allocations: 448.8 kB / 0.5179 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.4912, allocations: 25.78 kB / 0.5179 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4912, allocations: 4.5 kB / 0.5179 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.4914, allocations: 12.03 kB / 0.5179 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.4914, allocations: 18.41 kB / 0.5179 GB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4914, allocations: 3.781 kB / 0.5179 GB, free: 6.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.4914, allocations: 87.14 kB / 0.518 GB, free: 6.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4914, allocations: 0 / 0.518 GB, free: 6.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000365/0.4918, allocations: 60.66 kB / 0.5181 GB, free: 6.836 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.001211/0.493, allocations: 1.127 MB / 0.5192 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4942, allocations: 340.2 kB / 0.5195 GB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4942, allocations: 8.281 kB / 0.5195 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.4945, allocations: 204.5 kB / 0.5197 GB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.4951, allocations: 74.36 kB / 0.5198 GB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.4977, allocations: 2.398 MB / 0.5221 GB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.4978, allocations: 140.7 kB / 0.5222 GB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.498, allocations: 25.41 kB / 0.5223 GB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.4981, allocations: 64.25 kB / 0.5223 GB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4981, allocations: 1.094 kB / 0.5223 GB, free: 4.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04142/0.5395, allocations: 9.02 MB / 0.5311 GB, free: 1.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.92, allocations: 15.11 kB / 0.5312 GB, free: 1.688 MB / 366.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: 14.824180003721267] Failed to read output from testmodel.py, exit status != 0: 12.255399384070188 12.285998304 11.796953378 Calling exit ...