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.001185/0.001185, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 189.3 kB / 16.66 MB, free: 6.582 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.261/1.261, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1093/0.1093, allocations: 2.755 MB / 293.3 MB, free: 3.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.91 kB / 405.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2111, allocations: 50.23 MB / 456.1 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01251/0.2236, allocations: 19.12 MB / 475.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.2273, allocations: 6.091 MB / 481.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2275, allocations: 1.375 kB / 481.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.2281, allocations: 246.5 kB / 481.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.2302, allocations: 1.211 MB / 482.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.2305, allocations: 88.72 kB / 482.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2308, allocations: 305.7 kB / 483.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2308, allocations: 20.23 kB / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.046e-05/0.2309, allocations: 94.02 kB / 483.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.231, allocations: 115.3 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2311, allocations: 11.16 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.245/0.4761, allocations: 38.44 MB / 0.5096 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.4761, allocations: 23.86 kB / 0.5097 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.4764, allocations: 139.3 kB / 0.5098 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.4784, allocations: 0.506 MB / 0.5103 GB, free: 3.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4784, allocations: 4 kB / 0.5103 GB, free: 3.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4784, allocations: 0 / 0.5103 GB, free: 3.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4784, allocations: 4 kB / 0.5103 GB, free: 3.676 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.000575/0.479, allocations: 0.5687 MB / 0.5109 GB, free: 3.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4791, allocations: 11.97 kB / 0.5109 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007611/0.4798, allocations: 208.5 kB / 0.5111 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.4799, allocations: 188.1 kB / 0.5112 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.4802, allocations: 24.92 kB / 0.5113 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.4802, allocations: 27.94 kB / 0.5113 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.4807, allocations: 341.6 kB / 0.5116 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4807, allocations: 0 / 0.5116 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.4807, allocations: 8 kB / 0.5116 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4807, allocations: 11.98 kB / 0.5116 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.481, allocations: 263.9 kB / 0.5119 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.4824, allocations: 2.115 MB / 0.514 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.4826, allocations: 133.1 kB / 0.5141 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4827, allocations: 114.1 kB / 0.5142 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/0.4833, allocations: 0.6886 MB / 0.5149 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4833, allocations: 46.55 kB / 0.5149 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.4833, allocations: 4 kB / 0.5149 GB, free: 14.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003216/0.4836, allocations: 185.9 kB / 0.5151 GB, free: 14.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4837, allocations: 85.03 kB / 0.5152 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.4838, allocations: 105.8 kB / 0.5153 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4838, allocations: 25.7 kB / 0.5153 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.4838, allocations: 160.5 kB / 0.5154 GB, free: 13.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.4839, allocations: 111 kB / 0.5156 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.484, allocations: 33.7 kB / 0.5156 GB, free: 13.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.4841, allocations: 330.8 kB / 0.5159 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.4841, allocations: 31.98 kB / 0.5159 GB, free: 13.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.4842, allocations: 92.84 kB / 0.516 GB, free: 13.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4844, allocations: 141.7 kB / 0.5162 GB, free: 13.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4844, allocations: 0 / 0.5162 GB, free: 13.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002129/0.4846, allocations: 165.8 kB / 0.5163 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4846, allocations: 4 kB / 0.5163 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4847, allocations: 4 kB / 0.5163 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4847, allocations: 0 / 0.5163 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.4847, allocations: 20.12 kB / 0.5163 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4848, allocations: 0 / 0.5163 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.4848, allocations: 15.84 kB / 0.5164 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4848, allocations: 7.938 kB / 0.5164 GB, free: 12.81 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 9.499e-05/0.4849, allocations: 127.4 kB / 0.5165 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.485, allocations: 19.88 kB / 0.5165 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.485, allocations: 12.38 kB / 0.5165 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.485, allocations: 0 / 0.5165 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.485, allocations: 0 / 0.5165 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4851, allocations: 8 kB / 0.5165 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.4854, allocations: 273.4 kB / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4854, allocations: 7.938 kB / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.4854, allocations: 0 / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4854, allocations: 4 kB / 0.5168 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4854, allocations: 4 kB / 0.5168 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4854, allocations: 0 / 0.5168 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4854, allocations: 0 / 0.5168 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4866, allocations: 319.2 kB / 0.5171 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.4866, allocations: 92.95 kB / 0.5172 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4867, allocations: 4 kB / 0.5172 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.4868, allocations: 4 kB / 0.5172 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.4868, allocations: 4 kB / 0.5172 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4868, allocations: 11.88 kB / 0.5172 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.4868, allocations: 83.27 kB / 0.5173 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4869, allocations: 0 / 0.5173 GB, free: 11.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.4872, allocations: 87.72 kB / 0.5174 GB, free: 11.68 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.0002999/0.4875, allocations: 189.5 kB / 0.5176 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4878, allocations: 228 kB / 0.5178 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4878, allocations: 0 / 0.5178 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.488, allocations: 205.8 kB / 0.518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.4886, allocations: 78.05 kB / 0.518 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.4893, allocations: 0.5187 MB / 0.5186 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4896, allocations: 0.7995 MB / 0.5193 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.4897, allocations: 25.17 kB / 0.5194 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4897, allocations: 23.44 kB / 0.5194 GB, free: 9.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4897, allocations: 4 kB / 0.5194 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Templates: time 0.008714/0.4985, allocations: 4.769 MB / 0.524 GB, free: 4.781 MB / 398.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)