Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 252.6 MB / 265.2 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 183.8 kB / 324.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.5754 GB, free: 10.52 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 89.05 kB / 0.6797 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.621e-05, allocations: 3.984 kB / 0.7911 GB, free: 96.66 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.195, allocations: 106.2 MB / 0.8949 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.199/7.394, allocations: 2.171 GB / 3.066 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/7.394, allocations: 74.66 kB / 3.066 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1171/7.511, allocations: 36.63 MB / 3.102 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.734e-06/7.511, allocations: 0 / 3.102 GB, free: 126 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.873e-06/7.511, allocations: 0 / 3.102 GB, free: 126 MB / 0.8698 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.0003533/7.512, allocations: 338.5 kB / 3.102 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/7.512, allocations: 8.031 kB / 3.102 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/7.512, allocations: 23.97 kB / 3.102 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/7.512, allocations: 163.1 kB / 3.102 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/7.512, allocations: 29.64 kB / 3.102 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/7.513, allocations: 4 kB / 3.102 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/7.513, allocations: 45.67 kB / 3.103 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/7.513, allocations: 0 / 3.103 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/7.513, allocations: 3.953 kB / 3.103 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/7.513, allocations: 4 kB / 3.103 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/7.513, allocations: 19.98 kB / 3.103 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/7.513, allocations: 248.9 kB / 3.103 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/7.513, allocations: 34.55 kB / 3.103 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/7.513, allocations: 8.812 kB / 3.103 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/7.514, allocations: 97.09 kB / 3.103 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/7.514, allocations: 34.56 kB / 3.103 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/7.514, allocations: 0 / 3.103 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000269/7.514, allocations: 49.59 kB / 3.103 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/7.514, allocations: 51.41 kB / 3.103 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/7.514, allocations: 97 kB / 3.103 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/7.514, allocations: 29.64 kB / 3.103 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/7.514, allocations: 87.98 kB / 3.103 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/7.514, allocations: 7.984 kB / 3.103 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/7.514, allocations: 4.031 kB / 3.103 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/7.514, allocations: 314.8 kB / 3.104 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/7.514, allocations: 4 kB / 3.104 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/7.514, allocations: 18.58 kB / 3.104 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/7.514, allocations: 11.98 kB / 3.104 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/7.514, allocations: 0 / 3.104 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001128/7.515, allocations: 61.55 kB / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/7.515, allocations: 11.94 kB / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/7.515, allocations: 3.938 kB / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/7.515, allocations: 0 / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/7.515, allocations: 8 kB / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/7.515, allocations: 0 / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/7.515, allocations: 0 / 3.104 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/7.515, allocations: 4 kB / 3.104 GB, free: 124 MB / 0.8698 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 () * 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.142e-05/7.515, allocations: 109 kB / 3.104 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/7.515, allocations: 4 kB / 3.104 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/7.515, allocations: 15.03 kB / 3.104 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/7.515, allocations: 288 / 3.104 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/7.515, allocations: 0 / 3.104 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/7.515, allocations: 7.969 kB / 3.104 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/7.515, allocations: 367.5 kB / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/7.515, allocations: 4.062 kB / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/7.515, allocations: 4 kB / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/7.515, allocations: 0 / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/7.515, allocations: 7.984 kB / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/7.515, allocations: 0 / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.515, allocations: 0 / 3.104 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/7.516, allocations: 87.61 kB / 3.104 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/7.516, allocations: 77.11 kB / 3.104 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/7.516, allocations: 7.984 kB / 3.104 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/7.516, allocations: 7.938 kB / 3.104 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/7.516, allocations: 0 / 3.104 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/7.516, allocations: 0 / 3.104 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.635e-05/7.516, allocations: 83.28 kB / 3.104 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.11e-07/7.516, allocations: 0 / 3.104 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004756/7.516, allocations: 39.98 kB / 3.104 GB, free: 123.1 MB / 0.8698 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 () * 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.000847/7.517, allocations: 0.555 MB / 3.105 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.685e-05/7.517, allocations: 19.94 kB / 3.105 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/7.517, allocations: 0 / 3.105 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/7.517, allocations: 7.938 kB / 3.105 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/7.518, allocations: 8.641 kB / 3.105 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/7.518, allocations: 74.53 kB / 3.105 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/7.518, allocations: 0.6809 MB / 3.106 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.823e-05/7.518, allocations: 7.984 kB / 3.106 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/7.518, allocations: 7.438 kB / 3.106 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/7.518, allocations: 0 / 3.106 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.02158/7.54, allocations: 9.238 MB / 3.115 GB, free: 112.4 MB / 0.8698 GB