Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.002479/0.002479, allocations: 81.5 kB / 19.44 MB, free: 344 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.003133/0.003133, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.01336/0.01336, allocations: 1.989 MB / 261.6 MB, free: 11.09 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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.984 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.612e-05, allocations: 8.922 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01691/0.01693, allocations: 19.63 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.0249, allocations: 6.217 MB / 357.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.02515, allocations: 4 kB / 357.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.02593, allocations: 214.6 kB / 357.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.02954, allocations: 1.221 MB / 358.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.02985, allocations: 83.36 kB / 359 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.03036, allocations: 329.5 kB / 359.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.03043, allocations: 20.91 kB / 359.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.03067, allocations: 139.6 kB / 359.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.03085, allocations: 87.77 kB / 359.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.03088, allocations: 8 kB / 359.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287/1.318, allocations: 64.26 MB / 423.8 MB, free: 67.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/1.318, allocations: 32.58 kB / 423.9 MB, free: 67.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/1.319, allocations: 89.8 kB / 423.9 MB, free: 67.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/1.32, allocations: 0.5049 MB / 424.5 MB, free: 67.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.32, allocations: 0 / 424.5 MB, free: 67.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.32, allocations: 0 / 424.5 MB, free: 67.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/1.32, allocations: 4 kB / 424.5 MB, free: 67.61 MB / 330.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.0006391/1.321, allocations: 0.6102 MB / 425.1 MB, free: 67.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.321, allocations: 7.25 kB / 425.1 MB, free: 67.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/1.322, allocations: 424.6 kB / 425.5 MB, free: 67.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/1.322, allocations: 134.6 kB / 425.6 MB, free: 67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.322, allocations: 16.84 kB / 425.6 MB, free: 67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/1.322, allocations: 24.03 kB / 425.7 MB, free: 67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/1.323, allocations: 272.8 kB / 425.9 MB, free: 66.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.323, allocations: 2.156 kB / 425.9 MB, free: 66.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/1.323, allocations: 14.5 kB / 425.9 MB, free: 66.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/1.323, allocations: 17.11 kB / 426 MB, free: 66.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/1.323, allocations: 141.1 kB / 426.1 MB, free: 66.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.324, allocations: 0.9273 MB / 427 MB, free: 66.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/1.324, allocations: 113.2 kB / 427.1 MB, free: 66.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/1.324, allocations: 67.3 kB / 427.2 MB, free: 66.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/1.325, allocations: 0.6793 MB / 427.9 MB, free: 65.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/1.325, allocations: 36.17 kB / 427.9 MB, free: 65.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.192e-06/1.325, allocations: 0 / 427.9 MB, free: 65.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003806/1.325, allocations: 199.1 kB / 428.1 MB, free: 65.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/1.325, allocations: 79.5 kB / 428.2 MB, free: 65.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/1.325, allocations: 174.3 kB / 428.4 MB, free: 65.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/1.325, allocations: 25.7 kB / 428.4 MB, free: 65.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/1.325, allocations: 212.2 kB / 428.6 MB, free: 65.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/1.325, allocations: 108 kB / 428.7 MB, free: 65.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/1.325, allocations: 50.06 kB / 428.7 MB, free: 65.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/1.325, allocations: 0.4948 MB / 429.2 MB, free: 64.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/1.325, allocations: 31.44 kB / 429.3 MB, free: 64.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/1.326, allocations: 103.2 kB / 429.4 MB, free: 64.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/1.326, allocations: 150.9 kB / 429.5 MB, free: 64.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.326, allocations: 4 kB / 429.5 MB, free: 64.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002276/1.326, allocations: 186 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.326, allocations: 5.719 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.326, allocations: 3.5 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.326, allocations: 1.594 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/1.326, allocations: 15.22 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.326, allocations: 4.031 kB / 429.7 MB, free: 64.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/1.326, allocations: 19.84 kB / 429.8 MB, free: 64.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.326, allocations: 3.562 kB / 429.8 MB, free: 64.4 MB / 330.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 8.439e-05/1.326, allocations: 177.7 kB / 429.9 MB, free: 64.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/1.326, allocations: 13.17 kB / 429.9 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/1.326, allocations: 9.312 kB / 429.9 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.326, allocations: 6.422 kB / 430 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.326, allocations: 1.844 kB / 430 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.326, allocations: 0 / 430 MB, free: 64.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/1.327, allocations: 223.5 kB / 430.2 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.327, allocations: 0 / 430.2 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/1.327, allocations: 4.312 kB / 430.2 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.327, allocations: 6.797 kB / 430.2 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.327, allocations: 6.812 kB / 430.2 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.327, allocations: 4 kB / 430.2 MB, free: 64.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.327, allocations: 1.281 kB / 430.2 MB, free: 64.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/1.327, allocations: 423.8 kB / 430.6 MB, free: 63.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/1.327, allocations: 23.92 kB / 430.6 MB, free: 63.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/1.327, allocations: 0 / 430.6 MB, free: 63.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/1.327, allocations: 1.781 kB / 430.6 MB, free: 63.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/1.327, allocations: 6.766 kB / 430.6 MB, free: 63.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/1.327, allocations: 1.781 kB / 430.6 MB, free: 63.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.813e-05/1.327, allocations: 126.8 kB / 430.8 MB, free: 63.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/1.327, allocations: 0 / 430.8 MB, free: 63.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003855/1.327, allocations: 92.03 kB / 430.9 MB, free: 63.59 MB / 330.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.0004885/1.328, allocations: 185.3 kB / 431 MB, free: 63.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/1.328, allocations: 223.2 kB / 431.3 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.328, allocations: 0 / 431.3 MB, free: 63.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/1.328, allocations: 197.1 kB / 431.5 MB, free: 63.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/1.329, allocations: 83.42 kB / 431.5 MB, free: 63.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/1.33, allocations: 0.5066 MB / 432 MB, free: 62.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/1.33, allocations: 191.7 kB / 432.2 MB, free: 62.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/1.33, allocations: 26.42 kB / 432.3 MB, free: 62.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/1.33, allocations: 27.25 kB / 432.3 MB, free: 62.83 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/1.33, allocations: 0 / 432.3 MB, free: 62.83 MB / 330.7 MB Notification: Performance of Templates: time 0.009408/1.339, allocations: 4.642 MB / 436.9 MB, free: 61.11 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.842431650031358]