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.0008959/0.0008959, allocations: 80.94 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.0009419/0.0009419, allocations: 173.4 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.008543/0.008543, allocations: 2 MB / 262.3 MB, free: 10.95 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 1.253e-06/1.253e-06, allocations: 0 / 279.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.154e-05, allocations: 5.266 kB / 279.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.00722/0.007242, allocations: 8.34 MB / 287.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005489/0.007791, allocations: 0.942 MB / 288.8 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.007823, allocations: 3.938 kB / 288.9 MB, free: 316 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.008051, allocations: 67.58 kB / 288.9 MB, free: 248 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.833e-05/0.008079, allocations: 27.72 kB / 288.9 MB, free: 220 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.008398, allocations: 115.1 kB / 289.1 MB, free: 104 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.008475, allocations: 63.53 kB / 289.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.008512, allocations: 8 kB / 289.1 MB, free: 32 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.008557, allocations: 27.91 kB / 289.2 MB, free: 4 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1059/0.1144, allocations: 9.391 kB / 289.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.1145, allocations: 0 / 289.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05942/0.1739, allocations: 22.81 MB / 312 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1739, allocations: 3.219 kB / 312 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.174, allocations: 23.92 kB / 312 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1744, allocations: 82.17 kB / 312.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1744, allocations: 1.547 kB / 312.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1744, allocations: 0 / 312.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1744, allocations: 0 / 312.1 MB, free: 7.148 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.0003328/0.1747, allocations: 266.1 kB / 312.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1747, allocations: 7.859 kB / 312.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1749, allocations: 38.42 kB / 312.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.269e-05/0.175, allocations: 109.8 kB / 312.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.175, allocations: 4 kB / 312.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-06/0.175, allocations: 7.656 kB / 312.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1751, allocations: 55.28 kB / 312.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1751, allocations: 0 / 312.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1751, allocations: 3.938 kB / 312.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1751, allocations: 1.594 kB / 312.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.1751, allocations: 11.12 kB / 312.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.1754, allocations: 202.4 kB / 312.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.128e-05/0.1754, allocations: 26.06 kB / 312.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.1755, allocations: 12.61 kB / 312.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1755, allocations: 3.938 kB / 312.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1755, allocations: 38.61 kB / 312.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.1755, allocations: 0 / 312.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001548/0.1757, allocations: 88.44 kB / 312.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1757, allocations: 52.16 kB / 313 MB, free: 6.398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.843e-05/0.1757, allocations: 89.86 kB / 313.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.1757, allocations: 29.92 kB / 313.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.1757, allocations: 88.2 kB / 313.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1758, allocations: 60.64 kB / 313.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1758, allocations: 17.91 kB / 313.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.1759, allocations: 320.2 kB / 313.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.1759, allocations: 5.859 kB / 313.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.1759, allocations: 10.09 kB / 313.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.1759, allocations: 38.17 kB / 313.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1759, allocations: 0 / 313.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 7.659e-05/0.176, allocations: 68.14 kB / 313.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.176, allocations: 3.594 kB / 313.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.176, allocations: 0.6094 kB / 313.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1761, allocations: 144 / 313.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.1761, allocations: 3.891 kB / 313.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1761, allocations: 3.984 kB / 313.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1761, allocations: 7.531 kB / 313.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1761, allocations: 8.828 kB / 313.7 MB, free: 5.746 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 5.757e-05/0.1762, allocations: 110.9 kB / 313.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1762, allocations: 8.391 kB / 313.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.1762, allocations: 8.922 kB / 313.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1763, allocations: 3.594 kB / 313.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1763, allocations: 0 / 313.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1763, allocations: 4.703 kB / 313.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.1764, allocations: 80.66 kB / 313.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1764, allocations: 0 / 313.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.1764, allocations: 0.9375 kB / 313.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.1764, allocations: 7.562 kB / 313.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1764, allocations: 3.75 kB / 314 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1764, allocations: 4.594 kB / 314 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1764, allocations: 0 / 314 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1765, allocations: 168.4 kB / 314.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.1765, allocations: 11.53 kB / 314.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.1765, allocations: 4.688 kB / 314.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.1765, allocations: 3.938 kB / 314.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.1766, allocations: 0.8438 kB / 314.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1766, allocations: 4.203 kB / 314.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.436e-06/0.1766, allocations: 4.859 kB / 314.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1766, allocations: 4 kB / 314.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.1767, allocations: 20.53 kB / 314.2 MB, free: 5.379 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.0003679/0.1771, allocations: 120.6 kB / 314.3 MB, free: 5.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1773, allocations: 93.62 kB / 314.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1773, allocations: 0 / 314.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.1773, allocations: 85.28 kB / 314.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1776, allocations: 31.67 kB / 314.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.1783, allocations: 264.7 kB / 314.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.1783, allocations: 73.81 kB / 314.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1784, allocations: 17.45 kB / 314.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.1785, allocations: 84.73 kB / 314.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1785, allocations: 0 / 314.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of Templates: time 0.005059/0.1835, allocations: 2.509 MB / 317.4 MB, free: 3.875 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.255840801168233]