Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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.0008642/0.0008642, 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.001342/0.001342, allocations: 181 kB / 23.36 MB, free: 1.133 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.9274/0.9274, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.009291/0.009291, allocations: 1.996 MB / 262.3 MB, free: 10.94 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_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.716e-06/2.716e-06, allocations: 4 kB / 279.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.728e-05, allocations: 6.25 kB / 279.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006795/0.006822, allocations: 8.289 MB / 287.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005279/0.00735, allocations: 0.942 MB / 288.8 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.007371, allocations: 0 / 288.8 MB, free: 392 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.007542, allocations: 71.52 kB / 288.8 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.112e-05/0.007564, allocations: 23.83 kB / 288.9 MB, free: 296 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.007803, allocations: 119 kB / 289 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.007871, allocations: 59.55 kB / 289 MB, free: 116 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.007906, allocations: 4 kB / 289 MB, free: 112 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.00795, allocations: 35.95 kB / 289.1 MB, free: 76 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.007999, allocations: 11.94 kB / 289.1 MB, free: 64 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.00801, allocations: 0 / 289.1 MB, free: 64 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1502/0.1583, allocations: 22.82 MB / 311.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.1583, allocations: 8.938 kB / 311.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1583, allocations: 12.61 kB / 311.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1586, allocations: 87.25 kB / 312 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1586, allocations: 0 / 312 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1586, allocations: 0 / 312 MB, free: 7.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.1586, allocations: 0 / 312 MB, free: 7.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002609/0.1588, allocations: 267.4 kB / 312.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1589, allocations: 8.688 kB / 312.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.159, allocations: 36.58 kB / 312.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.984e-05/0.159, allocations: 116.2 kB / 312.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.159, allocations: 3.281 kB / 312.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.159, allocations: 6.688 kB / 312.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.1591, allocations: 51.28 kB / 312.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1591, allocations: 0 / 312.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.1591, allocations: 6 kB / 312.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1591, allocations: 1.594 kB / 312.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.1592, allocations: 15.61 kB / 312.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.1594, allocations: 200.3 kB / 312.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.1594, allocations: 28.16 kB / 312.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.1594, allocations: 12.73 kB / 312.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1594, allocations: 4.922 kB / 312.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.1595, allocations: 39.78 kB / 312.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 5.61e-07/0.1595, allocations: 0 / 312.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001156/0.1596, allocations: 82.34 kB / 312.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.1596, allocations: 55.59 kB / 312.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.382e-05/0.1596, allocations: 89.86 kB / 313 MB, free: 6.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.1596, allocations: 25.7 kB / 313 MB, free: 6.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.446e-05/0.1596, allocations: 85.02 kB / 313.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1597, allocations: 58.3 kB / 313.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1597, allocations: 29.86 kB / 313.2 MB, free: 6.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.1597, allocations: 317.8 kB / 313.5 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.1597, allocations: 11.19 kB / 313.5 MB, free: 5.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.1597, allocations: 4.188 kB / 313.5 MB, free: 5.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.1598, allocations: 39.67 kB / 313.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1598, allocations: 0 / 313.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 5.055e-05/0.1598, allocations: 61.3 kB / 313.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1598, allocations: 8.562 kB / 313.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1598, allocations: 0 / 313.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1599, allocations: 0 / 313.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.1599, allocations: 7.797 kB / 313.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.1599, allocations: 4 kB / 313.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.1599, allocations: 11.31 kB / 313.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1599, allocations: 0.8438 kB / 313.7 MB, free: 5.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 3.82e-05/0.16, allocations: 109.8 kB / 313.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.16, allocations: 7.438 kB / 313.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.16, allocations: 7.625 kB / 313.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.16, allocations: 0.6094 kB / 313.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.16, allocations: 0 / 313.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.16, allocations: 0 / 313.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.544e-05/0.1601, allocations: 82.09 kB / 313.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1601, allocations: 4.562 kB / 313.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-06/0.1601, allocations: 3.312 kB / 313.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1601, allocations: 0.6562 kB / 313.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.1601, allocations: 4 kB / 313.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1601, allocations: 7.922 kB / 313.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1601, allocations: 0.6094 kB / 313.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.1602, allocations: 167.8 kB / 314 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-06/0.1602, allocations: 10.73 kB / 314.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.1602, allocations: 0 / 314.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.645e-05/0.1602, allocations: 10.5 kB / 314.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-06/0.1602, allocations: 5.641 kB / 314.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.1602, allocations: 0 / 314.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.04e-06/0.1602, allocations: 4.859 kB / 314.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1602, allocations: 0 / 314.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001242/0.1603, allocations: 18.28 kB / 314.1 MB, free: 5.465 MB / 266.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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002076/0.1606, allocations: 130.2 kB / 314.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.1607, allocations: 91.23 kB / 314.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1607, allocations: 3.75 kB / 314.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.1607, allocations: 87.14 kB / 314.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1609, allocations: 27.16 kB / 314.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.1614, allocations: 268.4 kB / 314.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.1614, allocations: 70.92 kB / 314.8 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1615, allocations: 16.42 kB / 314.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.1616, allocations: 82.38 kB / 314.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1616, allocations: 0 / 314.9 MB, free: 4.969 MB / 266.7 MB Notification: Performance of Templates: time 0.003694/0.1652, allocations: 2.516 MB / 317.4 MB, free: 3.988 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2015001149848104]