Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.573/2.573, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 196.6 kB / 325.6 MB, free: 2.824 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 2.421/2.421, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001074/0.001074, allocations: 100.4 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005072, allocations: 15.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2151, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.6/14.82, allocations: 4.605 GB / 5.504 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/14.82, allocations: 83 kB / 5.504 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1469/14.96, allocations: 45.24 MB / 5.548 GB, free: 234 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.365e-06/14.96, allocations: 0 / 5.548 GB, free: 234 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.874e-06/14.96, allocations: 4 kB / 5.548 GB, free: 234 MB / 0.8855 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.0003385/14.96, allocations: 344.3 kB / 5.548 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/14.96, allocations: 11.72 kB / 5.548 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/14.96, allocations: 15.7 kB / 5.548 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/14.96, allocations: 159.1 kB / 5.548 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/14.97, allocations: 33.55 kB / 5.548 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/14.97, allocations: 3.953 kB / 5.548 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/14.97, allocations: 49.42 kB / 5.548 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/14.97, allocations: 4 kB / 5.548 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/14.97, allocations: 7.875 kB / 5.548 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/14.97, allocations: 0 / 5.548 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/14.97, allocations: 23.55 kB / 5.548 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/14.97, allocations: 256 kB / 5.549 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/14.97, allocations: 22.48 kB / 5.549 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/14.97, allocations: 0 / 5.549 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/14.97, allocations: 30.56 kB / 5.549 GB, free: 233 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/14.97, allocations: 0 / 5.549 GB, free: 233 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/14.97, allocations: 37.45 kB / 5.549 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/14.97, allocations: 59.06 kB / 5.549 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/14.97, allocations: 97.02 kB / 5.549 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/14.97, allocations: 37.11 kB / 5.549 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/14.97, allocations: 87.98 kB / 5.549 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/14.97, allocations: 7.891 kB / 5.549 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/14.97, allocations: 0 / 5.549 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/14.97, allocations: 319.1 kB / 5.549 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/14.97, allocations: 0 / 5.549 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/14.97, allocations: 22.47 kB / 5.549 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/14.97, allocations: 19.64 kB / 5.549 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/14.97, allocations: 0 / 5.549 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.863e-05/14.97, allocations: 53 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/14.97, allocations: 3.906 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/14.97, allocations: 3.906 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/14.97, allocations: 3.938 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/14.97, allocations: 3.906 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/14.97, allocations: 8.062 kB / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/14.97, allocations: 0 / 5.549 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/14.97, allocations: 0 / 5.549 GB, free: 232.2 MB / 0.8855 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.502e-05/14.97, allocations: 117.6 kB / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/14.97, allocations: 0 / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/14.97, allocations: 11.02 kB / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/14.97, allocations: 0 / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/14.97, allocations: 0 / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/14.97, allocations: 96 / 5.55 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/14.97, allocations: 354.2 kB / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/14.97, allocations: 0 / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/14.97, allocations: 3.969 kB / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/14.97, allocations: 0 / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/14.97, allocations: 0 / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/14.97, allocations: 3.984 kB / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/14.97, allocations: 0 / 5.55 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.694e-05/14.97, allocations: 68.75 kB / 5.55 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/14.97, allocations: 81.05 kB / 5.55 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/14.97, allocations: 0 / 5.55 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/14.97, allocations: 8.141 kB / 5.55 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/14.97, allocations: 0 / 5.55 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/14.97, allocations: 4 kB / 5.55 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.969e-05/14.97, allocations: 94.72 kB / 5.55 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.7e-07/14.97, allocations: 0 / 5.55 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003821/14.97, allocations: 42.58 kB / 5.55 GB, free: 231.4 MB / 0.8855 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.0007535/14.97, allocations: 0.5577 MB / 5.551 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.008e-05/14.97, allocations: 11.89 kB / 5.551 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/14.97, allocations: 4.188 kB / 5.551 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/14.97, allocations: 3.906 kB / 5.551 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/14.97, allocations: 11.83 kB / 5.551 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/14.97, allocations: 116.4 kB / 5.551 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/14.97, allocations: 0.6808 MB / 5.552 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.912e-05/14.97, allocations: 11.95 kB / 5.552 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/14.97, allocations: 7.438 kB / 5.552 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.31e-07/14.97, allocations: 0 / 5.552 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.01661/14.99, allocations: 7.866 MB / 5.559 GB, free: 226.3 MB / 0.8855 GB