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.00194/0.00194, allocations: 107.5 kB / 16.41 MB, free: 6.387 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.002213/0.002213, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01244/0.01244, allocations: 2.778 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.89 kB / 406.6 MB, free: 29.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06843/0.0698, allocations: 50.23 MB / 456.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01993/0.08976, allocations: 19.11 MB / 476 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.09488, allocations: 6.088 MB / 482 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.09506, allocations: 0 / 482 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.09563, allocations: 250.5 kB / 482.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.09805, allocations: 1.21 MB / 483.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.09829, allocations: 83.31 kB / 483.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.09865, allocations: 309.8 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.09872, allocations: 20.75 kB / 483.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.09882, allocations: 91.55 kB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.09897, allocations: 115.4 kB / 484.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.099, allocations: 11.94 kB / 484.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4229/0.5219, allocations: 38.44 MB / 0.5103 GB, free: 35.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.5219, allocations: 29.95 kB / 0.5103 GB, free: 35.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.5221, allocations: 131 kB / 0.5105 GB, free: 35.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.5238, allocations: 0.5114 MB / 0.511 GB, free: 35.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5238, allocations: 0.6094 kB / 0.511 GB, free: 35.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5238, allocations: 0 / 0.511 GB, free: 35.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.5238, allocations: 4 kB / 0.511 GB, free: 35.41 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.0005836/0.5244, allocations: 0.5756 MB / 0.5115 GB, free: 34.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.5245, allocations: 9.469 kB / 0.5115 GB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.5253, allocations: 198.8 kB / 0.5117 GB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.84e-05/0.5254, allocations: 188.8 kB / 0.5119 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.5254, allocations: 19.09 kB / 0.5119 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.5254, allocations: 22.88 kB / 0.512 GB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.5259, allocations: 348 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5259, allocations: 0.75 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.526, allocations: 8.406 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.526, allocations: 10.64 kB / 0.5123 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.5263, allocations: 260.8 kB / 0.5126 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5275, allocations: 2.127 MB / 0.5146 GB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5277, allocations: 133.5 kB / 0.5148 GB, free: 32.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.5278, allocations: 112.8 kB / 0.5149 GB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.5284, allocations: 0.6954 MB / 0.5155 GB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.5284, allocations: 33.81 kB / 0.5156 GB, free: 31.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.5284, allocations: 0 / 0.5156 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003432/0.5288, allocations: 188.5 kB / 0.5158 GB, free: 31.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.5288, allocations: 85.25 kB / 0.5158 GB, free: 31.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.5289, allocations: 103.3 kB / 0.5159 GB, free: 31.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-06/0.5289, allocations: 27.14 kB / 0.516 GB, free: 31.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.5289, allocations: 160.7 kB / 0.5161 GB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.529, allocations: 109.6 kB / 0.5162 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.5291, allocations: 38.02 kB / 0.5163 GB, free: 31.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.5291, allocations: 327.6 kB / 0.5166 GB, free: 31.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.5292, allocations: 36.77 kB / 0.5166 GB, free: 31.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.5293, allocations: 81.95 kB / 0.5167 GB, free: 31.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.5294, allocations: 142.7 kB / 0.5168 GB, free: 31.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5295, allocations: 1.625 kB / 0.5168 GB, free: 31.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002586/0.5297, allocations: 160.7 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5297, allocations: 13.88 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5298, allocations: 1.156 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5298, allocations: 5.562 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.5299, allocations: 13.16 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5299, allocations: 5.594 kB / 0.517 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.5299, allocations: 25.3 kB / 0.517 GB, free: 31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.53, allocations: 4.438 kB / 0.517 GB, free: 31 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.946e-05/0.5301, allocations: 130.8 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.5301, allocations: 7.891 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.5302, allocations: 13.56 kB / 0.5172 GB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5302, allocations: 1.125 kB / 0.5172 GB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5302, allocations: 0.5312 kB / 0.5172 GB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.5302, allocations: 94.03 kB / 0.5173 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5302, allocations: 1.281 kB / 0.5173 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5303, allocations: 8.781 kB / 0.5173 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.5304, allocations: 4.438 kB / 0.5173 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00024/0.5306, allocations: 290.9 kB / 0.5176 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001256/0.5319, allocations: 393.5 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.542e-05/0.532, allocations: 66.83 kB / 0.518 GB, free: 30.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.532, allocations: 79.42 kB / 0.5181 GB, free: 30.2 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.532, allocations: 2.031 kB / 0.5181 GB, free: 30.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.5331, allocations: 0.5204 MB / 0.5186 GB, free: 29.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007709/0.5339, allocations: 1.094 MB / 0.5197 GB, free: 29.12 MB / 382.1 MB Notification: Performance of Templates: time 0.0115/0.5454, allocations: 7.105 MB / 0.5266 GB, free: 27.44 MB / 382.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)