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.00153/0.00153, allocations: 111.8 kB / 16.42 MB, free: 5.918 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.001845/0.001845, allocations: 191.7 kB / 17.35 MB, free: 5.555 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01165/0.01165, allocations: 2.78 MB / 294 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 68.09 kB / 406.6 MB, free: 29.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07204/0.07318, allocations: 50.24 MB / 456.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008932/0.08214, allocations: 8.107 MB / 464.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.08294, allocations: 0.9419 MB / 465.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.08298, allocations: 0 / 465.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.08322, allocations: 75.58 kB / 465.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.08326, allocations: 35.7 kB / 466 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.08358, allocations: 111.1 kB / 466.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.08367, allocations: 51.62 kB / 466.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.08371, allocations: 7.984 kB / 466.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.718e-05/0.08375, allocations: 19.94 kB / 466.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.0838, allocations: 23.88 kB / 466.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.08381, allocations: 0 / 466.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08271/0.1665, allocations: 13.65 MB / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1666, allocations: 7.922 kB / 479.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.1666, allocations: 23.88 kB / 479.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.167, allocations: 91.66 kB / 480 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.167, allocations: 3.984 kB / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.167, allocations: 0 / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.167, allocations: 0 / 480 MB, free: 4.855 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.0003672/0.1674, allocations: 351.3 kB / 480.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1674, allocations: 8.031 kB / 480.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1675, allocations: 24.88 kB / 480.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.1676, allocations: 168.3 kB / 480.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1677, allocations: 384 / 480.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1677, allocations: 11.94 kB / 480.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1678, allocations: 69.66 kB / 480.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1678, allocations: 0 / 480.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1678, allocations: 4 kB / 480.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1678, allocations: 0 / 480.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.1679, allocations: 35.98 kB / 480.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.1683, allocations: 313.5 kB / 480.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.1684, allocations: 50.56 kB / 481 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1684, allocations: 36.86 kB / 481 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1684, allocations: 0 / 481 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1685, allocations: 30.56 kB / 481 MB, free: 3.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.926e-06/0.1685, allocations: 0 / 481 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002292/0.1687, allocations: 125.8 kB / 481.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1688, allocations: 51.41 kB / 481.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.1688, allocations: 89.86 kB / 481.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1688, allocations: 33.69 kB / 481.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.1689, allocations: 88.06 kB / 481.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1689, allocations: 59.48 kB / 481.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.169, allocations: 21.72 kB / 481.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1691, allocations: 318.8 kB / 481.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.1691, allocations: 20 kB / 481.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.1691, allocations: 20.45 kB / 481.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.1692, allocations: 60.81 kB / 481.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1692, allocations: 4 kB / 481.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001205/0.1694, allocations: 89.55 kB / 482 MB, free: 2.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1694, allocations: 4 kB / 482 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1694, allocations: 0 / 482 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1694, allocations: 0 / 482 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.1695, allocations: 4 kB / 482 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1695, allocations: 0 / 482 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.1695, allocations: 0 / 482 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1695, allocations: 7.938 kB / 482 MB, free: 2.574 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 8.165e-05/0.1696, allocations: 118.5 kB / 482.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.1696, allocations: 7.953 kB / 482.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1697, allocations: 8.438 kB / 482.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1697, allocations: 0 / 482.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1697, allocations: 0 / 482.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1697, allocations: 89 kB / 482.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1698, allocations: 7.938 kB / 482.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.1698, allocations: 0 / 482.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.1698, allocations: 7.922 kB / 482.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000145/0.17, allocations: 157 kB / 482.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001782/0.1702, allocations: 270.5 kB / 482.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.82e-05/0.1702, allocations: 35.92 kB / 482.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.744e-05/0.1703, allocations: 79.22 kB / 482.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Backend: time 3.61e-07/0.1703, allocations: 0 / 482.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005694/0.1709, allocations: 217.2 kB / 483 MB, free: 1.531 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005484/0.1714, allocations: 0.7604 MB / 483.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Templates: time 0.004847/0.1763, allocations: 1.83 MB / 485.6 MB, free: 14.89 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)