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.0009861/0.0009861, allocations: 182.2 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.534/1.534, allocations: 194.3 MB / 208.4 MB, free: 6.637 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.001757/0.001757, allocations: 126.2 kB / 253.5 MB, free: 9.508 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.497e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08819, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.506/1.594, allocations: 0.636 GB / 0.9772 GB, free: 43.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.594, allocations: 77.95 kB / 0.9773 GB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5034/2.098, allocations: 149.5 MB / 1.123 GB, free: 70.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.098, allocations: 0 / 1.123 GB, free: 70.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/2.098, allocations: 12 kB / 1.123 GB, free: 70.6 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.001209/2.099, allocations: 0.6628 MB / 1.124 GB, free: 69.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/2.099, allocations: 8.031 kB / 1.124 GB, free: 69.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/2.1, allocations: 71.5 kB / 1.124 GB, free: 69.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/2.1, allocations: 340.7 kB / 1.124 GB, free: 69.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/2.1, allocations: 28.78 kB / 1.124 GB, free: 69.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/2.1, allocations: 44 kB / 1.124 GB, free: 69.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/2.101, allocations: 448.4 kB / 1.125 GB, free: 68.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/2.101, allocations: 8 kB / 1.125 GB, free: 68.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/2.101, allocations: 16 kB / 1.125 GB, free: 68.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/2.101, allocations: 8 kB / 1.125 GB, free: 68.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/2.101, allocations: 298.9 kB / 1.125 GB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009809/2.111, allocations: 6.331 MB / 1.131 GB, free: 61.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/2.112, allocations: 282.8 kB / 1.132 GB, free: 61.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/2.112, allocations: 140.9 kB / 1.132 GB, free: 61.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007146/2.119, allocations: 3.511 MB / 1.135 GB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/2.119, allocations: 42.42 kB / 1.135 GB, free: 57.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.725e-06/2.119, allocations: 0 / 1.135 GB, free: 57.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01029/2.129, allocations: 2.266 MB / 1.137 GB, free: 55.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/2.13, allocations: 55.41 kB / 1.138 GB, free: 54.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/2.13, allocations: 271.3 kB / 1.138 GB, free: 54.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/2.13, allocations: 33.7 kB / 1.138 GB, free: 54.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/2.13, allocations: 224 kB / 1.138 GB, free: 54.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/2.13, allocations: 165.7 kB / 1.138 GB, free: 54.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/2.13, allocations: 12 kB / 1.138 GB, free: 54.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/2.13, allocations: 346.8 kB / 1.139 GB, free: 53.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/2.131, allocations: 141.1 kB / 1.139 GB, free: 53.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/2.131, allocations: 271.7 kB / 1.139 GB, free: 53.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/2.131, allocations: 185.6 kB / 1.139 GB, free: 53.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.131, allocations: 0 / 1.139 GB, free: 53.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000967/2.132, allocations: 0.5915 MB / 1.14 GB, free: 52.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/2.132, allocations: 7.281 kB / 1.14 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/2.132, allocations: 4.469 kB / 1.14 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008842/2.141, allocations: 0.8727 MB / 1.141 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/2.142, allocations: 107.8 kB / 1.141 GB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/2.143, allocations: 2.451 MB / 1.143 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/2.144, allocations: 39.95 kB / 1.143 GB, free: 49.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/2.144, allocations: 24 kB / 1.143 GB, free: 48.99 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 () * 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.0001415/2.144, allocations: 136.9 kB / 1.143 GB, free: 48.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/2.144, allocations: 35.62 kB / 1.143 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/2.145, allocations: 0.8473 MB / 1.144 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/2.145, allocations: 19.98 kB / 1.144 GB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/2.145, allocations: 4 kB / 1.144 GB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006967/2.146, allocations: 0.9494 MB / 1.145 GB, free: 46.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/2.147, allocations: 1.481 MB / 1.146 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.147, allocations: 11.97 kB / 1.146 GB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/2.147, allocations: 79.88 kB / 1.147 GB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/2.15, allocations: 0.5749 MB / 1.147 GB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/2.15, allocations: 19.98 kB / 1.147 GB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006581/2.151, allocations: 1.277 MB / 1.148 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.151, allocations: 128 / 1.148 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/2.152, allocations: 1.217 MB / 1.15 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/2.152, allocations: 124.5 kB / 1.15 GB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/2.152, allocations: 12 kB / 1.15 GB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/2.153, allocations: 31.83 kB / 1.15 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/2.153, allocations: 27.95 kB / 1.15 GB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/2.153, allocations: 16 kB / 1.15 GB, free: 41.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001989/2.153, allocations: 203.1 kB / 1.15 GB, free: 41.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/2.153, allocations: 0 / 1.15 GB, free: 41.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00106/2.154, allocations: 251.8 kB / 1.15 GB, free: 41.42 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 () * 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.001039/2.155, allocations: 449.4 kB / 1.151 GB, free: 40.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/2.156, allocations: 0.6749 MB / 1.151 GB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.156, allocations: 0 / 1.151 GB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008744/2.157, allocations: 440.1 kB / 1.152 GB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/2.158, allocations: 225.5 kB / 1.152 GB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/2.159, allocations: 0.9776 MB / 1.153 GB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/2.16, allocations: 0.8441 MB / 1.154 GB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000291/2.16, allocations: 72.34 kB / 1.154 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/2.16, allocations: 35.44 kB / 1.154 GB, free: 37.65 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/2.16, allocations: 4 kB / 1.154 GB, free: 37.64 MB / 410.7 MB Notification: Performance of Templates: time 0.01672/2.177, allocations: 13.07 MB / 1.167 GB, free: 24.55 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)