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.001085/0.001085, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.679/1.679, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 120.5 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.324e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.952/2.065, allocations: 0.6353 GB / 0.9699 GB, free: 122.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/2.066, allocations: 78.73 kB / 0.9699 GB, free: 122.7 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2818/2.347, allocations: 149 MB / 1.115 GB, free: 3.586 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.215e-06/2.347, allocations: 0 / 1.115 GB, free: 3.586 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.358e-05/2.347, allocations: 8 kB / 1.115 GB, free: 3.578 MB / 395.1 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.002368/2.35, allocations: 0.6592 MB / 1.116 GB, free: 2.875 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/2.35, allocations: 8.031 kB / 1.116 GB, free: 2.867 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/2.351, allocations: 77.22 kB / 1.116 GB, free: 2.793 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/2.352, allocations: 334.2 kB / 1.116 GB, free: 2.426 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/2.352, allocations: 15.27 kB / 1.116 GB, free: 2.414 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/2.352, allocations: 24 kB / 1.117 GB, free: 2.391 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004535/2.352, allocations: 261.4 kB / 1.117 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/2.353, allocations: 390.8 kB / 1.117 GB, free: 1.707 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/2.353, allocations: 4 kB / 1.117 GB, free: 1.703 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/2.353, allocations: 0 / 1.117 GB, free: 1.703 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/2.353, allocations: 12 kB / 1.117 GB, free: 1.691 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2849/2.638, allocations: 6.261 MB / 1.123 GB, free: 69.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/2.638, allocations: 247.4 kB / 1.123 GB, free: 69.25 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/2.638, allocations: 136.9 kB / 1.124 GB, free: 69.24 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007145/2.646, allocations: 3.497 MB / 1.127 GB, free: 67.73 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/2.646, allocations: 40.09 kB / 1.127 GB, free: 67.7 MB / 395.1 MB Notification: Performance of pre-optimization done (n=35): time 4.299e-06/2.646, allocations: 0 / 1.127 GB, free: 67.7 MB / 395.1 MB Notification: Performance of matching and sorting (n=45): time 0.005564/2.651, allocations: 1.612 MB / 1.129 GB, free: 67.35 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/2.651, allocations: 57.69 kB / 1.129 GB, free: 67.29 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/2.651, allocations: 236.3 kB / 1.129 GB, free: 67.19 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/2.651, allocations: 25.7 kB / 1.129 GB, free: 67.16 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/2.652, allocations: 219.7 kB / 1.129 GB, free: 67.03 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/2.652, allocations: 162 kB / 1.129 GB, free: 66.95 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/2.652, allocations: 0 / 1.129 GB, free: 66.95 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/2.652, allocations: 346.8 kB / 1.13 GB, free: 66.63 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/2.652, allocations: 135 kB / 1.13 GB, free: 66.63 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/2.652, allocations: 248.2 kB / 1.13 GB, free: 66.5 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/2.654, allocations: 331 kB / 1.13 GB, free: 66.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/2.654, allocations: 0 / 1.13 GB, free: 66.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00189/2.655, allocations: 0.664 MB / 1.131 GB, free: 66.43 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/2.655, allocations: 16.66 kB / 1.131 GB, free: 66.42 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/2.656, allocations: 3.281 kB / 1.131 GB, free: 66.42 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/2.656, allocations: 104.4 kB / 1.131 GB, free: 66.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/2.656, allocations: 112.3 kB / 1.131 GB, free: 66.4 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/2.658, allocations: 2.52 MB / 1.134 GB, free: 64.17 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/2.659, allocations: 36.52 kB / 1.134 GB, free: 64.17 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/2.659, allocations: 22.3 kB / 1.134 GB, free: 64.17 MB / 395.1 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 () * 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.0001198/2.659, allocations: 123.5 kB / 1.134 GB, free: 64.06 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/2.659, allocations: 31.94 kB / 1.134 GB, free: 64.04 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/2.66, allocations: 0.8096 MB / 1.135 GB, free: 63.95 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/2.66, allocations: 13.53 kB / 1.135 GB, free: 63.95 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/2.66, allocations: 0 / 1.135 GB, free: 63.95 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/2.661, allocations: 0.9112 MB / 1.136 GB, free: 63.56 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/2.664, allocations: 1.388 MB / 1.137 GB, free: 63.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/2.664, allocations: 1.125 kB / 1.137 GB, free: 63.23 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/2.664, allocations: 81.19 kB / 1.137 GB, free: 63.23 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/2.664, allocations: 183.9 kB / 1.137 GB, free: 63.21 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/2.664, allocations: 6.984 kB / 1.137 GB, free: 63.21 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009244/2.665, allocations: 1.355 MB / 1.139 GB, free: 62.17 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.665, allocations: 0 / 1.139 GB, free: 62.17 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/2.667, allocations: 1.169 MB / 1.14 GB, free: 61.96 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/2.667, allocations: 123.4 kB / 1.14 GB, free: 61.84 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/2.667, allocations: 1.219 kB / 1.14 GB, free: 61.84 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/2.667, allocations: 22.14 kB / 1.14 GB, free: 61.84 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/2.667, allocations: 27.12 kB / 1.14 GB, free: 61.84 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/2.667, allocations: 21.77 kB / 1.14 GB, free: 61.84 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001732/2.668, allocations: 177.6 kB / 1.14 GB, free: 61.76 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.2e-07/2.668, allocations: 0 / 1.14 GB, free: 61.76 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001319/2.669, allocations: 229 kB / 1.14 GB, free: 61.76 MB / 395.1 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 () * 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/2.67, allocations: 457 kB / 1.141 GB, free: 61.67 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/2.671, allocations: 0.6382 MB / 1.141 GB, free: 61.57 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.671, allocations: 3.625 kB / 1.141 GB, free: 61.57 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/2.672, allocations: 385.8 kB / 1.142 GB, free: 61.56 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/2.673, allocations: 196.5 kB / 1.142 GB, free: 61.55 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/2.674, allocations: 0.9388 MB / 1.143 GB, free: 61.21 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/2.675, allocations: 0.8518 MB / 1.144 GB, free: 60.5 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0002878/2.675, allocations: 64.53 kB / 1.144 GB, free: 60.49 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/2.675, allocations: 43.19 kB / 1.144 GB, free: 60.48 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/2.675, allocations: 0 / 1.144 GB, free: 60.48 MB / 395.1 MB Notification: Performance of Templates: time 0.01851/2.693, allocations: 10.99 MB / 1.154 GB, free: 59.81 MB / 395.1 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)