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.001095/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001118/0.001118, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001191/0.001191, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2045, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3283/0.5329, allocations: 144 MB / 469.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.535, allocations: 1.72 MB / 471 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.5353, allocations: 8.125 kB / 471.1 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.5361, allocations: 176.6 kB / 471.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.5368, allocations: 329.9 kB / 471.5 MB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.5378, allocations: 413.7 kB / 472 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.5388, allocations: 0.847 MB / 472.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.5391, allocations: 103.6 kB / 472.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006174/0.5397, allocations: 404.6 kB / 473.3 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.5401, allocations: 320 kB / 473.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.5401, allocations: 32.06 kB / 473.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.5404, allocations: 143.5 kB / 473.8 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.5405, allocations: 94.33 kB / 473.9 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.5407, allocations: 192.5 kB / 474.1 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.5412, allocations: 483.2 kB / 474.5 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5412, allocations: 4 kB / 474.5 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5412, allocations: 0 / 474.5 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.5412, allocations: 0 / 474.5 MB, free: 0.8398 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.0008166/0.542, allocations: 0.5875 MB / 475.1 MB, free: 16.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5421, allocations: 8.438 kB / 475.1 MB, free: 16.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.5424, allocations: 42.95 kB / 475.2 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.5427, allocations: 294 kB / 475.5 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.5427, allocations: 20.47 kB / 475.5 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5428, allocations: 27.09 kB / 475.5 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.5432, allocations: 304.3 kB / 475.8 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5432, allocations: 2.625 kB / 475.8 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.5433, allocations: 10.34 kB / 475.8 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5433, allocations: 5.031 kB / 475.8 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.5436, allocations: 204 kB / 476 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.5452, allocations: 1.298 MB / 477.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5455, allocations: 196.2 kB / 477.5 MB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.5457, allocations: 91.08 kB / 477.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.5458, allocations: 174.5 kB / 477.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.5459, allocations: 35.94 kB / 477.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.5459, allocations: 0 / 477.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002291/0.5482, allocations: 1.028 MB / 478.8 MB, free: 14.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5482, allocations: 61.52 kB / 478.9 MB, free: 14.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.5484, allocations: 256 kB / 479.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.5485, allocations: 31.89 kB / 479.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.5486, allocations: 177.8 kB / 479.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5486, allocations: 94.55 kB / 479.4 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.5487, allocations: 70 kB / 479.5 MB, free: 13.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5488, allocations: 335.6 kB / 479.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5489, allocations: 76.98 kB / 479.9 MB, free: 13.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.5491, allocations: 183 kB / 480.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.5494, allocations: 283.1 kB / 480.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5494, allocations: 3.969 kB / 480.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005687/0.55, allocations: 449.5 kB / 480.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5501, allocations: 6.469 kB / 480.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5501, allocations: 4.781 kB / 480.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.5502, allocations: 41.16 kB / 480.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.5505, allocations: 79.05 kB / 480.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.5523, allocations: 2.767 MB / 483.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5525, allocations: 10.31 kB / 483.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.5525, allocations: 13.62 kB / 483.7 MB, free: 10.55 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.0001376/0.5527, allocations: 159.4 kB / 483.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.5527, allocations: 33.75 kB / 483.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.5532, allocations: 361.9 kB / 484.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5532, allocations: 2.344 kB / 484.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5532, allocations: 2.406 kB / 484.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004728/0.5537, allocations: 0.6132 MB / 484.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.5545, allocations: 0.7608 MB / 485.6 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5546, allocations: 0 / 485.6 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.5548, allocations: 59.62 kB / 485.7 MB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.5549, allocations: 25.86 kB / 485.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5549, allocations: 6.781 kB / 485.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008487/0.5558, allocations: 1.385 MB / 487.1 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5558, allocations: 0 / 487.1 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.5563, allocations: 0.5079 MB / 487.6 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.5564, allocations: 100.4 kB / 487.7 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.5565, allocations: 9.469 kB / 487.7 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.5567, allocations: 14.88 kB / 487.8 MB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.5567, allocations: 20.08 kB / 487.8 MB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.5568, allocations: 14.42 kB / 487.8 MB, free: 7.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5569, allocations: 183.2 kB / 488 MB, free: 7.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5569, allocations: 0 / 488 MB, free: 7.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.5573, allocations: 101.2 kB / 488.1 MB, free: 7.461 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.000278/0.5576, allocations: 149.5 kB / 488.2 MB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.5582, allocations: 460.6 kB / 488.7 MB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5582, allocations: 3.094 kB / 488.7 MB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.5585, allocations: 219.5 kB / 488.9 MB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.5593, allocations: 163.2 kB / 489 MB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.5603, allocations: 0.668 MB / 489.7 MB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5606, allocations: 0.763 MB / 490.5 MB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.5609, allocations: 58.31 kB / 490.5 MB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.5609, allocations: 26.38 kB / 490.5 MB, free: 5.906 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5609, allocations: 0 / 490.5 MB, free: 5.906 MB / 398.1 MB Notification: Performance of Templates: time 0.009782/0.5707, allocations: 6.172 MB / 496.7 MB, free: 5.426 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)