Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001099/0.001099, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 189.9 kB / 16.14 MB, free: 6.703 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.353/1.353, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.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.001099/0.001098, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2143, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3409/0.5552, allocations: 141.8 MB / 466.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.5573, allocations: 1.714 MB / 468.2 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.5575, allocations: 6.125 kB / 468.3 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.5582, allocations: 153.7 kB / 468.4 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.5589, allocations: 318.9 kB / 468.7 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.56, allocations: 390 kB / 469.1 MB, free: 1.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.561, allocations: 1.307 MB / 470.4 MB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.5612, allocations: 75.95 kB / 470.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.5617, allocations: 354.8 kB / 470.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.5621, allocations: 346.4 kB / 471.2 MB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.5622, allocations: 15.12 kB / 471.2 MB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.5625, allocations: 153 kB / 471.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.5626, allocations: 73.98 kB / 471.4 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5628, allocations: 179.7 kB / 471.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.5632, allocations: 481.7 kB / 472 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5632, allocations: 5.312 kB / 472.1 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.5632, allocations: 0 / 472.1 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.5632, allocations: 0 / 472.1 MB, free: 0.9688 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008288/0.564, allocations: 0.5911 MB / 472.6 MB, free: 16.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5641, allocations: 13.28 kB / 472.7 MB, free: 16.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.5644, allocations: 42.38 kB / 472.7 MB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.5647, allocations: 280 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.5647, allocations: 25.75 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.5647, allocations: 24.06 kB / 473 MB, free: 16.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.5652, allocations: 301.7 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5652, allocations: 2.469 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.5652, allocations: 9.562 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5652, allocations: 5.938 kB / 473.3 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.5655, allocations: 210.6 kB / 473.5 MB, free: 16.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.567, allocations: 1.294 MB / 474.8 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.5674, allocations: 186.8 kB / 475 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.5675, allocations: 88.8 kB / 475.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.5677, allocations: 176.2 kB / 475.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.5677, allocations: 36.5 kB / 475.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.5677, allocations: 0 / 475.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0023/0.57, allocations: 1.04 MB / 476.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.5701, allocations: 53.34 kB / 476.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.5703, allocations: 257 kB / 476.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.5703, allocations: 29.52 kB / 476.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.5704, allocations: 174.8 kB / 476.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.5705, allocations: 94.55 kB / 476.9 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.5706, allocations: 72.11 kB / 477 MB, free: 14.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5707, allocations: 335.7 kB / 477.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5708, allocations: 84.59 kB / 477.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.571, allocations: 182.7 kB / 477.6 MB, free: 13.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.5713, allocations: 288.5 kB / 477.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5713, allocations: 3.5 kB / 477.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005294/0.5719, allocations: 443.2 kB / 478.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5719, allocations: 4.844 kB / 478.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5719, allocations: 2.219 kB / 478.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.572, allocations: 42.44 kB / 478.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.5724, allocations: 84 kB / 478.5 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.574, allocations: 2.554 MB / 481 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.5743, allocations: 28.28 kB / 481 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.5743, allocations: 10.56 kB / 481 MB, free: 10.88 MB / 398.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.0001499/0.5744, allocations: 158 kB / 481.2 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.5745, allocations: 29.14 kB / 481.2 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.575, allocations: 365.4 kB / 481.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.575, allocations: 6.234 kB / 481.6 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.575, allocations: 0 / 481.6 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004713/0.5755, allocations: 0.6113 MB / 482.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.5764, allocations: 0.7622 MB / 483 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5764, allocations: 0 / 483 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.5767, allocations: 63.31 kB / 483 MB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.5768, allocations: 15.48 kB / 483 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5768, allocations: 11.47 kB / 483 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007643/0.5776, allocations: 1.281 MB / 484.3 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5776, allocations: 2.719 kB / 484.3 MB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005724/0.5782, allocations: 0.5207 MB / 484.9 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.5782, allocations: 100.7 kB / 485 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.5783, allocations: 6.312 kB / 485 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.5786, allocations: 17.39 kB / 485 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5786, allocations: 18.64 kB / 485 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.5786, allocations: 18.55 kB / 485 MB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.5788, allocations: 184.2 kB / 485.2 MB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5788, allocations: 1.094 kB / 485.2 MB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.5793, allocations: 106.7 kB / 485.3 MB, free: 7.871 MB / 398.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.0003136/0.5796, allocations: 140.3 kB / 485.4 MB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.5802, allocations: 442.5 kB / 485.9 MB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5803, allocations: 3.953 kB / 485.9 MB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.5805, allocations: 223.9 kB / 486.1 MB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.5815, allocations: 165.1 kB / 486.3 MB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.5827, allocations: 0.7671 MB / 487 MB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.5831, allocations: 0.7652 MB / 487.8 MB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.5834, allocations: 62.69 kB / 487.8 MB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.5835, allocations: 26.62 kB / 487.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5835, allocations: 0 / 487.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of Templates: time 0.0115/0.595, allocations: 5.906 MB / 493.8 MB, free: 5.77 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)