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.001295/0.001295, allocations: 111.4 kB / 16.41 MB, free: 6.023 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.001332/0.001332, allocations: 188.4 kB / 17.34 MB, free: 5.629 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01214/0.01214, allocations: 2.773 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07325, allocations: 50.23 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01803/0.09131, allocations: 19.13 MB / 476 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.09646, allocations: 6.076 MB / 482 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.09657, allocations: 0 / 482 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.09715, allocations: 250.5 kB / 482.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.09936, allocations: 1.218 MB / 483.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.09965, allocations: 83.36 kB / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.09997, allocations: 305.8 kB / 483.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.1, allocations: 20.73 kB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.1001, allocations: 91.59 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1003, allocations: 119.4 kB / 484.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1003, allocations: 8 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4387/0.539, allocations: 38.45 MB / 0.5103 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.5391, allocations: 33.08 kB / 0.5104 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.5392, allocations: 127.5 kB / 0.5105 GB, free: 35.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.5409, allocations: 0.5078 MB / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5409, allocations: 1.562 kB / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5409, allocations: 0 / 0.511 GB, free: 35.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.409e-05/0.541, allocations: 1.219 kB / 0.511 GB, free: 35.36 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.0005984/0.5416, allocations: 0.5753 MB / 0.5115 GB, free: 34.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5417, allocations: 13.48 kB / 0.5115 GB, free: 34.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.5425, allocations: 202.5 kB / 0.5117 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5426, allocations: 187.9 kB / 0.5119 GB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.5427, allocations: 19.84 kB / 0.5119 GB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.5427, allocations: 23.03 kB / 0.512 GB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.5432, allocations: 342.3 kB / 0.5123 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5433, allocations: 2.422 kB / 0.5123 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5433, allocations: 7.625 kB / 0.5123 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5433, allocations: 16.59 kB / 0.5123 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.5436, allocations: 264.1 kB / 0.5126 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.5452, allocations: 2.124 MB / 0.5146 GB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.5453, allocations: 131.4 kB / 0.5148 GB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.5455, allocations: 107.2 kB / 0.5149 GB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.546, allocations: 0.6973 MB / 0.5155 GB, free: 31.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.546, allocations: 35.53 kB / 0.5156 GB, free: 31.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.546, allocations: 1.312 kB / 0.5156 GB, free: 31.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003301/0.5463, allocations: 184.7 kB / 0.5158 GB, free: 31.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.5464, allocations: 78.88 kB / 0.5158 GB, free: 31.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.5464, allocations: 107.6 kB / 0.5159 GB, free: 31.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.5465, allocations: 25.7 kB / 0.516 GB, free: 31.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.5465, allocations: 162.3 kB / 0.5161 GB, free: 31.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.5466, allocations: 109.1 kB / 0.5162 GB, free: 31.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.5466, allocations: 38.67 kB / 0.5163 GB, free: 31.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.5467, allocations: 325.6 kB / 0.5166 GB, free: 31.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.5467, allocations: 35.78 kB / 0.5166 GB, free: 31.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.5468, allocations: 85.83 kB / 0.5167 GB, free: 31.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.547, allocations: 138.4 kB / 0.5168 GB, free: 31.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.547, allocations: 0.5 kB / 0.5168 GB, free: 31.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002452/0.5473, allocations: 171.4 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5473, allocations: 5.75 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5473, allocations: 2.141 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5473, allocations: 4.578 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.5474, allocations: 9.844 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5474, allocations: 6.328 kB / 0.517 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.5475, allocations: 19.97 kB / 0.517 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5475, allocations: 4.594 kB / 0.517 GB, free: 30.95 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.132e-05/0.5476, allocations: 135 kB / 0.5172 GB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.5477, allocations: 9.25 kB / 0.5172 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.5477, allocations: 10.39 kB / 0.5172 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5477, allocations: 1.25 kB / 0.5172 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5477, allocations: 1.625 kB / 0.5172 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5477, allocations: 4.547 kB / 0.5172 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.5481, allocations: 283.3 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5481, allocations: 0.625 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.5481, allocations: 6.984 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5482, allocations: 1 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5482, allocations: 12.98 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5482, allocations: 0.5 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5482, allocations: 0.625 kB / 0.5175 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5494, allocations: 315 kB / 0.5178 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.5495, allocations: 94 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.5495, allocations: 1.891 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.5496, allocations: 0.625 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.5496, allocations: 11.45 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.5497, allocations: 6.094 kB / 0.5179 GB, free: 30.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.5497, allocations: 80.06 kB / 0.518 GB, free: 30.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5497, allocations: 0.5312 kB / 0.518 GB, free: 30.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000493/0.5502, allocations: 91 kB / 0.518 GB, free: 30.18 MB / 382.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.0003022/0.5505, allocations: 185.3 kB / 0.5182 GB, free: 30.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.5508, allocations: 232.9 kB / 0.5184 GB, free: 29.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5508, allocations: 0 / 0.5184 GB, free: 29.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.5509, allocations: 201.2 kB / 0.5186 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.5516, allocations: 82.2 kB / 0.5187 GB, free: 29.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.5524, allocations: 0.5639 MB / 0.5193 GB, free: 29.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5526, allocations: 0.7962 MB / 0.52 GB, free: 28.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.5527, allocations: 22.75 kB / 0.5201 GB, free: 28.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5527, allocations: 0 / 0.5201 GB, free: 28.83 MB / 382.1 MB Notification: Performance of Templates: time 0.006897/0.5596, allocations: 3.69 MB / 0.5237 GB, free: 28.36 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)