Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001185/0.001185, allocations: 178.3 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.241/1.241, 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.001629/0.001629, allocations: 106.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08457, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.221, allocations: 0.6361 GB / 0.9828 GB, free: 21.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.221, allocations: 77.14 kB / 0.9829 GB, free: 21.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3978/1.619, allocations: 150.4 MB / 1.13 GB, free: 44.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.619, allocations: 0 / 1.13 GB, free: 44.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.841e-05/1.619, allocations: 8 kB / 1.13 GB, free: 44.34 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001268/1.62, allocations: 0.6869 MB / 1.13 GB, free: 43.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.62, allocations: 12.03 kB / 1.13 GB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/1.621, allocations: 84.44 kB / 1.131 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/1.621, allocations: 330.3 kB / 1.131 GB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/1.621, allocations: 33 kB / 1.131 GB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/1.622, allocations: 36 kB / 1.131 GB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/1.622, allocations: 463.5 kB / 1.131 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.622, allocations: 0 / 1.131 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/1.622, allocations: 20 kB / 1.131 GB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/1.622, allocations: 8 kB / 1.131 GB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/1.623, allocations: 303.7 kB / 1.132 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009354/1.632, allocations: 6.3 MB / 1.138 GB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/1.632, allocations: 286.7 kB / 1.138 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00686/1.639, allocations: 3.444 MB / 1.141 GB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.639, allocations: 35.16 kB / 1.141 GB, free: 31.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.532e-06/1.639, allocations: 0 / 1.141 GB, free: 31.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.008892/1.648, allocations: 2.405 MB / 1.144 GB, free: 28.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.648, allocations: 59.36 kB / 1.144 GB, free: 28.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/1.648, allocations: 266.4 kB / 1.144 GB, free: 28.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.648, allocations: 37.7 kB / 1.144 GB, free: 28.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/1.649, allocations: 220 kB / 1.144 GB, free: 28.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/1.649, allocations: 161.6 kB / 1.145 GB, free: 28.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/1.649, allocations: 8 kB / 1.145 GB, free: 28.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/1.649, allocations: 354.8 kB / 1.145 GB, free: 27.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/1.649, allocations: 149.1 kB / 1.145 GB, free: 27.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/1.649, allocations: 271.7 kB / 1.145 GB, free: 27.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/1.649, allocations: 193.3 kB / 1.145 GB, free: 27.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.649, allocations: 7.984 kB / 1.145 GB, free: 27.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008611/1.65, allocations: 0.5839 MB / 1.146 GB, free: 26.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.65, allocations: 8 kB / 1.146 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.65, allocations: 4 kB / 1.146 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007461/1.658, allocations: 0.8613 MB / 1.147 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/1.658, allocations: 107.8 kB / 1.147 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.66, allocations: 2.471 MB / 1.149 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/1.66, allocations: 39.97 kB / 1.149 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.66, allocations: 23.94 kB / 1.149 GB, free: 22.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001668/1.66, allocations: 181.6 kB / 1.15 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/1.66, allocations: 39.53 kB / 1.15 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008722/1.661, allocations: 0.859 MB / 1.151 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.661, allocations: 8 kB / 1.151 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/1.661, allocations: 0 / 1.151 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006687/1.662, allocations: 0.9613 MB / 1.151 GB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/1.663, allocations: 1.487 MB / 1.153 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.663, allocations: 3.984 kB / 1.153 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/1.663, allocations: 83.89 kB / 1.153 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.666, allocations: 0.5906 MB / 1.154 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/1.666, allocations: 15.98 kB / 1.154 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006002/1.667, allocations: 1.277 MB / 1.155 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.667, allocations: 7.891 kB / 1.155 GB, free: 17.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.668, allocations: 1.228 MB / 1.156 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/1.668, allocations: 120.5 kB / 1.156 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/1.668, allocations: 20 kB / 1.156 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.669, allocations: 27.84 kB / 1.156 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/1.669, allocations: 31.95 kB / 1.156 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/1.669, allocations: 15.98 kB / 1.156 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001476/1.669, allocations: 213.9 kB / 1.156 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.669, allocations: 0 / 1.156 GB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008223/1.67, allocations: 243.9 kB / 1.157 GB, free: 15.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/1.671, allocations: 441.5 kB / 1.157 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/1.672, allocations: 0.6943 MB / 1.158 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.672, allocations: 3.984 kB / 1.158 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008832/1.673, allocations: 432.5 kB / 1.158 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/1.674, allocations: 232.5 kB / 1.158 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/1.675, allocations: 1.47 MB / 1.16 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.676, allocations: 0.8483 MB / 1.161 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003192/1.676, allocations: 68.34 kB / 1.161 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/1.676, allocations: 39.44 kB / 1.161 GB, free: 10.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/1.676, allocations: 0 / 1.161 GB, free: 10.79 MB / 410.7 MB Notification: Performance of Templates: time 0.183/1.859, allocations: 12.74 MB / 1.173 GB, free: 88.82 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)