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.005515/0.005515, allocations: 99.66 kB / 15.73 MB, free: 6.035 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.001239/0.001239, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1401/0.1401, allocations: 2.76 MB / 293.3 MB, free: 3.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 405.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2802, allocations: 50.24 MB / 456.2 MB, free: 21.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.01598/0.2962, allocations: 19.13 MB / 475.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.3018, allocations: 6.08 MB / 481.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.3021, allocations: 0 / 481.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.3029, allocations: 256.1 kB / 481.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.3068, allocations: 1.202 MB / 482.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.3072, allocations: 92.09 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.3078, allocations: 302.8 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.851e-05/0.3079, allocations: 22.14 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.308, allocations: 95.59 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3082, allocations: 114.9 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3082, allocations: 6.844 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2506/0.5588, allocations: 38.46 MB / 0.5097 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.5589, allocations: 31.78 kB / 0.5097 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.5593, allocations: 131.3 kB / 0.5098 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.562, allocations: 0.5064 MB / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5621, allocations: 0 / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5621, allocations: 0 / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.5621, allocations: 0 / 0.5103 GB, free: 3.82 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.0007562/0.5628, allocations: 0.5617 MB / 0.5109 GB, free: 3.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5629, allocations: 12.03 kB / 0.5109 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.5638, allocations: 208.4 kB / 0.5111 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.564, allocations: 188 kB / 0.5112 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.564, allocations: 16.94 kB / 0.5113 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.564, allocations: 27.94 kB / 0.5113 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.5645, allocations: 333.6 kB / 0.5116 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5645, allocations: 4 kB / 0.5116 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.5646, allocations: 12 kB / 0.5116 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5646, allocations: 15.98 kB / 0.5116 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.5649, allocations: 259.8 kB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.5668, allocations: 2.126 MB / 0.514 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.567, allocations: 125.1 kB / 0.5141 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.5671, allocations: 109.8 kB / 0.5142 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.5677, allocations: 0.6968 MB / 0.5149 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5678, allocations: 34.56 kB / 0.5149 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.5678, allocations: 0 / 0.5149 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003586/0.5682, allocations: 185.6 kB / 0.5151 GB, free: 14.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5682, allocations: 81.17 kB / 0.5152 GB, free: 14.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.5683, allocations: 105.8 kB / 0.5153 GB, free: 14.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.5683, allocations: 29.7 kB / 0.5153 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.5684, allocations: 160 kB / 0.5154 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.5685, allocations: 98.44 kB / 0.5155 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.5686, allocations: 37.7 kB / 0.5156 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5687, allocations: 330.8 kB / 0.5159 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.5688, allocations: 28 kB / 0.5159 GB, free: 13.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.5689, allocations: 96.77 kB / 0.516 GB, free: 13.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5691, allocations: 146.5 kB / 0.5161 GB, free: 13.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5691, allocations: 4 kB / 0.5161 GB, free: 13.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002368/0.5693, allocations: 161.3 kB / 0.5163 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5694, allocations: 4 kB / 0.5163 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5694, allocations: 0 / 0.5163 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5694, allocations: 4 kB / 0.5163 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.5695, allocations: 8 kB / 0.5163 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5695, allocations: 11.88 kB / 0.5163 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.5696, allocations: 19.83 kB / 0.5163 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.5696, allocations: 16.12 kB / 0.5164 GB, free: 12.97 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 0.0002191/0.5698, allocations: 123.4 kB / 0.5165 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.5699, allocations: 11.81 kB / 0.5165 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.5699, allocations: 12.44 kB / 0.5165 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5699, allocations: 3.938 kB / 0.5165 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.57, allocations: 0 / 0.5165 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.57, allocations: 0 / 0.5165 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.5703, allocations: 281.3 kB / 0.5168 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5703, allocations: 0 / 0.5168 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.5704, allocations: 4 kB / 0.5168 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5704, allocations: 4 kB / 0.5168 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5704, allocations: 4 kB / 0.5168 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5704, allocations: 3.984 kB / 0.5168 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5704, allocations: 0 / 0.5168 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.5722, allocations: 319.1 kB / 0.5171 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.5723, allocations: 93.09 kB / 0.5172 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5723, allocations: 0 / 0.5172 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5724, allocations: 4 kB / 0.5172 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.5724, allocations: 7.984 kB / 0.5172 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5724, allocations: 11.92 kB / 0.5172 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.5725, allocations: 83.28 kB / 0.5173 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5725, allocations: 0 / 0.5173 GB, free: 11.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000459/0.573, allocations: 79.69 kB / 0.5174 GB, free: 11.86 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.0004089/0.5734, allocations: 185.1 kB / 0.5175 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.5738, allocations: 232.2 kB / 0.5178 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5738, allocations: 3.938 kB / 0.5178 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.5739, allocations: 197.5 kB / 0.5179 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.5746, allocations: 84.17 kB / 0.518 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.5755, allocations: 0.5038 MB / 0.5185 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.5759, allocations: 0.7995 MB / 0.5193 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.576, allocations: 25.2 kB / 0.5193 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.5761, allocations: 23.44 kB / 0.5193 GB, free: 9.723 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5761, allocations: 0 / 0.5193 GB, free: 9.723 MB / 398.1 MB Notification: Performance of Templates: time 0.00952/0.5856, allocations: 4.773 MB / 0.524 GB, free: 4.969 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)