Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00124/0.00124, allocations: 99.55 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.001543/0.001543, allocations: 177.3 kB / 15.94 MB, free: 228 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.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.00047/0.00047, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 47.58 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1428/0.392, allocations: 121.9 MB / 448.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.3944, allocations: 1.519 MB / 449.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.3948, allocations: 3.938 kB / 449.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.3955, allocations: 147.3 kB / 450 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.3961, allocations: 211.4 kB / 450.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3971, allocations: 339.3 kB / 450.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.3979, allocations: 471 kB / 451 MB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.3981, allocations: 80.61 kB / 451.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.3987, allocations: 295.2 kB / 451.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.3992, allocations: 211.3 kB / 451.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.3992, allocations: 16 kB / 451.6 MB, free: 6.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.3995, allocations: 87.88 kB / 451.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3997, allocations: 75.77 kB / 451.8 MB, free: 5.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3998, allocations: 89.58 kB / 451.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.4002, allocations: 360.5 kB / 452.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4002, allocations: 4 kB / 452.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4002, allocations: 3.938 kB / 452.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4002, allocations: 0 / 452.2 MB, free: 5.434 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.000795/0.401, allocations: 0.5262 MB / 452.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4011, allocations: 11.97 kB / 452.8 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.4014, allocations: 43.61 kB / 452.8 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4019, allocations: 274.6 kB / 453.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4019, allocations: 20.56 kB / 453.1 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.4019, allocations: 27.91 kB / 453.1 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.4025, allocations: 293.3 kB / 453.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4025, allocations: 7.953 kB / 453.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.4026, allocations: 12 kB / 453.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.4026, allocations: 8 kB / 453.4 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.4029, allocations: 206.1 kB / 453.6 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.4048, allocations: 1.281 MB / 454.9 MB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.4052, allocations: 191.2 kB / 455.1 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.4054, allocations: 170.4 kB / 455.3 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4054, allocations: 42.69 kB / 455.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.4054, allocations: 0 / 455.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002384/0.4078, allocations: 1.035 MB / 456.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4079, allocations: 59.41 kB / 456.4 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4082, allocations: 258.5 kB / 456.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.4082, allocations: 37.7 kB / 456.7 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4084, allocations: 180.1 kB / 456.9 MB, free: 380 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.4084, allocations: 86.75 kB / 456.9 MB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.4085, allocations: 8 kB / 457 MB, free: 284 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.1715/0.5799, allocations: 334.8 kB / 457.3 MB, free: 126.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.5803, allocations: 78.59 kB / 457.4 MB, free: 126.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.5806, allocations: 179.2 kB / 457.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.5809, allocations: 107.3 kB / 457.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5809, allocations: 1.062 kB / 457.6 MB, free: 126.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009202/0.5818, allocations: 446.4 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5818, allocations: 6.062 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5819, allocations: 3.984 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.5821, allocations: 42.66 kB / 458.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.5824, allocations: 76.55 kB / 458.2 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.584, allocations: 2.577 MB / 460.8 MB, free: 124.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5842, allocations: 24.39 kB / 460.8 MB, free: 124.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.5843, allocations: 13.5 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.0001993/0.5845, allocations: 162.7 kB / 461 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.5846, allocations: 29.22 kB / 461 MB, free: 123.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.5852, allocations: 357.2 kB / 461.3 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5852, allocations: 2.812 kB / 461.4 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5852, allocations: 0.5312 kB / 461.4 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004549/0.5857, allocations: 0.6236 MB / 462 MB, free: 123.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.5865, allocations: 0.7433 MB / 462.7 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5865, allocations: 2.938 kB / 462.7 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.5868, allocations: 66.59 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.5868, allocations: 27.75 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.5869, allocations: 7.188 kB / 462.8 MB, free: 122.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005238/0.5874, allocations: 1.283 MB / 464.1 MB, free: 121.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5874, allocations: 0 / 464.1 MB, free: 121.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.5879, allocations: 0.5285 MB / 464.6 MB, free: 120.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.588, allocations: 100.9 kB / 464.7 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.5881, allocations: 5.688 kB / 464.7 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5883, allocations: 20.11 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.5884, allocations: 22.67 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.5884, allocations: 12.98 kB / 464.8 MB, free: 120.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.5886, allocations: 186.3 kB / 465 MB, free: 120.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5886, allocations: 1.875 kB / 465 MB, free: 120.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.5891, allocations: 98.75 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.0002402/0.5894, allocations: 137.9 kB / 465.2 MB, free: 120.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.59, allocations: 450.3 kB / 465.6 MB, free: 120.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5901, allocations: 1.188 kB / 465.6 MB, free: 120.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.5903, allocations: 218.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.0008951/0.5912, allocations: 153.6 kB / 466 MB, free: 119.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5924, allocations: 0.8012 MB / 466.8 MB, free: 119.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5926, allocations: 0.7692 MB / 467.6 MB, free: 118.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.5929, allocations: 63.23 kB / 467.6 MB, free: 118.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.593, allocations: 27.72 kB / 467.7 MB, free: 118.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.593, allocations: 0.9062 kB / 467.7 MB, free: 118.5 MB / 382.1 MB Notification: Performance of Templates: time 0.008472/0.6015, allocations: 5.649 MB / 473.3 MB, free: 114.3 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: