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.00121/0.00121, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001348/0.001348, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.328/1.328, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001133/0.001133, allocations: 48.39 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.196, allocations: 46.64 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3685/0.5645, allocations: 142 MB / 466.9 MB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.5666, allocations: 1.721 MB / 468.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.5669, allocations: 2.969 kB / 468.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.5677, allocations: 153.5 kB / 468.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.5683, allocations: 305.8 kB / 469 MB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.5693, allocations: 387.3 kB / 469.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.5701, allocations: 0.855 MB / 470.3 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.5703, allocations: 107.1 kB / 470.4 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.5708, allocations: 397 kB / 470.8 MB, free: 1.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.5712, allocations: 347.4 kB / 471.1 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.5712, allocations: 32.47 kB / 471.1 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.5715, allocations: 130.8 kB / 471.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.5716, allocations: 101.1 kB / 471.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.5717, allocations: 186.4 kB / 471.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.5721, allocations: 498.9 kB / 472 MB, free: 1.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5722, allocations: 0.8438 kB / 472 MB, free: 1.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5722, allocations: 0 / 472 MB, free: 1.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5722, allocations: 0.875 kB / 472 MB, free: 1.109 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.0008106/0.573, allocations: 0.5896 MB / 472.6 MB, free: 16.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.573, allocations: 9.344 kB / 472.6 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.5733, allocations: 46.86 kB / 472.7 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.5737, allocations: 284.1 kB / 472.9 MB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5737, allocations: 18.12 kB / 473 MB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.5738, allocations: 25.09 kB / 473 MB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.5743, allocations: 306 kB / 473.3 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5743, allocations: 0 / 473.3 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5744, allocations: 10.38 kB / 473.3 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5744, allocations: 7.844 kB / 473.3 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.5747, allocations: 212.8 kB / 473.5 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.5762, allocations: 1.288 MB / 474.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.5765, allocations: 184.6 kB / 475 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5766, allocations: 95.28 kB / 475.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.5768, allocations: 172.6 kB / 475.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.5768, allocations: 36.66 kB / 475.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 2.474e-06/0.5768, allocations: 0.9688 kB / 475.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002174/0.579, allocations: 1.032 MB / 476.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5791, allocations: 57.06 kB / 476.4 MB, free: 14.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.5793, allocations: 254.3 kB / 476.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5793, allocations: 36.05 kB / 476.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.5794, allocations: 178.2 kB / 476.8 MB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.5795, allocations: 89.61 kB / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.5796, allocations: 71.36 kB / 477 MB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5797, allocations: 336.2 kB / 477.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.5798, allocations: 80.94 kB / 477.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.58, allocations: 179.5 kB / 477.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.5803, allocations: 288.2 kB / 477.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5803, allocations: 2.094 kB / 477.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005132/0.5808, allocations: 445.6 kB / 478.3 MB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5808, allocations: 7.281 kB / 478.3 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5808, allocations: 8.344 kB / 478.3 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.5809, allocations: 44.75 kB / 478.3 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.5813, allocations: 71.91 kB / 478.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.5831, allocations: 2.769 MB / 481.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5834, allocations: 25.75 kB / 481.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.5834, allocations: 17.56 kB / 481.2 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.0001576/0.5836, allocations: 155.6 kB / 481.4 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.5837, allocations: 26.66 kB / 481.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.5841, allocations: 358.7 kB / 481.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5841, allocations: 2.781 kB / 481.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5841, allocations: 5.938 kB / 481.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004619/0.5846, allocations: 0.6174 MB / 482.4 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.5854, allocations: 0.7623 MB / 483.1 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5854, allocations: 0 / 483.1 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.5857, allocations: 54.47 kB / 483.2 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.214e-05/0.5858, allocations: 22.06 kB / 483.2 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5858, allocations: 9.562 kB / 483.2 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007367/0.5866, allocations: 1.383 MB / 484.6 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5866, allocations: 0 / 484.6 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.5871, allocations: 0.5186 MB / 485.1 MB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.5872, allocations: 99 kB / 485.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.5872, allocations: 11.56 kB / 485.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5875, allocations: 15.05 kB / 485.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.5875, allocations: 19.23 kB / 485.3 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.5876, allocations: 10.73 kB / 485.3 MB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.5877, allocations: 186.5 kB / 485.5 MB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5877, allocations: 1.203 kB / 485.5 MB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.5881, allocations: 109.7 kB / 485.6 MB, free: 7.809 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.0002644/0.5884, allocations: 141 kB / 485.7 MB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.589, allocations: 467.4 kB / 486.2 MB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.589, allocations: 0 / 486.2 MB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.5893, allocations: 225 kB / 486.4 MB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.5901, allocations: 163 kB / 486.5 MB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5911, allocations: 0.7704 MB / 487.3 MB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.5914, allocations: 0.761 MB / 488.1 MB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.5917, allocations: 56.89 kB / 488.1 MB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.5918, allocations: 30.06 kB / 488.2 MB, free: 6.207 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5918, allocations: 0 / 488.2 MB, free: 6.207 MB / 398.1 MB Notification: Performance of Templates: time 0.009205/0.6011, allocations: 6.137 MB / 494.3 MB, free: 5.73 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)