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.00111/0.00111, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001202/0.001202, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 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 0.8992/0.8992, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007559/0.007559, allocations: 2 MB / 262.3 MB, free: 10.92 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 279.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.113e-05, allocations: 2.312 kB / 279.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.006063/0.006075, allocations: 8.986 MB / 288.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1047/0.1107, allocations: 8.446 MB / 297 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1108, allocations: 1.375 kB / 297 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.1112, allocations: 133 kB / 297.1 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1115, allocations: 103.6 kB / 297.2 MB, free: 17.44 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.002325/0.1138, allocations: 1.48 MB / 298.7 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1141, allocations: 244.8 kB / 298.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1141, allocations: 11.98 kB / 298.9 MB, free: 16.55 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.5229/0.637, allocations: 22.91 MB / 321.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.6372, allocations: 59.36 kB / 321.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6372, allocations: 7.938 kB / 321.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.6383, allocations: 304 kB / 322.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.6384, allocations: 26.78 kB / 322.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.6384, allocations: 49.17 kB / 322.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.639, allocations: 312.2 kB / 322.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.639, allocations: 0 / 322.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.639, allocations: 4 kB / 322.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.639, allocations: 0 / 322.6 MB, free: 1.453 MB / 266.7 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.0004134/0.6394, allocations: 393.7 kB / 323 MB, free: 1.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.6394, allocations: 8.031 kB / 323 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.6397, allocations: 160.8 kB / 323.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.6398, allocations: 129.7 kB / 323.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.6399, allocations: 20.38 kB / 323.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.6399, allocations: 12.38 kB / 323.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.6401, allocations: 215.3 kB / 323.5 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6401, allocations: 3.938 kB / 323.5 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6401, allocations: 7.938 kB / 323.5 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.6401, allocations: 11.98 kB / 323.5 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.6402, allocations: 74.81 kB / 323.6 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.6406, allocations: 0.5056 MB / 324.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6407, allocations: 122.7 kB / 324.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.6408, allocations: 41.98 kB / 324.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.6408, allocations: 4 kB / 324.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6408, allocations: 30.56 kB / 324.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.342e-06/0.6408, allocations: 0 / 324.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002303/0.6411, allocations: 193.4 kB / 324.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.6411, allocations: 55.34 kB / 324.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.6411, allocations: 130.6 kB / 324.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.6412, allocations: 29.7 kB / 324.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.6412, allocations: 108.6 kB / 324.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.6413, allocations: 114.9 kB / 324.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.6413, allocations: 41.67 kB / 325 MB, free: 14.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.6414, allocations: 326.8 kB / 325.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.6414, allocations: 39.14 kB / 325.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.6415, allocations: 85.72 kB / 325.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.6416, allocations: 119.8 kB / 325.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6416, allocations: 0 / 325.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001589/0.6418, allocations: 152.3 kB / 325.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6418, allocations: 11.94 kB / 325.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6418, allocations: 0 / 325.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6418, allocations: 4 kB / 325.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.6419, allocations: 19.98 kB / 325.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.6419, allocations: 4.625 kB / 325.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.6419, allocations: 23.78 kB / 325.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6419, allocations: 4 kB / 325.7 MB, free: 14.11 MB / 282.7 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 6.857e-05/0.642, allocations: 128.6 kB / 325.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.642, allocations: 8 kB / 325.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.6422, allocations: 151.6 kB / 326 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6422, allocations: 8 kB / 326 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.6422, allocations: 0 / 326 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6422, allocations: 3.938 kB / 326 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.6424, allocations: 149.6 kB / 326.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6424, allocations: 0 / 326.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.6424, allocations: 15.94 kB / 326.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6424, allocations: 4 kB / 326.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.6424, allocations: 0 / 326.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6424, allocations: 0 / 326.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6424, allocations: 0 / 326.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.6426, allocations: 300 kB / 326.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.6426, allocations: 15.88 kB / 326.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.6426, allocations: 4 kB / 326.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.6427, allocations: 8 kB / 326.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.6427, allocations: 11.97 kB / 326.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.6427, allocations: 7.938 kB / 326.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.436e-05/0.6428, allocations: 12.86 kB / 326.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6428, allocations: 3.938 kB / 326.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000262/0.643, allocations: 67.81 kB / 326.6 MB, free: 13.17 MB / 282.7 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.0004479/0.6435, allocations: 278.5 kB / 326.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.6437, allocations: 179.2 kB / 327.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6437, allocations: 0 / 327.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.6438, allocations: 132.8 kB / 327.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.6441, allocations: 76.3 kB / 327.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.6447, allocations: 430.5 kB / 327.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.6448, allocations: 85.89 kB / 327.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.6449, allocations: 29.11 kB / 327.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.645, allocations: 107.3 kB / 327.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.645, allocations: 0 / 327.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of Templates: time 0.008591/0.6536, allocations: 6.437 MB / 334.3 MB, free: 5.375 MB / 282.7 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5438949689269066]