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.001373/0.001373, 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.001058/0.001058, allocations: 173 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 0.9084/0.9084, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.007984/0.007984, allocations: 1.997 MB / 262.3 MB, free: 10.94 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 1.082e-06/1.082e-06, allocations: 0 / 279.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.163e-05, allocations: 2.312 kB / 279.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.1193/0.1193, allocations: 9.635 MB / 289.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1216, allocations: 3.181 MB / 292.4 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.1217, allocations: 1.906 kB / 292.4 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1219, allocations: 101.7 kB / 292.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.1231, allocations: 0.6964 MB / 293.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1233, allocations: 94.02 kB / 293.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1235, allocations: 322.9 kB / 293.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.1236, allocations: 15.33 kB / 293.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1237, allocations: 143.1 kB / 293.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1238, allocations: 85.56 kB / 293.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1238, allocations: 7.969 kB / 293.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5439/0.6677, allocations: 21.59 MB / 315.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.6678, allocations: 35.94 kB / 315.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.6679, allocations: 91.02 kB / 315.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.6688, allocations: 324.5 kB / 315.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6688, allocations: 0 / 315.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6688, allocations: 0 / 315.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.6688, allocations: 2.812 kB / 315.9 MB, free: 7.008 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0003268/0.6692, allocations: 451.2 kB / 316.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6692, allocations: 11.38 kB / 316.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.6698, allocations: 427.8 kB / 316.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.015e-05/0.6699, allocations: 128.2 kB / 316.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.6699, allocations: 20.5 kB / 316.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.6699, allocations: 32 kB / 317 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.6702, allocations: 221.8 kB / 317.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6702, allocations: 0 / 317.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6702, allocations: 15.12 kB / 317.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.6702, allocations: 10.16 kB / 317.2 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.6703, allocations: 95.86 kB / 317.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.671, allocations: 0.6598 MB / 317.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.671, allocations: 60.97 kB / 318 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.671, allocations: 45.61 kB / 318.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.6714, allocations: 461.3 kB / 318.5 MB, free: 5.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.6714, allocations: 42.44 kB / 318.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.6714, allocations: 0 / 318.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0001801/0.6716, allocations: 135.7 kB / 318.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.6716, allocations: 85.05 kB / 318.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/0.6716, allocations: 109.7 kB / 318.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.6716, allocations: 25.7 kB / 318.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.6717, allocations: 163.8 kB / 319 MB, free: 4.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.6717, allocations: 105.7 kB / 319.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.6718, allocations: 35.33 kB / 319.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.874e-05/0.6718, allocations: 325.8 kB / 319.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.6718, allocations: 12 kB / 319.5 MB, free: 4.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.6718, allocations: 62.58 kB / 319.6 MB, free: 4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.064e-05/0.6719, allocations: 108.6 kB / 319.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6719, allocations: 7.938 kB / 319.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001116/0.672, allocations: 114.6 kB / 319.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.672, allocations: 7.938 kB / 319.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.672, allocations: 4 kB / 319.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6721, allocations: 0 / 319.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.6721, allocations: 19.23 kB / 319.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.6721, allocations: 0 / 319.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.6722, allocations: 19.78 kB / 319.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6722, allocations: 4 kB / 319.9 MB, free: 3.719 MB / 266.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 5.319e-05/0.6722, allocations: 117.5 kB / 320 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.6723, allocations: 8.688 kB / 320 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.6723, allocations: 12.97 kB / 320 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6723, allocations: 0 / 320 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6723, allocations: 1.5 kB / 320 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6723, allocations: 4 kB / 320 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.6725, allocations: 128.1 kB / 320.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6725, allocations: 4 kB / 320.1 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.6725, allocations: 4.938 kB / 320.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6725, allocations: 0 / 320.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.6725, allocations: 0 / 320.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6725, allocations: 8.453 kB / 320.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6725, allocations: 0 / 320.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.6726, allocations: 279.9 kB / 320.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.6726, allocations: 13.69 kB / 320.4 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.6726, allocations: 8 kB / 320.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.6727, allocations: 7.922 kB / 320.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.6728, allocations: 4 kB / 320.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.6728, allocations: 0 / 320.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.367e-06/0.6728, allocations: 13.08 kB / 320.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6728, allocations: 0 / 320.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000309/0.6731, allocations: 87.41 kB / 320.5 MB, free: 3.031 MB / 266.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.0002934/0.6734, allocations: 161.1 kB / 320.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.6735, allocations: 181.2 kB / 320.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6735, allocations: 0 / 320.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.6736, allocations: 181.1 kB / 321.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.674, allocations: 87.83 kB / 321.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.6748, allocations: 0.505 MB / 321.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.6749, allocations: 109.2 kB / 321.8 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.037e-05/0.675, allocations: 29.05 kB / 321.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.6751, allocations: 115 kB / 321.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.6751, allocations: 0 / 321.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of Templates: time 0.00775/0.6829, allocations: 4.679 MB / 326.6 MB, free: 13.03 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.738187115173787]