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.00177/0.00177, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002168/0.002168, allocations: 211.8 kB / 23.01 MB, free: 4.57 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.8 MB, free: 8 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.01361/0.01361, allocations: 2.8 MB / 316 MB, free: 332 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.002112/0.002112, allocations: 67.89 kB / 439.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09739, allocations: 54.17 MB / 494.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01117/0.1086, allocations: 8.97 MB / 0.4913 GB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008653/0.1172, allocations: 8.493 MB / 0.4996 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.1173, allocations: 0 / 0.4996 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.1178, allocations: 151 kB / 0.4997 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1181, allocations: 103.4 kB / 0.4998 GB, free: 5.125 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.003165/0.1213, allocations: 1.436 MB / 0.5012 GB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.1216, allocations: 242.9 kB / 0.5015 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.1217, allocations: 9.75 kB / 0.5015 GB, free: 3.434 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.3391/0.4608, allocations: 13.76 MB / 0.5149 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.461, allocations: 69.41 kB / 0.515 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.461, allocations: 6.438 kB / 0.515 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.4625, allocations: 307.3 kB / 0.5153 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.4625, allocations: 28.31 kB / 0.5153 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.4627, allocations: 80.44 kB / 0.5154 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.4636, allocations: 346.2 kB / 0.5157 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4636, allocations: 0 / 0.5157 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4636, allocations: 0 / 0.5157 GB, free: 7.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4636, allocations: 0 / 0.5157 GB, free: 7.414 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.0007377/0.4644, allocations: 430.8 kB / 0.5161 GB, free: 7.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4644, allocations: 8.25 kB / 0.5161 GB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.4648, allocations: 94.62 kB / 0.5162 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.465, allocations: 140.3 kB / 0.5164 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.465, allocations: 19.8 kB / 0.5164 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4651, allocations: 8.625 kB / 0.5164 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.4655, allocations: 253.9 kB / 0.5166 GB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.4655, allocations: 5.375 kB / 0.5166 GB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.4656, allocations: 5.25 kB / 0.5166 GB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4656, allocations: 7.625 kB / 0.5166 GB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.466, allocations: 254.7 kB / 0.5169 GB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.4669, allocations: 0.8188 MB / 0.5177 GB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.4671, allocations: 148.9 kB / 0.5178 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.4674, allocations: 131.1 kB / 0.518 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4674, allocations: 6.406 kB / 0.518 GB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.4674, allocations: 35.72 kB / 0.518 GB, free: 6.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 4.759e-06/0.4674, allocations: 0 / 0.518 GB, free: 6.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009625/0.4684, allocations: 415.8 kB / 0.5184 GB, free: 6.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.4684, allocations: 56.27 kB / 0.5184 GB, free: 6.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.4685, allocations: 116.2 kB / 0.5186 GB, free: 6.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4685, allocations: 26.73 kB / 0.5186 GB, free: 5.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.4685, allocations: 109.4 kB / 0.5187 GB, free: 5.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.4686, allocations: 113 kB / 0.5188 GB, free: 5.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.4687, allocations: 39.19 kB / 0.5188 GB, free: 5.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.4687, allocations: 325.9 kB / 0.5191 GB, free: 5.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.469, allocations: 122.8 kB / 0.5193 GB, free: 5.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.4692, allocations: 182.5 kB / 0.5194 GB, free: 5.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.4696, allocations: 213.2 kB / 0.5196 GB, free: 5.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4696, allocations: 0 / 0.5196 GB, free: 5.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005187/0.4701, allocations: 300.3 kB / 0.5199 GB, free: 5.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4701, allocations: 10.55 kB / 0.5199 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.4701, allocations: 1.938 kB / 0.5199 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/0.4702, allocations: 1.75 kB / 0.5199 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4703, allocations: 25.97 kB / 0.52 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.4703, allocations: 2.859 kB / 0.52 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4704, allocations: 26.38 kB / 0.52 GB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4704, allocations: 4.641 kB / 0.52 GB, free: 5.293 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 7.798e-05/0.4705, allocations: 129.2 kB / 0.5201 GB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.4706, allocations: 15.41 kB / 0.5201 GB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/0.4711, allocations: 346.2 kB / 0.5205 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4711, allocations: 4.391 kB / 0.5205 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4711, allocations: 0 / 0.5205 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4712, allocations: 0.9844 kB / 0.5205 GB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4714, allocations: 270.8 kB / 0.5207 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4714, allocations: 3.938 kB / 0.5207 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4715, allocations: 27.48 kB / 0.5208 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4715, allocations: 0 / 0.5208 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4715, allocations: 3.484 kB / 0.5208 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4715, allocations: 3.375 kB / 0.5208 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4715, allocations: 0 / 0.5208 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.4721, allocations: 448.6 kB / 0.5212 GB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.4721, allocations: 17.58 kB / 0.5212 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4721, allocations: 1.25 kB / 0.5212 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4723, allocations: 14.31 kB / 0.5212 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.4723, allocations: 10.52 kB / 0.5212 GB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4724, allocations: 6.797 kB / 0.5212 GB, free: 4.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.4724, allocations: 90.83 kB / 0.5213 GB, free: 4.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4724, allocations: 0 / 0.5213 GB, free: 4.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.4728, allocations: 69.56 kB / 0.5214 GB, free: 4.676 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.0005147/0.4733, allocations: 252.6 kB / 0.5216 GB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006028/0.4739, allocations: 339.9 kB / 0.522 GB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4739, allocations: 3.188 kB / 0.522 GB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.4742, allocations: 207.5 kB / 0.5222 GB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.4748, allocations: 72.48 kB / 0.5222 GB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4762, allocations: 0.5666 MB / 0.5228 GB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.4764, allocations: 0.7522 MB / 0.5235 GB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.4765, allocations: 22.81 kB / 0.5235 GB, free: 3.465 MB / 366.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4765, allocations: 4.188 kB / 0.5235 GB, free: 3.465 MB / 366.1 MB Notification: Performance of Templates: time 0.006764/0.4832, allocations: 3.402 MB / 0.5269 GB, free: 3.023 MB / 366.1 MB " [Timeout remaining time 660] 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: 7.382092155981809] Failed to read output from testmodel.py, exit status != 0: 0.4908369560725987 0.5073412909999999 0.040109161000000004 Calling exit ...