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.001582/0.001582, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001735/0.001735, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.673/1.673, allocations: 230.6 MB / 256 MB, free: 7.781 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.01624/0.01624, allocations: 2.818 MB / 315.2 MB, free: 76 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: translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") [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.002199/0.002199, allocations: 75.89 kB / 439.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1057, allocations: 54.18 MB / 493.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01364/0.1193, allocations: 8.153 MB / 0.4897 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0093/0.1286, allocations: 7.318 MB / 0.4968 GB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1289, allocations: 0 / 0.4968 GB, free: 6.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.1295, allocations: 131.2 kB / 0.497 GB, free: 6.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.13, allocations: 91.31 kB / 0.4971 GB, free: 6.754 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.005509/0.1355, allocations: 1.426 MB / 0.4985 GB, free: 5.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.136, allocations: 246.9 kB / 0.4987 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.1361, allocations: 5.75 kB / 0.4987 GB, free: 5.074 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.409/0.5451, allocations: 13.76 MB / 0.5121 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.5454, allocations: 66.61 kB / 0.5122 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.5454, allocations: 5.344 kB / 0.5122 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.547, allocations: 305.8 kB / 0.5125 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.5471, allocations: 24.33 kB / 0.5125 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.5472, allocations: 65.86 kB / 0.5126 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.5488, allocations: 349 kB / 0.5129 GB, free: 9.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.5488, allocations: 0.6562 kB / 0.5129 GB, free: 9.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5488, allocations: 1.062 kB / 0.5129 GB, free: 9.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.5489, allocations: 4 kB / 0.5129 GB, free: 9.238 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.0008577/0.5497, allocations: 424.8 kB / 0.5133 GB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5498, allocations: 9.625 kB / 0.5133 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.5502, allocations: 93.84 kB / 0.5134 GB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.5505, allocations: 135.5 kB / 0.5135 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.5506, allocations: 23.55 kB / 0.5136 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.5506, allocations: 9.375 kB / 0.5136 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.5511, allocations: 312.4 kB / 0.5139 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5512, allocations: 0 / 0.5139 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5512, allocations: 3.781 kB / 0.5139 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.5512, allocations: 11.64 kB / 0.5139 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.5516, allocations: 251.9 kB / 0.5141 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/0.5525, allocations: 0.6635 MB / 0.5148 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.5528, allocations: 145.3 kB / 0.5149 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.5531, allocations: 132 kB / 0.515 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.5531, allocations: 1.922 kB / 0.515 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5532, allocations: 32.69 kB / 0.5151 GB, free: 8.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.362e-06/0.5532, allocations: 0 / 0.5151 GB, free: 8.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007996/0.554, allocations: 426.6 kB / 0.5155 GB, free: 8.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.554, allocations: 56.69 kB / 0.5155 GB, free: 8.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.5541, allocations: 119.9 kB / 0.5156 GB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5541, allocations: 26.41 kB / 0.5157 GB, free: 7.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.5541, allocations: 111.1 kB / 0.5158 GB, free: 7.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.5542, allocations: 110.9 kB / 0.5159 GB, free: 7.727 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005613/0.5548, allocations: 44.11 kB / 0.5159 GB, free: 7.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.5549, allocations: 326.9 kB / 0.5162 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.5551, allocations: 125.7 kB / 0.5164 GB, free: 7.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5553, allocations: 174.9 kB / 0.5165 GB, free: 7.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.5557, allocations: 216.6 kB / 0.5167 GB, free: 7.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5557, allocations: 0 / 0.5167 GB, free: 7.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005103/0.5562, allocations: 288.8 kB / 0.517 GB, free: 7.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5562, allocations: 9.219 kB / 0.517 GB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5563, allocations: 1.281 kB / 0.517 GB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.5563, allocations: 8.031 kB / 0.517 GB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.5564, allocations: 24.7 kB / 0.5171 GB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5564, allocations: 9.312 kB / 0.5171 GB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.5566, allocations: 25.48 kB / 0.5171 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5566, allocations: 4.969 kB / 0.5171 GB, free: 7.215 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 0.0001046/0.5567, allocations: 124.9 kB / 0.5172 GB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.5567, allocations: 17.58 kB / 0.5172 GB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.5573, allocations: 352.8 kB / 0.5176 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5573, allocations: 3.031 kB / 0.5176 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5573, allocations: 0 / 0.5176 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5573, allocations: 1.188 kB / 0.5176 GB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.5576, allocations: 223.9 kB / 0.5178 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5576, allocations: 0 / 0.5178 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.5577, allocations: 17.64 kB / 0.5178 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5577, allocations: 0.5156 kB / 0.5178 GB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5577, allocations: 9.75 kB / 0.5178 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5577, allocations: 4.984 kB / 0.5178 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5577, allocations: 1.594 kB / 0.5178 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.5584, allocations: 441.8 kB / 0.5182 GB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.5584, allocations: 26.75 kB / 0.5183 GB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.5584, allocations: 4.531 kB / 0.5183 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5585, allocations: 7.25 kB / 0.5183 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.5586, allocations: 14.38 kB / 0.5183 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.5586, allocations: 7.75 kB / 0.5183 GB, free: 6.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.5587, allocations: 92.16 kB / 0.5184 GB, free: 6.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5587, allocations: 192 / 0.5184 GB, free: 6.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.5591, allocations: 60.66 kB / 0.5184 GB, free: 6.637 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.0006535/0.5598, allocations: 272.5 kB / 0.5187 GB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.5604, allocations: 334.9 kB / 0.519 GB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5604, allocations: 1.125 kB / 0.519 GB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.5607, allocations: 210.2 kB / 0.5192 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.5613, allocations: 82.16 kB / 0.5193 GB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.5623, allocations: 0.5189 MB / 0.5198 GB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.5624, allocations: 142.5 kB / 0.5199 GB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.5626, allocations: 25.11 kB / 0.52 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.5626, allocations: 21.34 kB / 0.52 GB, free: 6.059 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5626, allocations: 1.156 kB / 0.52 GB, free: 6.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01443/0.5771, allocations: 5.83 MB / 0.5257 GB, free: 5.176 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile [Timeout 660] (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 & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.787593411281705] Failed to read output from testmodel.py, exit status != 0: 0.5866827424615622 0.606009117 0.052632039000000005 Calling exit ...