Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.603/1.603, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001781/0.001781, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.337e-05, allocations: 0 / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.0946, allocations: 44.5 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8539/0.9486, allocations: 333.9 MB / 0.6673 GB, free: 37.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.949, allocations: 87.25 kB / 0.6674 GB, free: 37.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4254/1.374, allocations: 87.18 MB / 0.7525 GB, free: 126.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.374, allocations: 0 / 0.7525 GB, free: 126.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/1.374, allocations: 10.27 kB / 0.7525 GB, free: 126.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006245/1.375, allocations: 0.5248 MB / 0.753 GB, free: 126.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.375, allocations: 12.03 kB / 0.753 GB, free: 126.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/1.375, allocations: 43.7 kB / 0.7531 GB, free: 126 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/1.376, allocations: 286.1 kB / 0.7534 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.376, allocations: 16.56 kB / 0.7534 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/1.376, allocations: 24 kB / 0.7534 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/1.376, allocations: 289.5 kB / 0.7537 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.376, allocations: 0 / 0.7537 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/1.376, allocations: 16 kB / 0.7537 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.376, allocations: 4 kB / 0.7537 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/1.377, allocations: 194.1 kB / 0.7539 GB, free: 125.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.378, allocations: 1.294 MB / 0.7551 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/1.378, allocations: 184.2 kB / 0.7553 GB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/1.379, allocations: 101.2 kB / 0.7554 GB, free: 123.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/1.379, allocations: 162.4 kB / 0.7556 GB, free: 123.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/1.379, allocations: 46.67 kB / 0.7556 GB, free: 123.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/1.379, allocations: 0 / 0.7556 GB, free: 123.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002087/1.381, allocations: 0.8932 MB / 0.7565 GB, free: 122.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/1.381, allocations: 59.36 kB / 0.7565 GB, free: 122.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/1.381, allocations: 242.7 kB / 0.7568 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.381, allocations: 29.7 kB / 0.7568 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/1.381, allocations: 176 kB / 0.757 GB, free: 121.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/1.381, allocations: 93.22 kB / 0.7571 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/1.381, allocations: 8 kB / 0.7571 GB, free: 121.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/1.381, allocations: 334.8 kB / 0.7574 GB, free: 121.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.382, allocations: 76 kB / 0.7575 GB, free: 121.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/1.382, allocations: 172.3 kB / 0.7576 GB, free: 121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.382, allocations: 113.5 kB / 0.7577 GB, free: 120.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.382, allocations: 4 kB / 0.7577 GB, free: 120.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005408/1.382, allocations: 431.9 kB / 0.7582 GB, free: 120.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.383, allocations: 11.95 kB / 0.7582 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.383, allocations: 0 / 0.7582 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/1.383, allocations: 46.03 kB / 0.7582 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/1.383, allocations: 83.84 kB / 0.7583 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.385, allocations: 2.556 MB / 0.7608 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/1.385, allocations: 27.98 kB / 0.7608 GB, free: 117.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.385, allocations: 16 kB / 0.7608 GB, free: 117.4 MB / 410.7 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 () * 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.0001243/1.385, allocations: 130.2 kB / 0.7609 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/1.385, allocations: 31.67 kB / 0.761 GB, free: 117.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/1.386, allocations: 358.5 kB / 0.7613 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.386, allocations: 0 / 0.7613 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.386, allocations: 0 / 0.7613 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004504/1.386, allocations: 0.6071 MB / 0.7619 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/1.387, allocations: 0.7675 MB / 0.7627 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/1.387, allocations: 0 / 0.7627 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/1.387, allocations: 55.91 kB / 0.7627 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.547e-05/1.387, allocations: 24.84 kB / 0.7627 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.387, allocations: 4 kB / 0.7627 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000555/1.388, allocations: 1.272 MB / 0.764 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.388, allocations: 32 / 0.764 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/1.388, allocations: 0.5198 MB / 0.7645 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/1.388, allocations: 96.86 kB / 0.7646 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.388, allocations: 8 kB / 0.7646 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/1.389, allocations: 19.92 kB / 0.7646 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/1.389, allocations: 28.02 kB / 0.7646 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/1.389, allocations: 11.98 kB / 0.7647 GB, free: 113.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000131/1.389, allocations: 183.1 kB / 0.7648 GB, free: 112.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.389, allocations: 0 / 0.7648 GB, free: 112.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004456/1.389, allocations: 116 kB / 0.7649 GB, free: 112.8 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 () * 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.0003758/1.39, allocations: 248.5 kB / 0.7652 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005681/1.39, allocations: 449.6 kB / 0.7656 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.39, allocations: 0 / 0.7656 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.391, allocations: 218.6 kB / 0.7658 GB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/1.391, allocations: 156.5 kB / 0.766 GB, free: 111.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/1.392, allocations: 478.7 kB / 0.7664 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.392, allocations: 0.7687 MB / 0.7672 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/1.393, allocations: 58.92 kB / 0.7672 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/1.393, allocations: 27.44 kB / 0.7672 GB, free: 110.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/1.393, allocations: 0 / 0.7672 GB, free: 110.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01105/1.404, allocations: 7.546 MB / 0.7746 GB, free: 102.8 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)