Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.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.0009876/0.0009876, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009082/0.0009082, allocations: 173 kB / 23.03 MB, free: 1.543 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.008685/0.008685, allocations: 1.989 MB / 261.9 MB, free: 11.06 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.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 332.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.384e-05, allocations: 2.312 kB / 332.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.008415/0.008449, allocations: 9.632 MB / 342 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.01039, allocations: 3.184 MB / 345.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.01047, allocations: 4 kB / 345.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.01076, allocations: 107.2 kB / 345.3 MB, free: 5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.01235, allocations: 0.6865 MB / 346 MB, free: 4.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.0126, allocations: 91.25 kB / 346.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.01289, allocations: 325.5 kB / 346.4 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.01294, allocations: 16.94 kB / 346.4 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.01304, allocations: 147.5 kB / 346.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.01313, allocations: 83.77 kB / 346.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.01315, allocations: 8 kB / 346.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5678/0.581, allocations: 21.51 MB / 368.1 MB, free: 164 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.581, allocations: 27.8 kB / 368.2 MB, free: 136 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.5811, allocations: 83.8 kB / 368.2 MB, free: 52 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.5822, allocations: 334.8 kB / 368.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.5822, allocations: 0 / 368.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5822, allocations: 0 / 368.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.5822, allocations: 0 / 368.6 MB, free: 15.72 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0006436/0.5828, allocations: 0.5739 MB / 369.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5829, allocations: 8.031 kB / 369.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/0.5835, allocations: 432 kB / 369.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5836, allocations: 132.3 kB / 369.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.5837, allocations: 16.88 kB / 369.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5837, allocations: 20.38 kB / 369.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.584, allocations: 247.2 kB / 370 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.584, allocations: 0 / 370 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.584, allocations: 12 kB / 370 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5841, allocations: 7.984 kB / 370 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5842, allocations: 116 kB / 370.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.5852, allocations: 0.8818 MB / 371 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5853, allocations: 106 kB / 371.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.5853, allocations: 59.45 kB / 371.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004267/0.5857, allocations: 0.6701 MB / 371.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.5858, allocations: 37.39 kB / 371.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.5858, allocations: 0 / 371.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0002546/0.586, allocations: 174.3 kB / 372 MB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.5861, allocations: 77.11 kB / 372.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.5861, allocations: 173.8 kB / 372.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.5862, allocations: 29.7 kB / 372.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.5862, allocations: 203.2 kB / 372.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.5863, allocations: 103 kB / 372.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.5863, allocations: 51.42 kB / 372.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5864, allocations: 0.4923 MB / 373.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.5865, allocations: 23.98 kB / 373.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.5865, allocations: 89.97 kB / 373.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.5866, allocations: 130 kB / 373.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5866, allocations: 3.938 kB / 373.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001539/0.5868, allocations: 169.8 kB / 373.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5868, allocations: 7.984 kB / 373.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5868, allocations: 7.938 kB / 373.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5868, allocations: 0 / 373.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.5869, allocations: 8 kB / 373.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5869, allocations: 4 kB / 373.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.5869, allocations: 19.78 kB / 373.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5869, allocations: 4 kB / 373.6 MB, free: 10.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.479e-05/0.587, allocations: 164.5 kB / 373.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.5871, allocations: 7.953 kB / 373.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.5871, allocations: 20.48 kB / 373.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5871, allocations: 4 kB / 373.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5871, allocations: 4 kB / 373.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5871, allocations: 0 / 373.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.5873, allocations: 204.4 kB / 374 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5873, allocations: 3.938 kB / 374 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.5873, allocations: 4 kB / 374 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5873, allocations: 0 / 374 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5873, allocations: 0 / 374 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5873, allocations: 7.984 kB / 374 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5873, allocations: 0 / 374 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.5875, allocations: 407 kB / 374.4 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5875, allocations: 20.02 kB / 374.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.5876, allocations: 0 / 374.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.5876, allocations: 3.938 kB / 374.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.5876, allocations: 11.97 kB / 374.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.5876, allocations: 4 kB / 374.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.5877, allocations: 123.2 kB / 374.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5877, allocations: 0 / 374.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.5879, allocations: 83.72 kB / 374.7 MB, free: 9.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003449/0.5883, allocations: 163.8 kB / 374.8 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.5885, allocations: 204.3 kB / 375 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5885, allocations: 0 / 375 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.5886, allocations: 185 kB / 375.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.589, allocations: 96.14 kB / 375.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/0.5898, allocations: 0.5061 MB / 375.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.5899, allocations: 101.2 kB / 375.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.853e-05/0.59, allocations: 37.19 kB / 375.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.59, allocations: 24.5 kB / 376 MB, free: 7.863 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.59, allocations: 0 / 376 MB, free: 7.863 MB / 346.7 MB Notification: Performance of Templates: time 0.006459/0.5965, allocations: 4.663 MB / 380.6 MB, free: 3.188 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.195450461935252]