Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001023/0.001024, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001518/0.001518, allocations: 117.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.0772, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.113, allocations: 0.6361 GB / 0.9829 GB, free: 21.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/1.113, allocations: 81.7 kB / 0.9829 GB, free: 21.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/2.192, allocations: 473.6 MB / 1.445 GB, free: 56.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/2.192, allocations: 0 / 1.445 GB, free: 56.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.498e-05/2.192, allocations: 7.984 kB / 1.445 GB, free: 56.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001378/2.193, allocations: 0.739 MB / 1.446 GB, free: 55.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/2.194, allocations: 8.031 kB / 1.446 GB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/2.194, allocations: 60.62 kB / 1.446 GB, free: 55.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/2.194, allocations: 284.3 kB / 1.447 GB, free: 55.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/2.194, allocations: 16.56 kB / 1.447 GB, free: 55.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/2.194, allocations: 28 kB / 1.447 GB, free: 55.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/2.195, allocations: 338.4 kB / 1.447 GB, free: 55.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/2.195, allocations: 3.984 kB / 1.447 GB, free: 55.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/2.195, allocations: 12 kB / 1.447 GB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/2.195, allocations: 8 kB / 1.447 GB, free: 55.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/2.195, allocations: 210 kB / 1.447 GB, free: 54.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008683/2.204, allocations: 5.474 MB / 1.452 GB, free: 48.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/2.204, allocations: 175.2 kB / 1.453 GB, free: 48.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006804/2.211, allocations: 3.443 MB / 1.456 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/2.211, allocations: 37.12 kB / 1.456 GB, free: 45.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/2.211, allocations: 0 / 1.456 GB, free: 45.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.005007/2.216, allocations: 1.379 MB / 1.457 GB, free: 43.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/2.216, allocations: 55.41 kB / 1.457 GB, free: 43.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/2.216, allocations: 229.7 kB / 1.458 GB, free: 43.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/2.216, allocations: 29.7 kB / 1.458 GB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/2.217, allocations: 192 kB / 1.458 GB, free: 43.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/2.217, allocations: 98.72 kB / 1.458 GB, free: 42.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/2.217, allocations: 4 kB / 1.458 GB, free: 42.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/2.217, allocations: 342.8 kB / 1.458 GB, free: 42.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/2.217, allocations: 86.38 kB / 1.458 GB, free: 42.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/2.217, allocations: 187 kB / 1.459 GB, free: 42.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/2.217, allocations: 116 kB / 1.459 GB, free: 42.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.217, allocations: 4 kB / 1.459 GB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005785/2.218, allocations: 395.4 kB / 1.459 GB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.218, allocations: 9.094 kB / 1.459 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-06/2.218, allocations: 2.188 kB / 1.459 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/2.222, allocations: 453.3 kB / 1.459 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/2.222, allocations: 71.84 kB / 1.46 GB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/2.223, allocations: 1.871 MB / 1.461 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/2.223, allocations: 28.17 kB / 1.461 GB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/2.224, allocations: 16 kB / 1.461 GB, free: 39.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001601/2.224, allocations: 153.7 kB / 1.462 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/2.224, allocations: 31.23 kB / 1.462 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/2.224, allocations: 494.6 kB / 1.462 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/2.224, allocations: 8 kB / 1.462 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/2.224, allocations: 0 / 1.462 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004325/2.225, allocations: 0.7213 MB / 1.463 GB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/2.226, allocations: 0.951 MB / 1.464 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/2.226, allocations: 4 kB / 1.464 GB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/2.226, allocations: 39.98 kB / 1.464 GB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/2.227, allocations: 308.4 kB / 1.464 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/2.227, allocations: 8 kB / 1.464 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002959/2.228, allocations: 0.6383 MB / 1.465 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.228, allocations: 7.891 kB / 1.465 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/2.228, allocations: 0.7295 MB / 1.465 GB, free: 34.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/2.229, allocations: 104.9 kB / 1.465 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/2.229, allocations: 11.95 kB / 1.465 GB, free: 34.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/2.229, allocations: 19.92 kB / 1.466 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/2.229, allocations: 15.98 kB / 1.466 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/2.229, allocations: 11.98 kB / 1.466 GB, free: 34.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001365/2.229, allocations: 186 kB / 1.466 GB, free: 34.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.229, allocations: 3.938 kB / 1.466 GB, free: 34.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008611/2.23, allocations: 211.9 kB / 1.466 GB, free: 34.32 MB / 410.7 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/2.231, allocations: 481.7 kB / 1.466 GB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006537/2.232, allocations: 442.4 kB / 1.467 GB, free: 33.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.232, allocations: 4 kB / 1.467 GB, free: 33.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/2.232, allocations: 240.5 kB / 1.467 GB, free: 33.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/2.233, allocations: 162.1 kB / 1.467 GB, free: 33.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/2.234, allocations: 0.9445 MB / 1.468 GB, free: 32.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/2.235, allocations: 0.788 MB / 1.469 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002322/2.235, allocations: 50.28 kB / 1.469 GB, free: 31.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/2.235, allocations: 27.44 kB / 1.469 GB, free: 31.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/2.235, allocations: 0 / 1.469 GB, free: 31.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01493/2.25, allocations: 10.82 MB / 1.48 GB, free: 20.43 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)