Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002579/0.002583, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.479/1.479, allocations: 165.8 MB / 183.1 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.672/3.672, allocations: 410.8 MB / 0.6001 GB, free: 15.22 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001764, allocations: 195 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004589, allocations: 11.94 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4094, allocations: 67.45 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.389, allocations: 2.015 GB / 2.823 GB, free: 81.75 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/6.389, allocations: 84.27 kB / 2.823 GB, free: 81.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/6.505, allocations: 37.4 MB / 2.86 GB, free: 50.5 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.255e-06/6.505, allocations: 0 / 2.86 GB, free: 50.5 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.353e-06/6.505, allocations: 0 / 2.86 GB, free: 50.5 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003531/6.505, allocations: 355.2 kB / 2.86 GB, free: 50.11 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/6.505, allocations: 8.031 kB / 2.86 GB, free: 50.1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/6.505, allocations: 27.97 kB / 2.86 GB, free: 50.07 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.157e-05/6.506, allocations: 159.1 kB / 2.86 GB, free: 49.88 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/6.506, allocations: 29.66 kB / 2.861 GB, free: 49.84 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/6.506, allocations: 4 kB / 2.861 GB, free: 49.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/6.506, allocations: 49.61 kB / 2.861 GB, free: 49.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/6.506, allocations: 0 / 2.861 GB, free: 49.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/6.506, allocations: 8 kB / 2.861 GB, free: 49.78 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/6.506, allocations: 0 / 2.861 GB, free: 49.78 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/6.506, allocations: 23.92 kB / 2.861 GB, free: 49.75 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/6.506, allocations: 252.9 kB / 2.861 GB, free: 49.46 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/6.506, allocations: 22.58 kB / 2.861 GB, free: 49.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/6.506, allocations: 16.84 kB / 2.861 GB, free: 49.41 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/6.507, allocations: 89.17 kB / 2.861 GB, free: 49.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/6.507, allocations: 34.55 kB / 2.861 GB, free: 49.26 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/6.507, allocations: 0 / 2.861 GB, free: 49.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0002765/6.507, allocations: 53.62 kB / 2.861 GB, free: 49.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/6.507, allocations: 51.41 kB / 2.861 GB, free: 49.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/6.507, allocations: 113.8 kB / 2.861 GB, free: 49.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/6.507, allocations: 25.7 kB / 2.861 GB, free: 48.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/6.507, allocations: 92.11 kB / 2.861 GB, free: 48.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/6.507, allocations: 3.906 kB / 2.861 GB, free: 48.89 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/6.507, allocations: 4 kB / 2.861 GB, free: 48.88 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/6.507, allocations: 314.8 kB / 2.862 GB, free: 48.57 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/6.507, allocations: 4 kB / 2.862 GB, free: 48.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/6.507, allocations: 30.56 kB / 2.862 GB, free: 48.52 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/6.507, allocations: 15.88 kB / 2.862 GB, free: 48.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/6.507, allocations: 0 / 2.862 GB, free: 48.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.744e-05/6.508, allocations: 57.53 kB / 2.862 GB, free: 48.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/6.508, allocations: 4 kB / 2.862 GB, free: 48.44 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/6.508, allocations: 3.984 kB / 2.862 GB, free: 48.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/6.508, allocations: 0 / 2.862 GB, free: 48.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/6.508, allocations: 16.09 kB / 2.862 GB, free: 48.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/6.508, allocations: 0 / 2.862 GB, free: 48.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/6.508, allocations: 4 kB / 2.862 GB, free: 48.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/6.508, allocations: 4 kB / 2.862 GB, free: 48.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/6.508, allocations: 121.3 kB / 2.862 GB, free: 48.29 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/6.508, allocations: 0 / 2.862 GB, free: 48.29 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/6.508, allocations: 7.125 kB / 2.862 GB, free: 48.28 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/6.508, allocations: 0 / 2.862 GB, free: 48.28 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/6.508, allocations: 0 / 2.862 GB, free: 48.28 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/6.508, allocations: 8 kB / 2.862 GB, free: 48.27 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/6.508, allocations: 359.5 kB / 2.862 GB, free: 47.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/6.508, allocations: 0 / 2.862 GB, free: 47.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/6.508, allocations: 4 kB / 2.862 GB, free: 47.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/6.508, allocations: 0 / 2.862 GB, free: 47.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/6.508, allocations: 0 / 2.862 GB, free: 47.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/6.508, allocations: 3.938 kB / 2.862 GB, free: 47.85 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/6.508, allocations: 7.938 kB / 2.862 GB, free: 47.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.372e-05/6.508, allocations: 81.91 kB / 2.862 GB, free: 47.74 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/6.508, allocations: 77.11 kB / 2.862 GB, free: 47.65 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/6.508, allocations: 4 kB / 2.862 GB, free: 47.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/6.509, allocations: 4 kB / 2.862 GB, free: 47.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/6.509, allocations: 3.984 kB / 2.862 GB, free: 47.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/6.509, allocations: 4.031 kB / 2.862 GB, free: 47.63 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.959e-05/6.509, allocations: 79.28 kB / 2.862 GB, free: 47.55 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.9e-07/6.509, allocations: 0 / 2.862 GB, free: 47.55 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003561/6.509, allocations: 39.98 kB / 2.863 GB, free: 47.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/6.51, allocations: 0.5457 MB / 2.863 GB, free: 46.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.235e-05/6.51, allocations: 15.94 kB / 2.863 GB, free: 46.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/6.51, allocations: 0 / 2.863 GB, free: 46.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/6.51, allocations: 15.88 kB / 2.863 GB, free: 46.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/6.51, allocations: 11.12 kB / 2.863 GB, free: 46.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/6.51, allocations: 125.5 kB / 2.863 GB, free: 46.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/6.511, allocations: 0.677 MB / 2.864 GB, free: 46.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.764e-05/6.511, allocations: 11.94 kB / 2.864 GB, free: 46.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/6.511, allocations: 11.44 kB / 2.864 GB, free: 46.04 MB / 0.573 GB Notification: Performance of SimCode: time 8.22e-07/6.511, allocations: 0 / 2.864 GB, free: 46.04 MB / 0.573 GB Notification: Performance of Templates: time 0.01581/6.527, allocations: 7.609 MB / 2.871 GB, free: 38.43 MB / 0.573 GB