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.004227/0.004227, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001035/0.001035, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1193/0.1193, allocations: 2.766 MB / 293.3 MB, free: 3.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 405.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2428, allocations: 50.23 MB / 456.1 MB, free: 21.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.01834/0.2612, allocations: 19.13 MB / 475.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.2666, allocations: 6.083 MB / 481.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.2669, allocations: 1.594 kB / 481.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.2676, allocations: 250.7 kB / 481.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.2711, allocations: 1.211 MB / 482.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.2715, allocations: 82.88 kB / 482.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.2718, allocations: 304 kB / 483.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.665e-05/0.2719, allocations: 29.72 kB / 483.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.272, allocations: 95.3 kB / 483.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2721, allocations: 115.1 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.2722, allocations: 7.812 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2466/0.5188, allocations: 38.45 MB / 0.5097 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5189, allocations: 31.73 kB / 0.5097 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.5194, allocations: 127.4 kB / 0.5098 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.523, allocations: 0.5064 MB / 0.5103 GB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5231, allocations: 0 / 0.5103 GB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5231, allocations: 0 / 0.5103 GB, free: 3.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5231, allocations: 0 / 0.5103 GB, free: 3.621 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.0006655/0.5237, allocations: 0.5655 MB / 0.5109 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5238, allocations: 8.031 kB / 0.5109 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.5246, allocations: 204.4 kB / 0.5111 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.5247, allocations: 188.1 kB / 0.5112 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5247, allocations: 16.94 kB / 0.5113 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.5248, allocations: 27.94 kB / 0.5113 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5253, allocations: 337.6 kB / 0.5116 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5253, allocations: 0 / 0.5116 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.5253, allocations: 12 kB / 0.5116 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5253, allocations: 11.98 kB / 0.5116 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.5256, allocations: 259.9 kB / 0.5119 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.5274, allocations: 2.13 MB / 0.514 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.5276, allocations: 133.1 kB / 0.5141 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.5278, allocations: 105.8 kB / 0.5142 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/0.5284, allocations: 0.7007 MB / 0.5149 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5285, allocations: 38.5 kB / 0.5149 GB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.5285, allocations: 0 / 0.5149 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003653/0.5288, allocations: 189.5 kB / 0.5151 GB, free: 14.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5289, allocations: 77.11 kB / 0.5152 GB, free: 14.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.529, allocations: 105.8 kB / 0.5153 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.529, allocations: 25.7 kB / 0.5153 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.5291, allocations: 164.1 kB / 0.5154 GB, free: 13.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.5292, allocations: 102.4 kB / 0.5155 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.5292, allocations: 37.7 kB / 0.5156 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5294, allocations: 326.8 kB / 0.5159 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.5294, allocations: 28 kB / 0.5159 GB, free: 13.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.5295, allocations: 88.84 kB / 0.516 GB, free: 13.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.5297, allocations: 154.4 kB / 0.5161 GB, free: 13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5297, allocations: 0 / 0.5161 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002315/0.5299, allocations: 161.3 kB / 0.5163 GB, free: 12.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.53, allocations: 8.188 kB / 0.5163 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.53, allocations: 4 kB / 0.5163 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.53, allocations: 0 / 0.5163 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.5301, allocations: 11.98 kB / 0.5163 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5301, allocations: 4 kB / 0.5163 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.5301, allocations: 11.84 kB / 0.5163 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5302, allocations: 11.94 kB / 0.5163 GB, free: 12.78 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.0001044/0.5303, allocations: 131.3 kB / 0.5165 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.5303, allocations: 15.75 kB / 0.5165 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.5304, allocations: 16.44 kB / 0.5165 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5304, allocations: 0 / 0.5165 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5304, allocations: 0 / 0.5165 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5304, allocations: 0 / 0.5165 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.5307, allocations: 281.3 kB / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5307, allocations: 0 / 0.5168 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.5307, allocations: 7.984 kB / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5307, allocations: 0 / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5308, allocations: 4 kB / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5308, allocations: 0 / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.5308, allocations: 0 / 0.5168 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.5324, allocations: 315.2 kB / 0.5171 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.5325, allocations: 92.86 kB / 0.5172 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.5325, allocations: 7.938 kB / 0.5172 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5326, allocations: 0 / 0.5172 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5326, allocations: 7.984 kB / 0.5172 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.5327, allocations: 7.938 kB / 0.5172 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.5327, allocations: 87.45 kB / 0.5173 GB, free: 11.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5327, allocations: 0 / 0.5173 GB, free: 11.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004804/0.5332, allocations: 83.69 kB / 0.5174 GB, free: 11.65 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.0003664/0.5336, allocations: 181.3 kB / 0.5175 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.5339, allocations: 232 kB / 0.5177 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5339, allocations: 384 / 0.5178 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.5341, allocations: 201.4 kB / 0.5179 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.5347, allocations: 87.95 kB / 0.518 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.5355, allocations: 0.5154 MB / 0.5185 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.5358, allocations: 0.7917 MB / 0.5193 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.212e-05/0.5359, allocations: 29.19 kB / 0.5193 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.536, allocations: 23.44 kB / 0.5194 GB, free: 9.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.536, allocations: 0 / 0.5194 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Templates: time 0.009964/0.5459, allocations: 4.774 MB / 0.524 GB, free: 4.758 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)