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.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_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00509/0.00509, allocations: 102 kB / 15.73 MB, free: 6.066 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.00121/0.00121, allocations: 196 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01093/0.01093, allocations: 2.772 MB / 293.3 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.89 kB / 405.9 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07622/0.07736, allocations: 50.23 MB / 456.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008167/0.08557, allocations: 8.114 MB / 464.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.08629, allocations: 0.938 MB / 465.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.08634, allocations: 0 / 465.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.08658, allocations: 79.52 kB / 465.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.08662, allocations: 19.84 kB / 465.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.0869, allocations: 123 kB / 465.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.08698, allocations: 51.67 kB / 465.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.08704, allocations: 7.984 kB / 465.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.08707, allocations: 19.92 kB / 465.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.08712, allocations: 19.88 kB / 465.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.08714, allocations: 0 / 465.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07758/0.1647, allocations: 13.66 MB / 479.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1648, allocations: 7.938 kB / 479.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.1648, allocations: 23.88 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1651, allocations: 87.64 kB / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1651, allocations: 0 / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1652, allocations: 0 / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1652, allocations: 0 / 479.3 MB, free: 4.754 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003732/0.1655, allocations: 359.3 kB / 479.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1656, allocations: 12.03 kB / 479.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1657, allocations: 16.88 kB / 479.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.1658, allocations: 172.3 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1658, allocations: 384 / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1658, allocations: 7.938 kB / 479.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.166, allocations: 65.67 kB / 479.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.166, allocations: 0 / 479.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.166, allocations: 8 kB / 479.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.166, allocations: 4 kB / 479.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.1661, allocations: 35.97 kB / 479.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1664, allocations: 313.5 kB / 480.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.341e-05/0.1665, allocations: 50.56 kB / 480.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.1666, allocations: 32.86 kB / 480.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1666, allocations: 0 / 480.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1666, allocations: 38.56 kB / 480.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 8.92e-07/0.1666, allocations: 0 / 480.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002219/0.1669, allocations: 117.9 kB / 480.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1669, allocations: 59.33 kB / 480.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.1669, allocations: 93.8 kB / 480.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.167, allocations: 25.7 kB / 480.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.167, allocations: 84.14 kB / 480.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.167, allocations: 55.48 kB / 480.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1671, allocations: 25.7 kB / 480.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1672, allocations: 322.8 kB / 481.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.1672, allocations: 16 kB / 481.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.1672, allocations: 16.45 kB / 481.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.338e-05/0.1673, allocations: 60.88 kB / 481.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1673, allocations: 0 / 481.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001151/0.1675, allocations: 89.48 kB / 481.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1675, allocations: 8 kB / 481.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1675, allocations: 0 / 481.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1675, allocations: 4 kB / 481.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.1676, allocations: 7.984 kB / 481.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1676, allocations: 0 / 481.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.1676, allocations: 3.938 kB / 481.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1676, allocations: 0 / 481.3 MB, free: 2.469 MB / 350.1 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 6.336e-05/0.1677, allocations: 114.5 kB / 481.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.1679, allocations: 7.953 kB / 481.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.168, allocations: 8.438 kB / 481.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.168, allocations: 0 / 481.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.168, allocations: 4 kB / 481.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.168, allocations: 3.938 kB / 481.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1682, allocations: 186 kB / 481.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1682, allocations: 0 / 481.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.1682, allocations: 4 kB / 481.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1682, allocations: 0 / 481.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1682, allocations: 8 kB / 481.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1682, allocations: 0 / 481.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1682, allocations: 11.86 kB / 481.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1684, allocations: 183.4 kB / 481.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.1685, allocations: 89.05 kB / 481.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1685, allocations: 0 / 481.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.1685, allocations: 0 / 481.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1685, allocations: 7.984 kB / 481.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1685, allocations: 3.938 kB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.167e-05/0.1686, allocations: 75.28 kB / 482 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 0 / 482 MB, free: 1.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1688, allocations: 23.95 kB / 482 MB, free: 1.66 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: 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.0002205/0.169, allocations: 136.2 kB / 482.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1692, allocations: 125.2 kB / 482.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1692, allocations: 0 / 482.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.1693, allocations: 90.42 kB / 482.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.1701, allocations: 31.95 kB / 482.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.1705, allocations: 271.8 kB / 482.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1708, allocations: 0.7162 MB / 483.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.1709, allocations: 12.31 kB / 483.4 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.1709, allocations: 15.44 kB / 483.4 MB, free: 200 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1709, allocations: 0 / 483.4 MB, free: 200 kB / 350.1 MB Notification: Performance of Templates: time 0.004571/0.1755, allocations: 2.151 MB / 485.6 MB, free: 14.06 MB / 366.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)