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.009072/0.009079, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001995/0.001995, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01305/0.01305, allocations: 2.773 MB / 293.3 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.91 kB / 405.9 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 50.23 MB / 456.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.0226/0.1494, allocations: 19.12 MB / 475.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005674/0.1551, allocations: 6.088 MB / 481.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.1555, allocations: 3.938 kB / 481.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.1564, allocations: 250.5 kB / 481.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.1617, allocations: 1.21 MB / 482.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1622, allocations: 83.36 kB / 482.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.1629, allocations: 301.8 kB / 483.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.163, allocations: 20.75 kB / 483.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1632, allocations: 103.5 kB / 483.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1634, allocations: 107.5 kB / 483.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1635, allocations: 8 kB / 483.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5981/0.7616, allocations: 38.45 MB / 0.5097 GB, free: 35.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.7617, allocations: 30.22 kB / 0.5097 GB, free: 35.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.762, allocations: 135.7 kB / 0.5098 GB, free: 35.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.765, allocations: 0.5106 MB / 0.5103 GB, free: 35.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.765, allocations: 4 kB / 0.5103 GB, free: 35.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.765, allocations: 0 / 0.5103 GB, free: 35.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.765, allocations: 1.094 kB / 0.5103 GB, free: 35.96 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.001158/0.7662, allocations: 0.573 MB / 0.5109 GB, free: 35.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.7663, allocations: 10.31 kB / 0.5109 GB, free: 35.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.7674, allocations: 202.5 kB / 0.5111 GB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7676, allocations: 187.5 kB / 0.5113 GB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.7676, allocations: 16.91 kB / 0.5113 GB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.7677, allocations: 25.97 kB / 0.5113 GB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.7684, allocations: 348.9 kB / 0.5116 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.7684, allocations: 0 / 0.5116 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.7685, allocations: 12.78 kB / 0.5116 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.7685, allocations: 9.297 kB / 0.5117 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.769, allocations: 257.8 kB / 0.5119 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.7711, allocations: 2.123 MB / 0.514 GB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.7714, allocations: 136.7 kB / 0.5141 GB, free: 33.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.7715, allocations: 110.8 kB / 0.5142 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.7722, allocations: 0.6919 MB / 0.5149 GB, free: 32.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.7723, allocations: 33.12 kB / 0.5149 GB, free: 32.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.7723, allocations: 4 kB / 0.5149 GB, free: 32.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005138/0.7728, allocations: 187.3 kB / 0.5151 GB, free: 32.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.7729, allocations: 82.83 kB / 0.5152 GB, free: 32.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.7729, allocations: 102.7 kB / 0.5153 GB, free: 32.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.773, allocations: 25.7 kB / 0.5153 GB, free: 32.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.7731, allocations: 164.5 kB / 0.5155 GB, free: 32.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.7732, allocations: 105.9 kB / 0.5156 GB, free: 32.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.7732, allocations: 41.08 kB / 0.5156 GB, free: 32.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.7733, allocations: 328.7 kB / 0.5159 GB, free: 31.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.7734, allocations: 35.7 kB / 0.5159 GB, free: 31.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.7735, allocations: 82.61 kB / 0.516 GB, free: 31.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.7738, allocations: 144.5 kB / 0.5162 GB, free: 31.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7738, allocations: 0.5312 kB / 0.5162 GB, free: 31.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003262/0.7741, allocations: 162.7 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.7742, allocations: 5.812 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7742, allocations: 1.531 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.7742, allocations: 1.75 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.7743, allocations: 11.2 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7743, allocations: 6.156 kB / 0.5163 GB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.7744, allocations: 16.12 kB / 0.5164 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.7745, allocations: 8.312 kB / 0.5164 GB, free: 31.56 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 0.0001238/0.7746, allocations: 135.2 kB / 0.5165 GB, free: 31.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.7747, allocations: 8.047 kB / 0.5165 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.7747, allocations: 15.8 kB / 0.5165 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.7747, allocations: 1.656 kB / 0.5165 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7747, allocations: 5.156 kB / 0.5165 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7748, allocations: 1.438 kB / 0.5165 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.7752, allocations: 280.8 kB / 0.5168 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7752, allocations: 0.5 kB / 0.5168 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.7753, allocations: 4.031 kB / 0.5168 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.7753, allocations: 0.625 kB / 0.5168 GB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.7753, allocations: 6.625 kB / 0.5168 GB, free: 31.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.7753, allocations: 2.312 kB / 0.5168 GB, free: 31.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7753, allocations: 0.5312 kB / 0.5168 GB, free: 31.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.778, allocations: 323.9 kB / 0.5171 GB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.7781, allocations: 93.92 kB / 0.5172 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.7781, allocations: 2.328 kB / 0.5172 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.7782, allocations: 0 / 0.5172 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.7783, allocations: 9.328 kB / 0.5172 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7783, allocations: 2.562 kB / 0.5172 GB, free: 30.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.751e-05/0.7783, allocations: 78.73 kB / 0.5173 GB, free: 30.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.203e-06/0.7783, allocations: 0 / 0.5173 GB, free: 30.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.779, allocations: 90.81 kB / 0.5174 GB, free: 30.79 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.0005342/0.7795, allocations: 192.7 kB / 0.5176 GB, free: 30.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.7799, allocations: 238.9 kB / 0.5178 GB, free: 30.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7799, allocations: 0 / 0.5178 GB, free: 30.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.7801, allocations: 198 kB / 0.518 GB, free: 30.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007384/0.7809, allocations: 81.7 kB / 0.5181 GB, free: 30.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.7819, allocations: 0.5204 MB / 0.5186 GB, free: 30.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.7823, allocations: 0.7959 MB / 0.5193 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.7825, allocations: 26.05 kB / 0.5194 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.7826, allocations: 23.38 kB / 0.5194 GB, free: 29.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.7826, allocations: 0 / 0.5194 GB, free: 29.45 MB / 382.1 MB Notification: Performance of Templates: time 0.0135/0.7961, allocations: 4.769 MB / 0.524 GB, free: 28.91 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)