Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.375/5.375, allocations: 0.5623 GB / 0.5775 GB, free: 3.406 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002459/0.002459, allocations: 354.8 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.284/4.284, allocations: 410.7 MB / 1.113 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001928/0.001927, allocations: 188.3 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005026, allocations: 12 kB / 1.349 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7438, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.42/15.16, allocations: 4.611 GB / 6.072 GB, free: 259.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/15.16, allocations: 89.58 kB / 6.072 GB, free: 259.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1477/15.31, allocations: 45.22 MB / 6.116 GB, free: 236.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.268e-06/15.31, allocations: 3.984 kB / 6.116 GB, free: 236.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.935e-06/15.31, allocations: 0 / 6.116 GB, free: 236.9 MB / 0.948 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.0003505/15.31, allocations: 334.9 kB / 6.117 GB, free: 236.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/15.31, allocations: 11.62 kB / 6.117 GB, free: 236.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/15.31, allocations: 23.98 kB / 6.117 GB, free: 236.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/15.31, allocations: 163 kB / 6.117 GB, free: 236.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/15.31, allocations: 25.7 kB / 6.117 GB, free: 236.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/15.31, allocations: 4 kB / 6.117 GB, free: 236.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/15.31, allocations: 49.5 kB / 6.117 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/15.31, allocations: 0 / 6.117 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/15.31, allocations: 0 / 6.117 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/15.31, allocations: 8 kB / 6.117 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/15.31, allocations: 19.67 kB / 6.117 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/15.31, allocations: 256.4 kB / 6.117 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/15.31, allocations: 22.52 kB / 6.117 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/15.31, allocations: 4.859 kB / 6.117 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/15.31, allocations: 0 / 6.117 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/15.31, allocations: 46.19 kB / 6.117 GB, free: 235.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/15.31, allocations: 0 / 6.117 GB, free: 235.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000136/15.31, allocations: 37.62 kB / 6.117 GB, free: 235.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/15.31, allocations: 51.41 kB / 6.117 GB, free: 235.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/15.31, allocations: 108 kB / 6.118 GB, free: 235.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/15.31, allocations: 29.64 kB / 6.118 GB, free: 235.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/15.31, allocations: 100.3 kB / 6.118 GB, free: 235.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/15.31, allocations: 8.062 kB / 6.118 GB, free: 235.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/15.31, allocations: 0 / 6.118 GB, free: 235.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/15.31, allocations: 314.5 kB / 6.118 GB, free: 235.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/15.31, allocations: 4 kB / 6.118 GB, free: 235.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/15.31, allocations: 22.56 kB / 6.118 GB, free: 235.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/15.31, allocations: 11.7 kB / 6.118 GB, free: 235.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/15.31, allocations: 8 kB / 6.118 GB, free: 235.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/15.31, allocations: 53.38 kB / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/15.31, allocations: 4 kB / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/15.31, allocations: 0 / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/15.31, allocations: 0 / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/15.31, allocations: 8 kB / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/15.31, allocations: 3.938 kB / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/15.31, allocations: 3.906 kB / 6.118 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/15.31, allocations: 4 kB / 6.118 GB, free: 235 MB / 0.948 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.645e-05/15.31, allocations: 125.7 kB / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/15.31, allocations: 0 / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/15.31, allocations: 3.125 kB / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/15.31, allocations: 0 / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/15.31, allocations: 0 / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/15.31, allocations: 0 / 6.118 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/15.31, allocations: 353.5 kB / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/15.31, allocations: 4.031 kB / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/15.31, allocations: 3.938 kB / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/15.31, allocations: 96 / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/15.31, allocations: 3.984 kB / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/15.31, allocations: 0 / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/15.31, allocations: 0 / 6.119 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.515e-05/15.31, allocations: 68.91 kB / 6.119 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/15.31, allocations: 81.09 kB / 6.119 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/15.31, allocations: 8.031 kB / 6.119 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/15.31, allocations: 0 / 6.119 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/15.31, allocations: 4 kB / 6.119 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-06/15.31, allocations: 0 / 6.119 GB, free: 234.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.944e-05/15.31, allocations: 83.52 kB / 6.119 GB, free: 234.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/15.31, allocations: 0 / 6.119 GB, free: 234.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004047/15.31, allocations: 42.12 kB / 6.119 GB, free: 234.2 MB / 0.948 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.0007705/15.31, allocations: 0.5621 MB / 6.119 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001038/15.31, allocations: 15.81 kB / 6.119 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/15.31, allocations: 0 / 6.119 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/15.31, allocations: 4 kB / 6.119 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/15.31, allocations: 12.2 kB / 6.119 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/15.31, allocations: 124 kB / 6.12 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/15.31, allocations: 0.6809 MB / 6.12 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.048e-05/15.31, allocations: 4 kB / 6.12 GB, free: 232.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/15.31, allocations: 11.44 kB / 6.12 GB, free: 232.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/15.31, allocations: 0 / 6.12 GB, free: 232.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01677/15.33, allocations: 7.889 MB / 6.128 GB, free: 224.9 MB / 0.948 GB