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.001179/0.001179, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.749/1.749, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001769/0.001769, allocations: 116 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.665e-05, allocations: 11.94 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.041, allocations: 0.6354 GB / 0.9699 GB, free: 94.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/2.042, allocations: 74.97 kB / 0.97 GB, free: 94.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222/3.264, allocations: 461.2 MB / 1.42 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/3.264, allocations: 4 kB / 1.42 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/3.264, allocations: 4 kB / 1.42 GB, free: 0.7812 MB / 394.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.001492/3.266, allocations: 0.7108 MB / 1.421 GB, free: 32 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/3.266, allocations: 18.86 kB / 1.421 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2497/3.515, allocations: 51.34 kB / 1.421 GB, free: 89.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/3.516, allocations: 283.1 kB / 1.421 GB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/3.516, allocations: 7.719 kB / 1.421 GB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/3.516, allocations: 21.97 kB / 1.421 GB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004215/3.516, allocations: 177 kB / 1.422 GB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/3.517, allocations: 287.8 kB / 1.422 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/3.517, allocations: 0 / 1.422 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/3.517, allocations: 0 / 1.422 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/3.517, allocations: 7.25 kB / 1.422 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/3.529, allocations: 5.455 MB / 1.427 GB, free: 86.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/3.53, allocations: 160.6 kB / 1.427 GB, free: 86.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/3.53, allocations: 81.14 kB / 1.427 GB, free: 86.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00952/3.539, allocations: 3.485 MB / 1.431 GB, free: 84.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/3.539, allocations: 41 kB / 1.431 GB, free: 84.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.026e-06/3.539, allocations: 0 / 1.431 GB, free: 84.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.004192/3.544, allocations: 0.9827 MB / 1.432 GB, free: 84.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/3.544, allocations: 57.61 kB / 1.432 GB, free: 84.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/3.544, allocations: 198.9 kB / 1.432 GB, free: 84.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/3.544, allocations: 27.31 kB / 1.432 GB, free: 84.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/3.544, allocations: 191.6 kB / 1.432 GB, free: 84.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/3.544, allocations: 92.12 kB / 1.432 GB, free: 83.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/3.544, allocations: 0 / 1.432 GB, free: 83.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/3.544, allocations: 336.1 kB / 1.433 GB, free: 83.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/3.545, allocations: 82.81 kB / 1.433 GB, free: 83.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/3.545, allocations: 174.5 kB / 1.433 GB, free: 83.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/3.546, allocations: 195.2 kB / 1.433 GB, free: 83.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/3.546, allocations: 1.031 kB / 1.433 GB, free: 83.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001348/3.547, allocations: 432.9 kB / 1.434 GB, free: 83.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/3.547, allocations: 6.438 kB / 1.434 GB, free: 83.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/3.547, allocations: 3.125 kB / 1.434 GB, free: 83.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/3.547, allocations: 74.95 kB / 1.434 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/3.548, allocations: 70.75 kB / 1.434 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/3.549, allocations: 1.884 MB / 1.436 GB, free: 81.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/3.55, allocations: 14.69 kB / 1.436 GB, free: 81.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/3.55, allocations: 14.12 kB / 1.436 GB, free: 81.74 MB / 394.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 () * 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.0001253/3.55, allocations: 116.5 kB / 1.436 GB, free: 81.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/3.55, allocations: 32.83 kB / 1.436 GB, free: 81.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/3.551, allocations: 463.8 kB / 1.436 GB, free: 81.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/3.551, allocations: 4.312 kB / 1.436 GB, free: 81.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/3.551, allocations: 1.031 kB / 1.436 GB, free: 81.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009502/3.552, allocations: 0.6975 MB / 1.437 GB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/3.553, allocations: 0.8905 MB / 1.438 GB, free: 80.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/3.553, allocations: 3.188 kB / 1.438 GB, free: 80.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/3.554, allocations: 45.75 kB / 1.438 GB, free: 80.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/3.554, allocations: 94 kB / 1.438 GB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/3.554, allocations: 3.969 kB / 1.438 GB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004872/3.554, allocations: 0.6785 MB / 1.439 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/3.554, allocations: 5.859 kB / 1.439 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/3.555, allocations: 0.6988 MB / 1.439 GB, free: 80.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/3.556, allocations: 102 kB / 1.439 GB, free: 79.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/3.556, allocations: 5.062 kB / 1.439 GB, free: 79.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/3.556, allocations: 12.22 kB / 1.439 GB, free: 79.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/3.556, allocations: 22.67 kB / 1.439 GB, free: 79.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/3.556, allocations: 7.5 kB / 1.439 GB, free: 79.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001451/3.556, allocations: 153.5 kB / 1.44 GB, free: 79.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/3.556, allocations: 0 / 1.44 GB, free: 79.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001518/3.558, allocations: 195 kB / 1.44 GB, free: 79.86 MB / 394.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): 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001999/3.56, allocations: 499.3 kB / 1.44 GB, free: 79.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009544/3.561, allocations: 420.8 kB / 1.441 GB, free: 79.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/3.561, allocations: 1.969 kB / 1.441 GB, free: 79.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/3.561, allocations: 208.9 kB / 1.441 GB, free: 79.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/3.562, allocations: 129.9 kB / 1.441 GB, free: 79.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/3.563, allocations: 0.5549 MB / 1.441 GB, free: 79.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/3.564, allocations: 0.7854 MB / 1.442 GB, free: 78.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003378/3.564, allocations: 45.84 kB / 1.442 GB, free: 78.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/3.564, allocations: 32.05 kB / 1.442 GB, free: 78.77 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/3.564, allocations: 0 / 1.442 GB, free: 78.77 MB / 394.7 MB Notification: Performance of Templates: time 0.01739/3.582, allocations: 8.944 MB / 1.451 GB, free: 78.3 MB / 394.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)