Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.823/4.823, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 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.002515/0.002515, allocations: 358 kB / 0.6446 GB, free: 185.6 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.11/4.11, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001871/0.00187, allocations: 178.9 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 13 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.977/7.202, allocations: 2.053 GB / 3.515 GB, free: 168.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/7.203, allocations: 75.84 kB / 3.515 GB, free: 168.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1183/7.321, allocations: 37.42 MB / 3.551 GB, free: 137.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/7.321, allocations: 0 / 3.551 GB, free: 137.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.093e-06/7.321, allocations: 0 / 3.551 GB, free: 137.5 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.0003551/7.321, allocations: 338.7 kB / 3.552 GB, free: 137.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/7.321, allocations: 8.031 kB / 3.552 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/7.322, allocations: 36.39 kB / 3.552 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.254e-05/7.322, allocations: 167.1 kB / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/7.322, allocations: 25.7 kB / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/7.322, allocations: 7.938 kB / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/7.322, allocations: 45.61 kB / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/7.322, allocations: 0 / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/7.322, allocations: 4 kB / 3.552 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/7.322, allocations: 11.81 kB / 3.552 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.077e-05/7.322, allocations: 19.61 kB / 3.552 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/7.323, allocations: 252.2 kB / 3.552 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/7.323, allocations: 26.52 kB / 3.552 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/7.323, allocations: 7.734 kB / 3.552 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/7.323, allocations: 93.16 kB / 3.552 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/7.323, allocations: 41.77 kB / 3.552 GB, free: 136.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/7.323, allocations: 0 / 3.552 GB, free: 136.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002679/7.323, allocations: 49.25 kB / 3.552 GB, free: 136.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/7.323, allocations: 51.41 kB / 3.552 GB, free: 136.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.756e-05/7.323, allocations: 101.8 kB / 3.552 GB, free: 136 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/7.323, allocations: 32.95 kB / 3.552 GB, free: 136 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/7.323, allocations: 88.05 kB / 3.553 GB, free: 135.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/7.323, allocations: 8.031 kB / 3.553 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/7.323, allocations: 0 / 3.553 GB, free: 135.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/7.324, allocations: 322.2 kB / 3.553 GB, free: 135.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/7.324, allocations: 4 kB / 3.553 GB, free: 135.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/7.324, allocations: 22.02 kB / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/7.324, allocations: 8 kB / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.324, allocations: 7.984 kB / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.583e-05/7.324, allocations: 49.52 kB / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/7.324, allocations: 11.08 kB / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/7.324, allocations: 0 / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/7.324, allocations: 0 / 3.553 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/7.324, allocations: 11.98 kB / 3.553 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/7.324, allocations: 0 / 3.553 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/7.324, allocations: 11.66 kB / 3.553 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/7.324, allocations: 0 / 3.553 GB, free: 135.4 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.321e-05/7.324, allocations: 122.3 kB / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/7.324, allocations: 0 / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/7.324, allocations: 10.45 kB / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/7.324, allocations: 0 / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/7.324, allocations: 0 / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/7.324, allocations: 7.984 kB / 3.553 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/7.324, allocations: 354.8 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/7.324, allocations: 8.016 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/7.325, allocations: 4 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/7.325, allocations: 0 / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/7.325, allocations: 3.984 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/7.325, allocations: 4 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/7.325, allocations: 4 kB / 3.553 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/7.325, allocations: 65.44 kB / 3.554 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/7.325, allocations: 84.97 kB / 3.554 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/7.325, allocations: 7.984 kB / 3.554 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/7.325, allocations: 11.88 kB / 3.554 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/7.325, allocations: 0 / 3.554 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/7.325, allocations: 0 / 3.554 GB, free: 134.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.093e-05/7.325, allocations: 83.55 kB / 3.554 GB, free: 134.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/7.325, allocations: 0 / 3.554 GB, free: 134.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004007/7.325, allocations: 34.5 kB / 3.554 GB, free: 134.6 MB / 0.948 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.0007018/7.326, allocations: 0.5632 MB / 3.554 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.967e-05/7.326, allocations: 19.62 kB / 3.554 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/7.326, allocations: 0 / 3.554 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/7.326, allocations: 4 kB / 3.554 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/7.326, allocations: 7.984 kB / 3.554 GB, free: 134 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/7.327, allocations: 129.7 kB / 3.554 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/7.327, allocations: 0.6809 MB / 3.555 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.985e-05/7.327, allocations: 15.91 kB / 3.555 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/7.327, allocations: 7.438 kB / 3.555 GB, free: 133.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/7.327, allocations: 0 / 3.555 GB, free: 133.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01562/7.343, allocations: 7.606 MB / 3.563 GB, free: 125.5 MB / 0.948 GB