Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.8 kB / 17.06 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.00129/0.00129, allocations: 191 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 56.14 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08978, allocations: 46.62 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3404/0.4302, allocations: 144 MB / 0.5064 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.4325, allocations: 1.728 MB / 0.5081 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.4326, allocations: 4 kB / 0.5081 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.4332, allocations: 182.8 kB / 0.5083 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.4337, allocations: 322.2 kB / 0.5086 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.4346, allocations: 427.5 kB / 0.509 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007437/0.4354, allocations: 0.8407 MB / 0.5098 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.4356, allocations: 96.67 kB / 0.5099 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.4361, allocations: 398.6 kB / 0.5103 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.4365, allocations: 330.9 kB / 0.5106 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.4366, allocations: 28 kB / 0.5106 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.4369, allocations: 139.7 kB / 0.5107 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.437, allocations: 91.72 kB / 0.5108 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.4372, allocations: 191.3 kB / 0.511 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.4376, allocations: 483.8 kB / 0.5115 GB, free: 10.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4376, allocations: 11.92 kB / 0.5115 GB, free: 10.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4376, allocations: 0 / 0.5115 GB, free: 10.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.4377, allocations: 1.5 kB / 0.5115 GB, free: 10.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007151/0.4384, allocations: 0.5855 MB / 0.5121 GB, free: 9.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.4384, allocations: 12.03 kB / 0.5121 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.4387, allocations: 48.48 kB / 0.5121 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.4391, allocations: 295.7 kB / 0.5124 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4392, allocations: 16.94 kB / 0.5124 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.4392, allocations: 24.38 kB / 0.5124 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.4397, allocations: 305.7 kB / 0.5127 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4397, allocations: 0 / 0.5127 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.4397, allocations: 16 kB / 0.5127 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4397, allocations: 4 kB / 0.5127 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.4401, allocations: 210.1 kB / 0.5129 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.4417, allocations: 1.289 MB / 0.5142 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.442, allocations: 190.6 kB / 0.5144 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4422, allocations: 92.77 kB / 0.5145 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.4423, allocations: 174.2 kB / 0.5146 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.4424, allocations: 30.56 kB / 0.5147 GB, free: 6.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.4424, allocations: 4 kB / 0.5147 GB, free: 6.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002371/0.4448, allocations: 1.034 MB / 0.5157 GB, free: 5.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4448, allocations: 51.41 kB / 0.5157 GB, free: 5.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.4451, allocations: 266.5 kB / 0.516 GB, free: 5.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.4451, allocations: 33.7 kB / 0.516 GB, free: 5.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4453, allocations: 176.2 kB / 0.5162 GB, free: 4.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.4453, allocations: 90.66 kB / 0.5163 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.4454, allocations: 61.7 kB / 0.5163 GB, free: 4.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4456, allocations: 346.7 kB / 0.5167 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4457, allocations: 79.97 kB / 0.5167 GB, free: 4.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.4459, allocations: 179.7 kB / 0.5169 GB, free: 4.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4463, allocations: 283.8 kB / 0.5172 GB, free: 3.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4463, allocations: 4 kB / 0.5172 GB, free: 3.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006056/0.4469, allocations: 443.8 kB / 0.5176 GB, free: 3.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4469, allocations: 4 kB / 0.5176 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4469, allocations: 4 kB / 0.5176 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.4471, allocations: 46.11 kB / 0.5177 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.4474, allocations: 75.89 kB / 0.5177 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.4493, allocations: 2.772 MB / 0.5204 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.4495, allocations: 8 kB / 0.5204 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.4495, allocations: 16 kB / 0.5205 GB, free: 64 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.4497, allocations: 153.7 kB / 0.5206 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.4498, allocations: 31.8 kB / 0.5206 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.4503, allocations: 354.7 kB / 0.521 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4503, allocations: 4 kB / 0.521 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4503, allocations: 0 / 0.521 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005235/0.4509, allocations: 0.6229 MB / 0.5216 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.4518, allocations: 0.7631 MB / 0.5223 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4518, allocations: 0 / 0.5223 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.4521, allocations: 55.89 kB / 0.5224 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.4522, allocations: 24.84 kB / 0.5224 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.4522, allocations: 4 kB / 0.5224 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008186/0.4531, allocations: 1.386 MB / 0.5238 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4531, allocations: 4.062 kB / 0.5238 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.4537, allocations: 0.5069 MB / 0.5243 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.4538, allocations: 96.86 kB / 0.5244 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.992e-05/0.4538, allocations: 11.94 kB / 0.5244 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.454, allocations: 12.05 kB / 0.5244 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4541, allocations: 19.98 kB / 0.5244 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4541, allocations: 15.92 kB / 0.5244 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4543, allocations: 186 kB / 0.5246 GB, free: 11.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.4543, allocations: 0 / 0.5246 GB, free: 11.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.4548, allocations: 111.9 kB / 0.5247 GB, free: 11.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.455, allocations: 143.1 kB / 0.5248 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.4557, allocations: 449 kB / 0.5253 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4557, allocations: 0 / 0.5253 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.456, allocations: 215.4 kB / 0.5255 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.457, allocations: 170.9 kB / 0.5256 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4585, allocations: 0.6763 MB / 0.5263 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.459, allocations: 0.7606 MB / 0.527 GB, free: 8.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.4593, allocations: 58.88 kB / 0.5271 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.4594, allocations: 27.44 kB / 0.5271 GB, free: 8.723 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4594, allocations: 4 kB / 0.5271 GB, free: 8.719 MB / 462.1 MB Notification: Performance of Templates: time 0.01106/0.4705, allocations: 6.218 MB / 0.5332 GB, free: 2.496 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)