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.001347/0.001347, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001591/0.001591, allocations: 221.3 kB / 22.26 MB, free: 5.211 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.008 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.01322/0.01322, allocations: 2.798 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: 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.00204/0.00204, allocations: 63.89 kB / 439.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 54.18 MB / 493.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.01159/0.12, allocations: 8.978 MB / 0.4906 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008141/0.1281, allocations: 8.478 MB / 0.4988 GB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1283, allocations: 8 kB / 0.4988 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1288, allocations: 159 kB / 0.499 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.1292, allocations: 91.42 kB / 0.4991 GB, free: 5.086 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.004203/0.1334, allocations: 1.442 MB / 0.5005 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.1338, allocations: 242.9 kB / 0.5007 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.1339, allocations: 9.75 kB / 0.5007 GB, free: 3.391 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.4172/0.5511, allocations: 13.75 MB / 0.5142 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.5514, allocations: 68.23 kB / 0.5142 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.5514, allocations: 8.156 kB / 0.5142 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.5531, allocations: 306.9 kB / 0.5145 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.5532, allocations: 24.41 kB / 0.5146 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.5533, allocations: 76.36 kB / 0.5146 GB, free: 7.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.5546, allocations: 349.9 kB / 0.515 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5546, allocations: 0 / 0.515 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5546, allocations: 3.938 kB / 0.515 GB, free: 7.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.5546, allocations: 0 / 0.515 GB, free: 7.285 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.0009156/0.5555, allocations: 428.9 kB / 0.5154 GB, free: 6.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5556, allocations: 9.812 kB / 0.5154 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.5561, allocations: 93.45 kB / 0.5155 GB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.5563, allocations: 136.2 kB / 0.5156 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.5564, allocations: 24.66 kB / 0.5156 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.5564, allocations: 9.906 kB / 0.5156 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.5568, allocations: 255.3 kB / 0.5159 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5568, allocations: 3.984 kB / 0.5159 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5569, allocations: 5.047 kB / 0.5159 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5569, allocations: 9.344 kB / 0.5159 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.5573, allocations: 259.2 kB / 0.5161 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5583, allocations: 0.8162 MB / 0.5169 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.5586, allocations: 144.9 kB / 0.5171 GB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.5589, allocations: 129.6 kB / 0.5172 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.5589, allocations: 2.094 kB / 0.5172 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.559, allocations: 36.2 kB / 0.5172 GB, free: 6.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.559, allocations: 0 / 0.5172 GB, free: 6.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007679/0.5597, allocations: 423.7 kB / 0.5176 GB, free: 6.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5598, allocations: 51.41 kB / 0.5177 GB, free: 5.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.5598, allocations: 116.6 kB / 0.5178 GB, free: 5.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5599, allocations: 25.7 kB / 0.5178 GB, free: 5.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.5599, allocations: 109.9 kB / 0.5179 GB, free: 5.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.56, allocations: 114.8 kB / 0.518 GB, free: 5.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.56, allocations: 44.41 kB / 0.5181 GB, free: 5.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.5601, allocations: 321.9 kB / 0.5184 GB, free: 5.344 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5603, allocations: 123.7 kB / 0.5185 GB, free: 5.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.5605, allocations: 180.1 kB / 0.5187 GB, free: 5.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.5609, allocations: 213.9 kB / 0.5189 GB, free: 5.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5609, allocations: 4 kB / 0.5189 GB, free: 5.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004871/0.5614, allocations: 299.3 kB / 0.5192 GB, free: 5.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5614, allocations: 9.406 kB / 0.5192 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5614, allocations: 1.375 kB / 0.5192 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5614, allocations: 3.969 kB / 0.5192 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.5615, allocations: 28 kB / 0.5192 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5616, allocations: 6.906 kB / 0.5192 GB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5617, allocations: 22.25 kB / 0.5192 GB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5617, allocations: 4.953 kB / 0.5192 GB, free: 5.156 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.447e-05/0.5618, allocations: 129.9 kB / 0.5194 GB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.5618, allocations: 15.97 kB / 0.5194 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005635/0.5624, allocations: 350.1 kB / 0.5197 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5624, allocations: 6.969 kB / 0.5197 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5624, allocations: 0 / 0.5197 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5624, allocations: 6.344 kB / 0.5197 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.5627, allocations: 270.4 kB / 0.52 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5627, allocations: 0.6094 kB / 0.52 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.5628, allocations: 19.5 kB / 0.52 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5628, allocations: 2.359 kB / 0.52 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5628, allocations: 1.375 kB / 0.52 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5628, allocations: 0 / 0.52 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5628, allocations: 4 kB / 0.52 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.5633, allocations: 448.3 kB / 0.5204 GB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.5634, allocations: 17.8 kB / 0.5205 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5634, allocations: 1 kB / 0.5205 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5635, allocations: 8.031 kB / 0.5205 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.5636, allocations: 17.95 kB / 0.5205 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5636, allocations: 3.031 kB / 0.5205 GB, free: 4.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.5636, allocations: 88.56 kB / 0.5206 GB, free: 4.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5636, allocations: 0 / 0.5206 GB, free: 4.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.564, allocations: 65.34 kB / 0.5206 GB, free: 4.543 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.0005679/0.5646, allocations: 272.7 kB / 0.5209 GB, free: 4.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5652, allocations: 345.9 kB / 0.5212 GB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5652, allocations: 4.281 kB / 0.5212 GB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.5655, allocations: 203 kB / 0.5214 GB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.5661, allocations: 71.7 kB / 0.5215 GB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.5669, allocations: 0.5228 MB / 0.522 GB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.5672, allocations: 0.7523 MB / 0.5227 GB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.5673, allocations: 18.73 kB / 0.5228 GB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.5673, allocations: 24.19 kB / 0.5228 GB, free: 3.352 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5673, allocations: 2.719 kB / 0.5228 GB, free: 3.352 MB / 366.1 MB Notification: Performance of Templates: time 0.01232/0.5797, allocations: 5.804 MB / 0.5284 GB, free: 2.348 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.321905400138348] Failed to read output from testmodel.py, exit status != 0: 0.5865117770154029 0.603045598 0.04483202899999994 Calling exit ...