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.211/2.211, allocations: 253.1 MB / 260.6 MB, free: 7.496 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.001412/0.001412, allocations: 180.6 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.00116/0.00116, allocations: 105.9 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.198/7.4, allocations: 2.171 GB / 3.06 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/7.401, allocations: 74.08 kB / 3.06 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1312/7.532, allocations: 35.98 MB / 3.095 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/7.532, allocations: 0 / 3.095 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.674e-06/7.532, allocations: 0 / 3.095 GB, free: 148.6 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.0003342/7.532, allocations: 338.5 kB / 3.096 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/7.532, allocations: 12.03 kB / 3.096 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/7.533, allocations: 19.97 kB / 3.096 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/7.533, allocations: 163.1 kB / 3.096 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/7.533, allocations: 29.64 kB / 3.096 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/7.533, allocations: 0 / 3.096 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.312e-05/7.533, allocations: 23.48 kB / 3.096 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/7.533, allocations: 45.38 kB / 3.096 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/7.533, allocations: 3.953 kB / 3.096 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/7.533, allocations: 4 kB / 3.096 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/7.533, allocations: 3.984 kB / 3.096 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/7.534, allocations: 325.2 kB / 3.096 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/7.534, allocations: 22.52 kB / 3.096 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/7.534, allocations: 8.859 kB / 3.096 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/7.534, allocations: 3.938 kB / 3.096 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/7.534, allocations: 34.52 kB / 3.096 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/7.534, allocations: 0 / 3.096 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000246/7.534, allocations: 49.22 kB / 3.096 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/7.534, allocations: 51.41 kB / 3.096 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/7.534, allocations: 96.55 kB / 3.097 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/7.534, allocations: 29.73 kB / 3.097 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/7.534, allocations: 91.98 kB / 3.097 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/7.534, allocations: 3.906 kB / 3.097 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/7.534, allocations: 0 / 3.097 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/7.534, allocations: 314.5 kB / 3.097 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/7.534, allocations: 4 kB / 3.097 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/7.534, allocations: 30.31 kB / 3.097 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/7.534, allocations: 8 kB / 3.097 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/7.534, allocations: 0 / 3.097 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.165e-05/7.535, allocations: 49.62 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/7.535, allocations: 4 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/7.535, allocations: 4 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/7.535, allocations: 4.047 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/7.535, allocations: 4 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/7.535, allocations: 4.094 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/7.535, allocations: 7.984 kB / 3.097 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/7.535, allocations: 3.312 kB / 3.097 GB, free: 146.7 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 5.761e-05/7.535, allocations: 109 kB / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/7.535, allocations: 0 / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/7.535, allocations: 7.703 kB / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/7.535, allocations: 3.953 kB / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/7.535, allocations: 4 kB / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/7.535, allocations: 0 / 3.097 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/7.535, allocations: 331.1 kB / 3.097 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/7.535, allocations: 0 / 3.097 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/7.535, allocations: 0 / 3.097 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/7.535, allocations: 0 / 3.097 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/7.535, allocations: 7.938 kB / 3.098 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/7.535, allocations: 0 / 3.098 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/7.535, allocations: 3.938 kB / 3.098 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.263e-05/7.535, allocations: 60.17 kB / 3.098 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/7.535, allocations: 77.11 kB / 3.098 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/7.535, allocations: 256 / 3.098 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/7.536, allocations: 19.88 kB / 3.098 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/7.536, allocations: 0 / 3.098 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/7.536, allocations: 4 kB / 3.098 GB, free: 146 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.425e-05/7.536, allocations: 86.78 kB / 3.098 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/7.536, allocations: 0 / 3.098 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003846/7.536, allocations: 29.36 kB / 3.098 GB, free: 145.9 MB / 0.8698 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 () * 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.0008234/7.537, allocations: 0.6523 MB / 3.098 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001/7.537, allocations: 8 kB / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/7.537, allocations: 0 / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/7.537, allocations: 3.375 kB / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/7.537, allocations: 5.375 kB / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/7.537, allocations: 59.88 kB / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/7.538, allocations: 0.6768 MB / 3.099 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.924e-05/7.538, allocations: 8.25 kB / 3.099 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/7.538, allocations: 7.438 kB / 3.099 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/7.538, allocations: 0 / 3.099 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.009858/7.548, allocations: 3.597 MB / 3.103 GB, free: 140.9 MB / 0.8698 GB