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.482/2.482, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001552/0.001552, allocations: 181.5 kB / 325.6 MB, free: 2.836 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.604/2.604, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001517/0.001517, allocations: 107 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006842/0.0006844, allocations: 9.719 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2852, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1976/0.4829, allocations: 125.3 MB / 1.021 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0003142/0.4832, allocations: 135.7 kB / 1.021 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.4833, allocations: 0 / 1.021 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.4834, allocations: 3.984 kB / 1.021 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.4835, allocations: 7.984 kB / 1.021 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.4843, allocations: 143.5 kB / 1.021 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.4844, allocations: 23.95 kB / 1.021 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.4844, allocations: 0 / 1.021 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.4845, allocations: 12 kB / 1.021 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.4846, allocations: 7.984 kB / 1.021 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.4846, allocations: 3.938 kB / 1.022 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.4851, allocations: 103.8 kB / 1.022 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.4852, allocations: 15.97 kB / 1.022 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.4852, allocations: 29.64 kB / 1.022 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.4854, allocations: 43.95 kB / 1.022 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4854, allocations: 0 / 1.022 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4855, allocations: 7.938 kB / 1.022 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4855, allocations: 0 / 1.022 GB, free: 3.383 MB / 0.6667 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.0004782/0.486, allocations: 343.5 kB / 1.022 GB, free: 3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.486, allocations: 8.031 kB / 1.022 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.4865, allocations: 27.92 kB / 1.022 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.4866, allocations: 163.1 kB / 1.022 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/0.4867, allocations: 29.7 kB / 1.022 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4868, allocations: 4 kB / 1.022 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.487, allocations: 53.66 kB / 1.022 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.487, allocations: 0 / 1.022 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.487, allocations: 4 kB / 1.022 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.4871, allocations: 3.953 kB / 1.022 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.4872, allocations: 23.92 kB / 1.022 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4876, allocations: 252.8 kB / 1.023 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.4877, allocations: 30.61 kB / 1.023 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.4878, allocations: 0 / 1.023 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4878, allocations: 34.62 kB / 1.023 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.4878, allocations: 4 kB / 1.023 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0003231/0.4881, allocations: 53.58 kB / 1.023 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.4882, allocations: 51.53 kB / 1.023 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.4883, allocations: 109.8 kB / 1.023 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.4883, allocations: 25.7 kB / 1.023 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.4884, allocations: 95.92 kB / 1.023 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.4884, allocations: 7.906 kB / 1.023 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.4885, allocations: 0 / 1.023 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4886, allocations: 318.8 kB / 1.023 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.4886, allocations: 8 kB / 1.023 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.4887, allocations: 21.7 kB / 1.023 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.4888, allocations: 12 kB / 1.023 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4888, allocations: 0 / 1.023 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.4889, allocations: 53.62 kB / 1.023 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4889, allocations: 4 kB / 1.023 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.489, allocations: 0 / 1.023 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.489, allocations: 3.953 kB / 1.023 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.4891, allocations: 8 kB / 1.023 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4891, allocations: 0 / 1.023 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.4892, allocations: 8.016 kB / 1.023 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4892, allocations: 4 kB / 1.023 GB, free: 1.426 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.712e-05/0.4893, allocations: 113.8 kB / 1.023 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4893, allocations: 7.938 kB / 1.023 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.4894, allocations: 7.125 kB / 1.024 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4894, allocations: 7.953 kB / 1.024 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4894, allocations: 0 / 1.024 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4894, allocations: 0 / 1.024 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.4899, allocations: 371.5 kB / 1.024 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4899, allocations: 4 kB / 1.024 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.49, allocations: 3.984 kB / 1.024 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.49, allocations: 8.281 kB / 1.024 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.49, allocations: 0 / 1.024 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.49, allocations: 0 / 1.024 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.49, allocations: 0 / 1.024 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.4902, allocations: 91.8 kB / 1.024 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.4902, allocations: 89.05 kB / 1.024 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4903, allocations: 0 / 1.024 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4904, allocations: 4 kB / 1.024 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.4905, allocations: 7.922 kB / 1.024 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4905, allocations: 0 / 1.024 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.4905, allocations: 87.31 kB / 1.024 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4905, allocations: 3.938 kB / 1.024 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002695/0.4908, allocations: 8 kB / 1.024 GB, free: 0.5078 MB / 0.6667 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.0001552/0.491, allocations: 95.25 kB / 1.024 GB, free: 416 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.4911, allocations: 19.98 kB / 1.024 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4911, allocations: 0 / 1.024 GB, free: 396 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.4912, allocations: 12 kB / 1.024 GB, free: 384 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.4914, allocations: 10.02 kB / 1.024 GB, free: 376 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.4917, allocations: 133.6 kB / 1.024 GB, free: 212 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4921, allocations: 0.677 MB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.564e-05/0.4922, allocations: 8.125 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.4922, allocations: 7.438 kB / 1.025 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.4922, allocations: 4 kB / 1.025 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of Templates: time 0.003631/0.4959, allocations: 0.5089 MB / 1.026 GB, free: 14.98 MB / 0.6823 GB