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.001322/0.001322, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001171/0.001171, allocations: 169 kB / 23.28 MB, free: 1.219 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.066/1.066, allocations: 177.1 MB / 203.7 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.01292/0.01292, allocations: 1.996 MB / 262.2 MB, free: 10.87 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.393e-06/1.393e-06, allocations: 0 / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.711e-05, allocations: 8.562 kB / 332.8 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01656/0.01659, allocations: 8.246 MB / 341 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000446/0.01703, allocations: 0.9265 MB / 341.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.01707, allocations: 7.938 kB / 342 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.01726, allocations: 63.58 kB / 342 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.759e-05/0.01728, allocations: 27.77 kB / 342 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.01753, allocations: 115.1 kB / 342.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.0176, allocations: 55.56 kB / 342.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.01764, allocations: 11.92 kB / 342.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.01769, allocations: 23.92 kB / 342.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.01774, allocations: 15.97 kB / 342.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.01775, allocations: 7.938 kB / 342.3 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06526/0.08301, allocations: 22.74 MB / 365 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.08303, allocations: 3.938 kB / 365 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.08308, allocations: 12 kB / 365 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.08337, allocations: 87.72 kB / 365.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.08337, allocations: 0 / 365.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08337, allocations: 0 / 365.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.08338, allocations: 0 / 365.1 MB, free: 2.359 MB / 282.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.0003485/0.08373, allocations: 388.4 kB / 365.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.08377, allocations: 8.031 kB / 365.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.08389, allocations: 44.8 kB / 365.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.232e-05/0.08396, allocations: 112.6 kB / 365.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.08397, allocations: 4.375 kB / 365.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.08397, allocations: 8.375 kB / 365.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.08405, allocations: 46 kB / 365.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.08406, allocations: 3.938 kB / 365.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.08407, allocations: 3.938 kB / 365.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.08407, allocations: 4 kB / 365.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.08409, allocations: 12 kB / 365.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.08437, allocations: 277.2 kB / 366 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.08442, allocations: 42.92 kB / 366 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.08444, allocations: 27.59 kB / 366.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.08446, allocations: 4 kB / 366.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.08448, allocations: 37.38 kB / 366.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.08449, allocations: 0 / 366.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001511/0.08464, allocations: 97.86 kB / 366.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.08466, allocations: 51.41 kB / 366.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.408e-05/0.08471, allocations: 142.2 kB / 366.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.08472, allocations: 25.7 kB / 366.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.08475, allocations: 138.8 kB / 366.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.08479, allocations: 55.47 kB / 366.6 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.08483, allocations: 27.38 kB / 366.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.08495, allocations: 0.5 MB / 367.1 MB, free: 152 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.08496, allocations: 8 kB / 367.1 MB, free: 144 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.08497, allocations: 4.156 kB / 367.1 MB, free: 140 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.08502, allocations: 47.56 kB / 367.2 MB, free: 88 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08502, allocations: 0 / 367.2 MB, free: 88 kB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 7.653e-05/0.0851, allocations: 78.2 kB / 367.3 MB, free: 4 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.08513, allocations: 8.047 kB / 367.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.08514, allocations: 0 / 367.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.08515, allocations: 0 / 367.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.0852, allocations: 4 kB / 367.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.08521, allocations: 3.938 kB / 367.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.08522, allocations: 7.953 kB / 367.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.08523, allocations: 3.938 kB / 367.3 MB, free: 15.98 MB / 298.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 7.617e-05/0.08531, allocations: 156.6 kB / 367.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.08533, allocations: 7.891 kB / 367.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.08535, allocations: 16.39 kB / 367.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.08535, allocations: 3.984 kB / 367.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.08536, allocations: 0 / 367.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.08536, allocations: 0 / 367.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.08547, allocations: 113.7 kB / 367.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.08547, allocations: 3.984 kB / 367.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-05/0.08548, allocations: 8 kB / 367.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.08548, allocations: 3.938 kB / 367.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.08549, allocations: 0 / 367.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.08549, allocations: 4 kB / 367.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08549, allocations: 0 / 367.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.08563, allocations: 239.6 kB / 367.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.08564, allocations: 7.953 kB / 367.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.08565, allocations: 11.92 kB / 367.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.08568, allocations: 0 / 367.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.08569, allocations: 4 kB / 367.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.08569, allocations: 0 / 367.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.08572, allocations: 123.2 kB / 368 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08572, allocations: 0 / 368 MB, free: 15.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000158/0.08588, allocations: 19.94 kB / 368 MB, free: 15.21 MB / 298.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.0002389/0.08612, allocations: 131.9 kB / 368.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.08626, allocations: 89.31 kB / 368.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.08626, allocations: 4 kB / 368.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.08631, allocations: 94.17 kB / 368.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.08657, allocations: 43.88 kB / 368.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.08715, allocations: 266 kB / 368.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.0872, allocations: 75.83 kB / 368.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.08725, allocations: 12.33 kB / 368.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.08734, allocations: 106.1 kB / 368.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.08734, allocations: 0 / 368.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004611/0.09195, allocations: 2.519 MB / 371.3 MB, free: 11.81 MB / 298.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.677188483066857]