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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008512, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1413/0.1413, allocations: 2.784 MB / 293.9 MB, free: 4.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 8 kB / 355.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1122, allocations: 51.25 MB / 406.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008013/0.1203, allocations: 8.009 MB / 414.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006231/0.1265, allocations: 7.754 MB / 422.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.331e-05/0.1266, allocations: 4 kB / 422.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1271, allocations: 139.3 kB / 422.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1273, allocations: 91.36 kB / 422.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1984/0.3257, allocations: 1.242 MB / 424.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.3265, allocations: 251.2 kB / 424.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3267, allocations: 15.59 kB / 424.4 MB, free: 36.23 MB / 350.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.02937/0.356, allocations: 11.52 MB / 435.9 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3564, allocations: 70.92 kB / 436 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3564, allocations: 3.125 kB / 436 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.3582, allocations: 308.4 kB / 436.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.3583, allocations: 26.89 kB / 436.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.3584, allocations: 53.7 kB / 436.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.3588, allocations: 240.8 kB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.3589, allocations: 4 kB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3589, allocations: 0 / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3589, allocations: 2.938 kB / 436.6 MB, free: 35.58 MB / 350.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.0007048/0.3596, allocations: 479.5 kB / 437.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3596, allocations: 9.125 kB / 437.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.3601, allocations: 101.5 kB / 437.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3603, allocations: 195.4 kB / 437.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.3603, allocations: 21.84 kB / 437.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3603, allocations: 11.3 kB / 437.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.3607, allocations: 250.9 kB / 437.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3607, allocations: 6 kB / 437.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3608, allocations: 8.031 kB / 437.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3608, allocations: 6.781 kB / 437.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.3612, allocations: 258.3 kB / 437.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.3621, allocations: 0.8629 MB / 438.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3624, allocations: 179.2 kB / 438.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.3626, allocations: 160.5 kB / 439.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3626, allocations: 0 / 439.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3626, allocations: 35.53 kB / 439.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.152e-06/0.3626, allocations: 0 / 439.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006424/0.3633, allocations: 421 kB / 439.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3633, allocations: 55.03 kB / 439.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.3634, allocations: 117.9 kB / 439.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3634, allocations: 26.33 kB / 439.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.3635, allocations: 109.9 kB / 439.8 MB, free: 33.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.3636, allocations: 113.1 kB / 440 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.3636, allocations: 1.875 kB / 440 MB, free: 33.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.3636, allocations: 323.4 kB / 440.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3638, allocations: 123.8 kB / 440.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.364, allocations: 177.5 kB / 440.6 MB, free: 33.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3642, allocations: 94.2 kB / 440.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3642, allocations: 0 / 440.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004323/0.3646, allocations: 299.4 kB / 440.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3646, allocations: 6.344 kB / 441 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3647, allocations: 0 / 441 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3647, allocations: 3.188 kB / 441 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3648, allocations: 29.08 kB / 441 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3648, allocations: 3.062 kB / 441 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3649, allocations: 25.25 kB / 441 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.365, allocations: 10.58 kB / 441 MB, free: 33.34 MB / 350.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.state.phase,fluid.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.3651, allocations: 121.5 kB / 441.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3651, allocations: 18.14 kB / 441.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.3659, allocations: 488 kB / 441.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005381/0.3664, allocations: 434.9 kB / 442.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3665, allocations: 0 / 442.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3665, allocations: 3.516 kB / 442.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3676, allocations: 0.9229 MB / 443 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3676, allocations: 0 / 443 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3678, allocations: 43.02 kB / 443 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3678, allocations: 0 / 443 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3678, allocations: 13.98 kB / 443 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3678, allocations: 0 / 443 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3678, allocations: 0 / 443 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.3685, allocations: 0.5273 MB / 443.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.3686, allocations: 99.36 kB / 443.7 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3686, allocations: 4.906 kB / 443.7 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3687, allocations: 16.73 kB / 443.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.3688, allocations: 20.02 kB / 443.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3688, allocations: 7.375 kB / 443.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.3689, allocations: 92.17 kB / 443.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3689, allocations: 2.625 kB / 443.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.3693, allocations: 72.48 kB / 443.9 MB, free: 32.38 MB / 350.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: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006254/0.3699, allocations: 267 kB / 444.1 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.3705, allocations: 409.9 kB / 444.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3705, allocations: 0 / 444.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3708, allocations: 233.5 kB / 444.8 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3714, allocations: 120.7 kB / 444.9 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.3723, allocations: 0.6966 MB / 445.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3725, allocations: 0.7452 MB / 446.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3727, allocations: 32.52 kB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3727, allocations: 17 kB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3727, allocations: 7.219 kB / 446.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of Templates: time 0.009887/0.3826, allocations: 5.392 MB / 451.8 MB, free: 30.73 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: