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.001909/0.001909, allocations: 180.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.313/1.313, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001601/0.001601, allocations: 115.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003008, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07476/0.07508, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5604/0.6355, allocations: 333.9 MB / 0.6729 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.6358, allocations: 88.75 kB / 0.673 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2976/0.9334, allocations: 87.56 MB / 0.7585 GB, free: 88.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9334, allocations: 0 / 0.7585 GB, free: 88.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.9335, allocations: 8 kB / 0.7585 GB, free: 88.26 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.0008265/0.9343, allocations: 0.5392 MB / 0.759 GB, free: 87.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.9343, allocations: 12.03 kB / 0.759 GB, free: 87.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.9347, allocations: 47.61 kB / 0.7591 GB, free: 87.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.9351, allocations: 294.8 kB / 0.7593 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.9351, allocations: 20.56 kB / 0.7594 GB, free: 87.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.9352, allocations: 24 kB / 0.7594 GB, free: 87.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.9356, allocations: 293.3 kB / 0.7597 GB, free: 86.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.9356, allocations: 0 / 0.7597 GB, free: 86.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.9356, allocations: 12 kB / 0.7597 GB, free: 86.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.9356, allocations: 8 kB / 0.7597 GB, free: 86.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.9359, allocations: 202 kB / 0.7599 GB, free: 86.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.9373, allocations: 1.281 MB / 0.7611 GB, free: 85.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.9376, allocations: 195.2 kB / 0.7613 GB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.9377, allocations: 174.4 kB / 0.7615 GB, free: 84.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.9377, allocations: 34.75 kB / 0.7615 GB, free: 84.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.9377, allocations: 3.938 kB / 0.7615 GB, free: 84.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00202/0.9398, allocations: 1.035 MB / 0.7625 GB, free: 83.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.9398, allocations: 59.36 kB / 0.7626 GB, free: 83.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.94, allocations: 237.6 kB / 0.7628 GB, free: 83.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.94, allocations: 33.7 kB / 0.7628 GB, free: 83.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.9401, allocations: 172.2 kB / 0.763 GB, free: 83.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.9402, allocations: 94.73 kB / 0.7631 GB, free: 83.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.9402, allocations: 8 kB / 0.7631 GB, free: 83.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.9402, allocations: 336.3 kB / 0.7634 GB, free: 82.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.9404, allocations: 75.97 kB / 0.7635 GB, free: 82.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.9405, allocations: 178.4 kB / 0.7637 GB, free: 82.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.9406, allocations: 107.9 kB / 0.7638 GB, free: 82.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9407, allocations: 4 kB / 0.7638 GB, free: 82.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004638/0.9411, allocations: 440.8 kB / 0.7642 GB, free: 81.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.9411, allocations: 8 kB / 0.7642 GB, free: 81.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9412, allocations: 4 kB / 0.7642 GB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.9413, allocations: 45.66 kB / 0.7642 GB, free: 81.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.9416, allocations: 79.83 kB / 0.7643 GB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.9428, allocations: 2.564 MB / 0.7668 GB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.943, allocations: 23.92 kB / 0.7668 GB, free: 78.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.9431, allocations: 16 kB / 0.7669 GB, free: 78.91 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 () * 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.0001252/0.9432, allocations: 156.9 kB / 0.767 GB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.9432, allocations: 31.62 kB / 0.767 GB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.9436, allocations: 370.8 kB / 0.7674 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.9437, allocations: 0 / 0.7674 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9437, allocations: 8 kB / 0.7674 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003434/0.944, allocations: 0.6032 MB / 0.768 GB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.9448, allocations: 0.7663 MB / 0.7687 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9448, allocations: 0 / 0.7687 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.9451, allocations: 59.98 kB / 0.7688 GB, free: 76.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.718e-05/0.9451, allocations: 28.78 kB / 0.7688 GB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.9452, allocations: 4 kB / 0.7688 GB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005145/0.9457, allocations: 1.28 MB / 0.7701 GB, free: 75.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9457, allocations: 3.938 kB / 0.7701 GB, free: 75.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.9462, allocations: 0.5203 MB / 0.7706 GB, free: 74.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.9462, allocations: 100.8 kB / 0.7707 GB, free: 74.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.9463, allocations: 4 kB / 0.7707 GB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.9465, allocations: 23.92 kB / 0.7707 GB, free: 74.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.9466, allocations: 19.97 kB / 0.7707 GB, free: 74.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.9466, allocations: 11.98 kB / 0.7707 GB, free: 74.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.9467, allocations: 190 kB / 0.7709 GB, free: 74.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9467, allocations: 4 kB / 0.7709 GB, free: 74.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.9472, allocations: 119.9 kB / 0.771 GB, free: 74.2 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): 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.0003301/0.9475, allocations: 240.2 kB / 0.7713 GB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.9481, allocations: 449.1 kB / 0.7717 GB, free: 73.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9481, allocations: 0.8125 kB / 0.7717 GB, free: 73.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.9483, allocations: 222.5 kB / 0.7719 GB, free: 73.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.9491, allocations: 156.3 kB / 0.7721 GB, free: 73.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.95, allocations: 0.8021 MB / 0.7728 GB, free: 72.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.9501, allocations: 0.7764 MB / 0.7736 GB, free: 71.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000268/0.9504, allocations: 54.94 kB / 0.7737 GB, free: 71.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.9505, allocations: 31.42 kB / 0.7737 GB, free: 71.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9505, allocations: 0 / 0.7737 GB, free: 71.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01024/0.9607, allocations: 7.27 MB / 0.7808 GB, free: 64.13 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)