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.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.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 115.1 kB / 16.42 MB, free: 6.473 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.0009771/0.0009771, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01127/0.01127, allocations: 2.782 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07071/0.0719, allocations: 50.23 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.0166/0.08853, allocations: 19.12 MB / 476 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.09337, allocations: 6.08 MB / 482 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.09354, allocations: 0 / 482 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.09409, allocations: 254.5 kB / 482.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.09647, allocations: 1.21 MB / 483.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.09671, allocations: 83.36 kB / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.09705, allocations: 309.8 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.09712, allocations: 24.73 kB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.09723, allocations: 91.55 kB / 484 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.09737, allocations: 115.4 kB / 484.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.09739, allocations: 8 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4197/0.5171, allocations: 38.45 MB / 0.5103 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.5172, allocations: 30.34 kB / 0.5103 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.5174, allocations: 131.1 kB / 0.5105 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5191, allocations: 0.5099 MB / 0.511 GB, free: 35.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5191, allocations: 0 / 0.511 GB, free: 35.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5191, allocations: 0 / 0.511 GB, free: 35.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.5191, allocations: 1.219 kB / 0.511 GB, free: 35.38 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.00057/0.5197, allocations: 0.5591 MB / 0.5115 GB, free: 34.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.5197, allocations: 9.25 kB / 0.5115 GB, free: 34.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007966/0.5205, allocations: 201.7 kB / 0.5117 GB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.5206, allocations: 189.5 kB / 0.5119 GB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.5207, allocations: 23.17 kB / 0.5119 GB, free: 34.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.5207, allocations: 26.75 kB / 0.5119 GB, free: 34.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.5212, allocations: 341.1 kB / 0.5123 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5212, allocations: 0 / 0.5123 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.5212, allocations: 11.08 kB / 0.5123 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5212, allocations: 11.28 kB / 0.5123 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.5216, allocations: 260.4 kB / 0.5125 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.5228, allocations: 2.125 MB / 0.5146 GB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.5229, allocations: 135.1 kB / 0.5147 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.5231, allocations: 107.8 kB / 0.5149 GB, free: 32.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.5235, allocations: 0.6935 MB / 0.5155 GB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5236, allocations: 37.28 kB / 0.5156 GB, free: 32.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.5236, allocations: 0 / 0.5156 GB, free: 32.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003224/0.5239, allocations: 190.2 kB / 0.5157 GB, free: 31.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.5239, allocations: 81.38 kB / 0.5158 GB, free: 31.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.524, allocations: 102.3 kB / 0.5159 GB, free: 31.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.524, allocations: 26.8 kB / 0.5159 GB, free: 31.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.5241, allocations: 157.4 kB / 0.5161 GB, free: 31.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.5241, allocations: 105.6 kB / 0.5162 GB, free: 31.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.5242, allocations: 40.27 kB / 0.5162 GB, free: 31.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.5243, allocations: 328.6 kB / 0.5165 GB, free: 31.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.5243, allocations: 31.69 kB / 0.5166 GB, free: 31.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.5244, allocations: 84.34 kB / 0.5167 GB, free: 31.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5246, allocations: 143.2 kB / 0.5168 GB, free: 31.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5246, allocations: 1.25 kB / 0.5168 GB, free: 31.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002549/0.5248, allocations: 163.5 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5249, allocations: 5.438 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5249, allocations: 1.844 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5249, allocations: 6.641 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.525, allocations: 10.27 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.525, allocations: 5.812 kB / 0.517 GB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.5251, allocations: 16.8 kB / 0.517 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.5251, allocations: 8.5 kB / 0.517 GB, free: 31.04 MB / 382.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 8.624e-05/0.5252, allocations: 131.2 kB / 0.5171 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.5252, allocations: 14.53 kB / 0.5171 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.5253, allocations: 10.86 kB / 0.5172 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5253, allocations: 1.656 kB / 0.5172 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5253, allocations: 4.5 kB / 0.5172 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.5253, allocations: 89.77 kB / 0.5172 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5254, allocations: 1.766 kB / 0.5172 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5255, allocations: 4.938 kB / 0.5173 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.5255, allocations: 3.891 kB / 0.5173 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002284/0.5257, allocations: 290 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001167/0.5269, allocations: 402.3 kB / 0.5179 GB, free: 30.31 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.357e-05/0.527, allocations: 62.84 kB / 0.518 GB, free: 30.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.527, allocations: 84.38 kB / 0.5181 GB, free: 30.23 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.5271, allocations: 0 / 0.5181 GB, free: 30.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.5282, allocations: 0.5097 MB / 0.5186 GB, free: 30.03 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007973/0.529, allocations: 1.087 MB / 0.5196 GB, free: 29.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01176/0.5408, allocations: 7.116 MB / 0.5266 GB, free: 27.5 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1)