Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002509/0.002513, allocations: 353 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.387/1.387, allocations: 165.8 MB / 183.1 MB, free: 5.48 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.796/3.796, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001696/0.001696, allocations: 196.2 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 8 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4043, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.2/13.61, allocations: 4.572 GB / 5.381 GB, free: 142.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/13.61, allocations: 90.64 kB / 5.381 GB, free: 142.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1407/13.75, allocations: 45.21 MB / 5.425 GB, free: 116.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.174e-06/13.75, allocations: 0 / 5.425 GB, free: 116.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.503e-06/13.75, allocations: 0 / 5.425 GB, free: 116.9 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.0003268/13.75, allocations: 343.2 kB / 5.426 GB, free: 116.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/13.75, allocations: 12.02 kB / 5.426 GB, free: 116.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/13.75, allocations: 19.89 kB / 5.426 GB, free: 116.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/13.75, allocations: 167 kB / 5.426 GB, free: 116.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/13.75, allocations: 25.7 kB / 5.426 GB, free: 116.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/13.75, allocations: 3.984 kB / 5.426 GB, free: 116.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/13.75, allocations: 57.42 kB / 5.426 GB, free: 116.2 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/13.75, allocations: 3.938 kB / 5.426 GB, free: 116.2 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/13.75, allocations: 0 / 5.426 GB, free: 116.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/13.75, allocations: 4 kB / 5.426 GB, free: 116.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/13.75, allocations: 15.92 kB / 5.426 GB, free: 116.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/13.75, allocations: 256.6 kB / 5.426 GB, free: 115.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/13.75, allocations: 22.58 kB / 5.426 GB, free: 115.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/13.75, allocations: 12.61 kB / 5.426 GB, free: 115.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/13.75, allocations: 0 / 5.426 GB, free: 115.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/13.75, allocations: 30.56 kB / 5.426 GB, free: 115.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/13.75, allocations: 0 / 5.426 GB, free: 115.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/13.75, allocations: 33.77 kB / 5.426 GB, free: 115.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/13.75, allocations: 55.36 kB / 5.426 GB, free: 115.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/13.75, allocations: 113.7 kB / 5.426 GB, free: 115.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/13.75, allocations: 25.7 kB / 5.426 GB, free: 115.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/13.75, allocations: 88.2 kB / 5.426 GB, free: 115.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.016e-06/13.75, allocations: 11.92 kB / 5.426 GB, free: 115.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/13.75, allocations: 0 / 5.426 GB, free: 115.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/13.75, allocations: 310.8 kB / 5.427 GB, free: 115.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/13.75, allocations: 11.88 kB / 5.427 GB, free: 115.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/13.75, allocations: 22.56 kB / 5.427 GB, free: 115.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/13.75, allocations: 11.69 kB / 5.427 GB, free: 115.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/13.75, allocations: 0 / 5.427 GB, free: 115.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.64e-05/13.75, allocations: 57.34 kB / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/13.75, allocations: 10.81 kB / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/13.75, allocations: 0 / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/13.75, allocations: 0 / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/13.75, allocations: 8 kB / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/13.75, allocations: 8.047 kB / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/13.75, allocations: 0 / 5.427 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/13.75, allocations: 4 kB / 5.427 GB, free: 115 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.092e-05/13.75, allocations: 110.6 kB / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/13.75, allocations: 15.86 kB / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/13.75, allocations: 3.125 kB / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/13.75, allocations: 0 / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/13.75, allocations: 4.031 kB / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/13.75, allocations: 7.938 kB / 5.427 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/13.75, allocations: 342.6 kB / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/13.75, allocations: 0 / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/13.75, allocations: 4.25 kB / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/13.75, allocations: 0 / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/13.75, allocations: 4 kB / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/13.75, allocations: 7.938 kB / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/13.75, allocations: 0 / 5.427 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/13.75, allocations: 68.86 kB / 5.427 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/13.75, allocations: 81.02 kB / 5.427 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/13.75, allocations: 0 / 5.427 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/13.75, allocations: 7.984 kB / 5.427 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/13.75, allocations: 3.953 kB / 5.427 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/13.75, allocations: 4 kB / 5.427 GB, free: 114.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.719e-05/13.75, allocations: 83.09 kB / 5.428 GB, free: 114.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/13.75, allocations: 0 / 5.428 GB, free: 114.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003665/13.75, allocations: 42.08 kB / 5.428 GB, free: 114.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000751/13.75, allocations: 0.552 MB / 5.428 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.705e-05/13.75, allocations: 19.8 kB / 5.428 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/13.75, allocations: 4.062 kB / 5.428 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-06/13.75, allocations: 0 / 5.428 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/13.75, allocations: 4 kB / 5.428 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/13.75, allocations: 116.2 kB / 5.428 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/13.75, allocations: 0.6848 MB / 5.429 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.734e-05/13.75, allocations: 11.98 kB / 5.429 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/13.75, allocations: 11.44 kB / 5.429 GB, free: 112.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.62e-07/13.75, allocations: 0 / 5.429 GB, free: 112.7 MB / 0.573 GB Notification: Performance of Templates: time 0.01599/13.77, allocations: 7.894 MB / 5.437 GB, free: 104.8 MB / 0.573 GB