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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004896/0.004896, allocations: 101.9 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 194.5 kB / 16.67 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1236/0.1236, allocations: 2.749 MB / 293.3 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.84 kB / 405.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2095, allocations: 50.22 MB / 456.1 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01256/0.2221, allocations: 19.13 MB / 475.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.2258, allocations: 6.084 MB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.2259, allocations: 1.188 kB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.2265, allocations: 254.1 kB / 481.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.2286, allocations: 1.203 MB / 482.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.2288, allocations: 88.2 kB / 482.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.2291, allocations: 306.3 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.149e-05/0.2292, allocations: 28.16 kB / 483.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.2292, allocations: 102 kB / 483.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2294, allocations: 107.1 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2294, allocations: 6.688 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2398/0.4692, allocations: 38.45 MB / 0.5097 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.4693, allocations: 31.78 kB / 0.5097 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.4696, allocations: 131.3 kB / 0.5098 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.4716, allocations: 0.51 MB / 0.5103 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4716, allocations: 0 / 0.5103 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4716, allocations: 0 / 0.5103 GB, free: 3.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4716, allocations: 3.938 kB / 0.5103 GB, free: 3.637 MB / 382.1 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.0005777/0.4722, allocations: 0.5686 MB / 0.5109 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.4723, allocations: 8.031 kB / 0.5109 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007773/0.473, allocations: 212.5 kB / 0.5111 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4732, allocations: 192.1 kB / 0.5113 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4732, allocations: 16.94 kB / 0.5113 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.4732, allocations: 27.94 kB / 0.5113 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.4737, allocations: 337.6 kB / 0.5116 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4737, allocations: 0 / 0.5116 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4737, allocations: 12 kB / 0.5116 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4737, allocations: 4 kB / 0.5116 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.474, allocations: 267.8 kB / 0.5119 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4756, allocations: 2.127 MB / 0.514 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.4757, allocations: 133.1 kB / 0.5141 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4759, allocations: 110.1 kB / 0.5142 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/0.4764, allocations: 0.6886 MB / 0.5149 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4765, allocations: 42.56 kB / 0.5149 GB, free: 14.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.252e-06/0.4765, allocations: 0 / 0.5149 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003266/0.4768, allocations: 185.5 kB / 0.5151 GB, free: 14.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.4768, allocations: 77.11 kB / 0.5152 GB, free: 14.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.4769, allocations: 105.8 kB / 0.5153 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4769, allocations: 25.7 kB / 0.5153 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.477, allocations: 160.5 kB / 0.5155 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.4771, allocations: 115.1 kB / 0.5156 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4772, allocations: 37.64 kB / 0.5156 GB, free: 13.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.4773, allocations: 326.8 kB / 0.5159 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.4773, allocations: 35.98 kB / 0.5159 GB, free: 13.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.4774, allocations: 84.86 kB / 0.516 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4776, allocations: 150.5 kB / 0.5162 GB, free: 13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4776, allocations: 0 / 0.5162 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000213/0.4778, allocations: 157.4 kB / 0.5163 GB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4778, allocations: 8 kB / 0.5163 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4778, allocations: 4.188 kB / 0.5163 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4778, allocations: 4 kB / 0.5163 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.4779, allocations: 15.92 kB / 0.5163 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4779, allocations: 0 / 0.5163 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.478, allocations: 15.84 kB / 0.5164 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.478, allocations: 11.94 kB / 0.5164 GB, free: 12.78 MB / 398.1 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.687e-05/0.4781, allocations: 127.4 kB / 0.5165 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.4782, allocations: 11.89 kB / 0.5165 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.4782, allocations: 8.438 kB / 0.5165 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4782, allocations: 8 kB / 0.5165 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4782, allocations: 3.938 kB / 0.5165 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.4782, allocations: 3.984 kB / 0.5165 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.4789, allocations: 277.4 kB / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4789, allocations: 3.984 kB / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.4789, allocations: 4 kB / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4789, allocations: 0 / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.479, allocations: 4 kB / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.479, allocations: 7.938 kB / 0.5168 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.479, allocations: 0 / 0.5168 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4802, allocations: 315.2 kB / 0.5171 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.4802, allocations: 92.95 kB / 0.5172 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4802, allocations: 0 / 0.5172 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4803, allocations: 7.984 kB / 0.5172 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.4804, allocations: 4.234 kB / 0.5172 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4804, allocations: 7.938 kB / 0.5172 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.4804, allocations: 83.27 kB / 0.5173 GB, free: 11.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4804, allocations: 4 kB / 0.5173 GB, free: 11.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.4808, allocations: 87.72 kB / 0.5174 GB, free: 11.65 MB / 398.1 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.0003019/0.4811, allocations: 189 kB / 0.5176 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.4814, allocations: 227.9 kB / 0.5178 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4814, allocations: 0 / 0.5178 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.4816, allocations: 209.8 kB / 0.518 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.4822, allocations: 76.03 kB / 0.5181 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4829, allocations: 0.5265 MB / 0.5186 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4832, allocations: 0.7995 MB / 0.5194 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.4834, allocations: 25.19 kB / 0.5194 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.4834, allocations: 23.44 kB / 0.5194 GB, free: 9.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4834, allocations: 0 / 0.5194 GB, free: 9.492 MB / 398.1 MB Notification: Performance of Templates: time 0.008429/0.4918, allocations: 4.764 MB / 0.5241 GB, free: 4.75 MB / 398.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1)