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.001703/0.001703, allocations: 108 kB / 15.61 MB, free: 152 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.001707/0.001707, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001436/0.001436, allocations: 59.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2248, allocations: 46.62 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4164/0.6413, allocations: 144 MB / 469.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.645, allocations: 1.726 MB / 471 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.6455, allocations: 6.344 kB / 471 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.6465, allocations: 179.4 kB / 471.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.6475, allocations: 325 kB / 471.5 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.6491, allocations: 421.4 kB / 472 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.6503, allocations: 0.8473 MB / 472.8 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.6506, allocations: 103.2 kB / 472.9 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008004/0.6514, allocations: 399.4 kB / 473.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.6518, allocations: 324.5 kB / 473.6 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.6518, allocations: 30.47 kB / 473.6 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.6523, allocations: 138.2 kB / 473.8 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.6524, allocations: 99.11 kB / 473.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.6527, allocations: 186.1 kB / 474.1 MB, free: 0.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.6535, allocations: 488.2 kB / 474.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6535, allocations: 0 / 474.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6535, allocations: 4 kB / 474.5 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.6535, allocations: 3.656 kB / 474.5 MB, free: 0.8477 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.001132/0.6546, allocations: 0.5859 MB / 475.1 MB, free: 16.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6547, allocations: 10.47 kB / 475.1 MB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.6552, allocations: 43.14 kB / 475.2 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.6557, allocations: 288.6 kB / 475.5 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6557, allocations: 18 kB / 475.5 MB, free: 16.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.6558, allocations: 31.44 kB / 475.5 MB, free: 16.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.6564, allocations: 302.6 kB / 475.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6565, allocations: 6 kB / 475.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.6565, allocations: 12 kB / 475.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.6565, allocations: 6.25 kB / 475.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.657, allocations: 204.4 kB / 476 MB, free: 16.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.6592, allocations: 1.297 MB / 477.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.6597, allocations: 185.7 kB / 477.5 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.6599, allocations: 99.02 kB / 477.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.6601, allocations: 176.9 kB / 477.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.6601, allocations: 36.34 kB / 477.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 3.166e-06/0.6602, allocations: 0 / 477.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.003332/0.6635, allocations: 1.025 MB / 478.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6636, allocations: 57.11 kB / 478.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.6639, allocations: 254.2 kB / 479.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.664, allocations: 32.02 kB / 479.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6641, allocations: 179.2 kB / 479.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/0.6643, allocations: 98.86 kB / 479.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6644, allocations: 69.94 kB / 479.5 MB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6646, allocations: 334.3 kB / 479.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.6648, allocations: 84.09 kB / 479.9 MB, free: 13.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.6652, allocations: 185.8 kB / 480.1 MB, free: 13.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.6657, allocations: 279.4 kB / 480.4 MB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6658, allocations: 4 kB / 480.4 MB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009046/0.6667, allocations: 445.6 kB / 480.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6667, allocations: 5.594 kB / 480.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6667, allocations: 7.375 kB / 480.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.667, allocations: 40.61 kB / 480.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.6674, allocations: 83.11 kB / 480.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.6708, allocations: 2.759 MB / 483.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.6712, allocations: 13.78 kB / 483.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.6713, allocations: 12.97 kB / 483.7 MB, free: 10.56 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.0002418/0.6715, allocations: 164.7 kB / 483.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.6716, allocations: 31.53 kB / 483.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.6722, allocations: 358.2 kB / 484.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6722, allocations: 6.359 kB / 484.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6722, allocations: 0 / 484.3 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.6728, allocations: 0.6123 MB / 484.9 MB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6738, allocations: 0.7636 MB / 485.6 MB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6739, allocations: 4 kB / 485.7 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.6741, allocations: 61.11 kB / 485.7 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.6742, allocations: 21.14 kB / 485.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.6743, allocations: 8.125 kB / 485.7 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.6754, allocations: 1.377 MB / 487.1 MB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6754, allocations: 4.156 kB / 487.1 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.676, allocations: 0.5048 MB / 487.6 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.6761, allocations: 104.1 kB / 487.7 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.6761, allocations: 15.64 kB / 487.7 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.6764, allocations: 3.219 kB / 487.7 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.6764, allocations: 20.64 kB / 487.8 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.6765, allocations: 18.2 kB / 487.8 MB, free: 7.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.6766, allocations: 181.5 kB / 488 MB, free: 7.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6766, allocations: 1.094 kB / 488 MB, free: 7.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.6771, allocations: 101.7 kB / 488.1 MB, free: 7.473 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.0003393/0.6775, allocations: 146 kB / 488.2 MB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.6781, allocations: 457.5 kB / 488.7 MB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6782, allocations: 2.406 kB / 488.7 MB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.6784, allocations: 215.2 kB / 488.9 MB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.6794, allocations: 175.3 kB / 489 MB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6807, allocations: 0.6731 MB / 489.7 MB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6811, allocations: 0.7621 MB / 490.5 MB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.6814, allocations: 60.45 kB / 490.5 MB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.6815, allocations: 28.34 kB / 490.6 MB, free: 5.91 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6815, allocations: 0 / 490.6 MB, free: 5.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01119/0.6927, allocations: 6.164 MB / 496.7 MB, free: 5.43 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (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)