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.0007474/0.0007474, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005285/0.005286, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004643/0.0004645, allocations: 20 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 47.58 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3981/0.6617, allocations: 140 MB / 467 MB, free: 1.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.664, allocations: 1.691 MB / 468.7 MB, free: 1.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.6644, allocations: 5.812 kB / 468.7 MB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.6652, allocations: 149.3 kB / 468.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.666, allocations: 326.2 kB / 469.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.6671, allocations: 390 kB / 469.6 MB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.6685, allocations: 1.304 MB / 470.9 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.6687, allocations: 75.56 kB / 470.9 MB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.6693, allocations: 344 kB / 471.3 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.6698, allocations: 339.3 kB / 471.6 MB, free: 1.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.6699, allocations: 14.88 kB / 471.6 MB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.6702, allocations: 148.1 kB / 471.8 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.6703, allocations: 86.39 kB / 471.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.6705, allocations: 193.4 kB / 472 MB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.671, allocations: 474 kB / 472.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.671, allocations: 3 kB / 472.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.671, allocations: 0 / 472.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.671, allocations: 0 / 472.5 MB, free: 1.086 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.0008731/0.6719, allocations: 0.5243 MB / 473 MB, free: 16.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6719, allocations: 12.8 kB / 473 MB, free: 16.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.6722, allocations: 46.8 kB / 473.1 MB, free: 16.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.6726, allocations: 283.9 kB / 473.4 MB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.6726, allocations: 19.88 kB / 473.4 MB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.6727, allocations: 22.69 kB / 473.4 MB, free: 16.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.6732, allocations: 304 kB / 473.7 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6732, allocations: 0 / 473.7 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.6732, allocations: 10.97 kB / 473.7 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.6732, allocations: 11.97 kB / 473.7 MB, free: 16.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.6736, allocations: 201.7 kB / 473.9 MB, free: 16.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.6755, allocations: 1.286 MB / 475.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.6759, allocations: 199.1 kB / 475.4 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.676, allocations: 93.42 kB / 475.5 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.6762, allocations: 171.8 kB / 475.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6762, allocations: 39.06 kB / 475.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.694e-06/0.6762, allocations: 0 / 475.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002345/0.6786, allocations: 1.039 MB / 476.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.6786, allocations: 54.75 kB / 476.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.6789, allocations: 261.5 kB / 477.1 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.679, allocations: 29.39 kB / 477.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.6791, allocations: 181.2 kB / 477.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.6791, allocations: 93.48 kB / 477.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.6792, allocations: 39.17 kB / 477.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6793, allocations: 329.7 kB / 477.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.6794, allocations: 86.59 kB / 477.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.6796, allocations: 179.9 kB / 478 MB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.6799, allocations: 294.5 kB / 478.3 MB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6799, allocations: 0 / 478.3 MB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005434/0.6805, allocations: 434.5 kB / 478.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6805, allocations: 11.84 kB / 478.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6805, allocations: 5.531 kB / 478.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.6807, allocations: 37.62 kB / 478.7 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.681, allocations: 83.56 kB / 478.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.6828, allocations: 2.568 MB / 481.4 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.6831, allocations: 21.95 kB / 481.4 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.6831, allocations: 15.34 kB / 481.4 MB, free: 11 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.0001796/0.6833, allocations: 156.3 kB / 481.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.6834, allocations: 26.19 kB / 481.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.6839, allocations: 359.4 kB / 482 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6839, allocations: 6.672 kB / 482 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.6839, allocations: 0 / 482 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004822/0.6844, allocations: 0.6194 MB / 482.6 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008859/0.6853, allocations: 0.7593 MB / 483.3 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6853, allocations: 1.969 kB / 483.3 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.6856, allocations: 49.98 kB / 483.4 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.66e-05/0.6857, allocations: 30.06 kB / 483.4 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.6857, allocations: 6.75 kB / 483.4 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008071/0.6865, allocations: 1.28 MB / 484.7 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6865, allocations: 2.625 kB / 484.7 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.6871, allocations: 0.5183 MB / 485.2 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.6872, allocations: 109 kB / 485.3 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6872, allocations: 6.594 kB / 485.3 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.6875, allocations: 19.39 kB / 485.4 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.6875, allocations: 18.33 kB / 485.4 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.6875, allocations: 14.91 kB / 485.4 MB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.6877, allocations: 185.5 kB / 485.6 MB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6877, allocations: 0 / 485.6 MB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.6882, allocations: 112.4 kB / 485.7 MB, free: 7.984 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.0003272/0.6886, allocations: 139.4 kB / 485.8 MB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.6893, allocations: 445.3 kB / 486.3 MB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6893, allocations: 1.781 kB / 486.3 MB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.6896, allocations: 222.6 kB / 486.5 MB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6907, allocations: 165.5 kB / 486.6 MB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.6922, allocations: 0.8328 MB / 487.5 MB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.6926, allocations: 0.7659 MB / 488.2 MB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.6929, allocations: 68.22 kB / 488.3 MB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.693, allocations: 30.81 kB / 488.3 MB, free: 6.328 MB / 398.1 MB Notification: Performance of SimCode: time 1.733e-06/0.693, allocations: 0 / 488.3 MB, free: 6.328 MB / 398.1 MB Notification: Performance of Templates: time 0.009914/0.7029, allocations: 5.86 MB / 494.2 MB, free: 5.871 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)