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.0007991/0.0007992, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001025/0.001025, allocations: 182 kB / 17.56 MB, free: 6.203 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.362/1.362, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004774/0.0004777, allocations: 16.42 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09041, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3625/0.453, allocations: 140 MB / 468.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.4553, allocations: 1.702 MB / 470 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.4555, allocations: 0 / 470 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.4561, allocations: 151.2 kB / 470.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.4567, allocations: 314.5 kB / 470.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.4578, allocations: 388 kB / 470.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.459, allocations: 1.305 MB / 472.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4592, allocations: 80.61 kB / 472.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.4598, allocations: 342.7 kB / 472.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.4603, allocations: 342.8 kB / 472.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.4603, allocations: 12 kB / 472.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.4607, allocations: 147.7 kB / 473.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4608, allocations: 87.64 kB / 473.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.461, allocations: 185 kB / 473.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.4615, allocations: 476 kB / 473.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4615, allocations: 7.984 kB / 473.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4615, allocations: 0 / 473.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4615, allocations: 0 / 473.8 MB, free: 7.707 MB / 366.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.0007677/0.4623, allocations: 0.5231 MB / 474.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4624, allocations: 12.03 kB / 474.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.4627, allocations: 40.56 kB / 474.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.463, allocations: 287.7 kB / 474.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4631, allocations: 17.69 kB / 474.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.4631, allocations: 24.38 kB / 474.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.4636, allocations: 305.7 kB / 475 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4636, allocations: 0 / 475 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.4637, allocations: 12 kB / 475 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4637, allocations: 8 kB / 475 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.464, allocations: 210.1 kB / 475.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.4658, allocations: 1.289 MB / 476.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.4662, allocations: 191.1 kB / 476.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4663, allocations: 96.78 kB / 476.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.4665, allocations: 166.2 kB / 476.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4666, allocations: 42.5 kB / 477 MB, free: 4.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.4666, allocations: 0 / 477 MB, free: 4.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002543/0.4691, allocations: 1.041 MB / 478 MB, free: 3.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4692, allocations: 51.41 kB / 478.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.4695, allocations: 258.5 kB / 478.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4695, allocations: 33.7 kB / 478.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4697, allocations: 176.2 kB / 478.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/0.4697, allocations: 94.66 kB / 478.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.4698, allocations: 37.7 kB / 478.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.47, allocations: 334.8 kB / 479 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4701, allocations: 87.73 kB / 479.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4703, allocations: 179.7 kB / 479.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.4708, allocations: 287.8 kB / 479.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4708, allocations: 4 kB / 479.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006212/0.4714, allocations: 431.8 kB / 480 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4714, allocations: 8.406 kB / 480 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4714, allocations: 11.94 kB / 480 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.4716, allocations: 37.7 kB / 480 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.4719, allocations: 79.89 kB / 480.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.4738, allocations: 2.572 MB / 482.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.4741, allocations: 23.89 kB / 482.7 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.4741, allocations: 16 kB / 482.7 MB, free: 13.98 MB / 382.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.0001966/0.4743, allocations: 163.6 kB / 482.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.4744, allocations: 27.72 kB / 482.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.4749, allocations: 360.5 kB / 483.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4749, allocations: 4 kB / 483.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.475, allocations: 0 / 483.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005026/0.4755, allocations: 0.6227 MB / 483.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.4765, allocations: 0.7469 MB / 484.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4765, allocations: 4 kB / 484.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.4768, allocations: 55.89 kB / 484.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.4768, allocations: 24.88 kB / 484.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4769, allocations: 8 kB / 484.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008212/0.4777, allocations: 1.293 MB / 486 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4777, allocations: 0.875 kB / 486 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.4783, allocations: 0.5222 MB / 486.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.4784, allocations: 96.86 kB / 486.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.4784, allocations: 4.156 kB / 486.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4787, allocations: 19.98 kB / 486.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4787, allocations: 23.95 kB / 486.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.4788, allocations: 19.92 kB / 486.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.479, allocations: 182 kB / 486.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.479, allocations: 0 / 486.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.4794, allocations: 103.9 kB / 487 MB, free: 9.301 MB / 382.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.0003091/0.4797, allocations: 151.1 kB / 487.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.4804, allocations: 449.8 kB / 487.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4804, allocations: 0 / 487.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4807, allocations: 222.4 kB / 487.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4817, allocations: 164.5 kB / 487.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4829, allocations: 0.8273 MB / 488.8 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4832, allocations: 0.7645 MB / 489.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.4835, allocations: 58.92 kB / 489.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.4836, allocations: 31.44 kB / 489.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4836, allocations: 0 / 489.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of Templates: time 0.01103/0.4946, allocations: 5.885 MB / 495.5 MB, free: 0.6797 MB / 382.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)