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.000957/0.0009571, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001016/0.001016, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004484/0.0004487, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2465, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1502/0.3968, allocations: 121.9 MB / 448.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.3995, allocations: 1.516 MB / 449.9 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.3999, allocations: 3.938 kB / 449.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.4007, allocations: 147.3 kB / 450 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006221/0.4013, allocations: 211.4 kB / 450.2 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.4023, allocations: 347.2 kB / 450.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.4031, allocations: 467.1 kB / 451 MB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.4033, allocations: 76.61 kB / 451.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.4039, allocations: 295.2 kB / 451.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.4043, allocations: 211.3 kB / 451.6 MB, free: 6.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.4043, allocations: 16 kB / 451.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.4046, allocations: 83.88 kB / 451.7 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.4047, allocations: 79.77 kB / 451.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.4048, allocations: 89.58 kB / 451.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.4052, allocations: 360.5 kB / 452.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4052, allocations: 4 kB / 452.2 MB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4052, allocations: 3.938 kB / 452.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4052, allocations: 0 / 452.2 MB, free: 5.453 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.0007405/0.406, allocations: 0.5262 MB / 452.7 MB, free: 4.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.406, allocations: 12.03 kB / 452.7 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4063, allocations: 43.61 kB / 452.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.4067, allocations: 274.6 kB / 453.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.4067, allocations: 20.56 kB / 453.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.4068, allocations: 27.91 kB / 453.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.4072, allocations: 293.3 kB / 453.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4073, allocations: 7.953 kB / 453.4 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.4073, allocations: 12 kB / 453.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.4073, allocations: 8 kB / 453.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.4076, allocations: 206.1 kB / 453.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.4094, allocations: 1.281 MB / 454.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.4098, allocations: 191.2 kB / 455.1 MB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.4099, allocations: 174.4 kB / 455.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.41, allocations: 38.75 kB / 455.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.41, allocations: 0 / 455.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002379/0.4124, allocations: 1.039 MB / 456.3 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4124, allocations: 55.41 kB / 456.4 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.4127, allocations: 258.5 kB / 456.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4127, allocations: 33.7 kB / 456.7 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4129, allocations: 184.1 kB / 456.9 MB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.413, allocations: 86.75 kB / 456.9 MB, free: 312 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.413, allocations: 8 kB / 456.9 MB, free: 304 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1663/0.5793, allocations: 334.8 kB / 457.3 MB, free: 126.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.5796, allocations: 79.14 kB / 457.4 MB, free: 126.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.5798, allocations: 178.2 kB / 457.5 MB, free: 126.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.58, allocations: 107.7 kB / 457.6 MB, free: 126.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.58, allocations: 1.094 kB / 457.6 MB, free: 126.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008035/0.5808, allocations: 445.8 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.5809, allocations: 10.25 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5809, allocations: 3.75 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.5811, allocations: 44.77 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.5815, allocations: 77.58 kB / 458.2 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.5829, allocations: 2.576 MB / 460.8 MB, free: 124.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.5831, allocations: 18.31 kB / 460.8 MB, free: 124.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.5832, allocations: 16.67 kB / 460.8 MB, free: 124.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.5834, allocations: 157.2 kB / 461 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.5834, allocations: 32.2 kB / 461 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.584, allocations: 359.4 kB / 461.3 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.584, allocations: 2.469 kB / 461.3 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.584, allocations: 1.281 kB / 461.4 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004059/0.5844, allocations: 0.6238 MB / 462 MB, free: 123.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.5852, allocations: 0.7579 MB / 462.7 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5853, allocations: 1.906 kB / 462.7 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.5855, allocations: 59.69 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.406e-05/0.5856, allocations: 25.02 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5856, allocations: 6.406 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005487/0.5862, allocations: 1.294 MB / 464.1 MB, free: 121.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5862, allocations: 0 / 464.1 MB, free: 121.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.5867, allocations: 0.5165 MB / 464.6 MB, free: 120.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.5868, allocations: 105.5 kB / 464.7 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5868, allocations: 6.281 kB / 464.7 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5871, allocations: 15.84 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.5871, allocations: 23.8 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.5871, allocations: 16.92 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.5873, allocations: 181.5 kB / 465 MB, free: 120.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5873, allocations: 1.344 kB / 465 MB, free: 120.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.5877, allocations: 101.5 kB / 465.1 MB, free: 120.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.5879, allocations: 135.3 kB / 465.2 MB, free: 120.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.5885, allocations: 448.2 kB / 465.6 MB, free: 120.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5885, allocations: 1.188 kB / 465.6 MB, free: 120.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.5887, allocations: 222.3 kB / 465.9 MB, free: 119.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.5896, allocations: 160.5 kB / 466 MB, free: 119.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.5905, allocations: 0.7915 MB / 466.8 MB, free: 119.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.5907, allocations: 0.7716 MB / 467.6 MB, free: 118.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.5909, allocations: 58.88 kB / 467.6 MB, free: 118.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.591, allocations: 35.95 kB / 467.7 MB, free: 118.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.591, allocations: 3.938 kB / 467.7 MB, free: 118.5 MB / 382.1 MB Notification: Performance of Templates: time 0.008238/0.5993, allocations: 5.651 MB / 473.3 MB, free: 114.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: