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.817/4.817, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.0024/0.0024, allocations: 352 kB / 0.644 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.081/4.081, allocations: 410.7 MB / 1.112 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.001706/0.001706, allocations: 178.9 kB / 1.225 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7729/0.9277, allocations: 134.4 MB / 1.592 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.000241/0.928, allocations: 138.1 kB / 1.592 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.928, allocations: 4.844 kB / 1.592 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 8.345e-05/0.9281, allocations: 6.797 kB / 1.592 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.9282, allocations: 13.86 kB / 1.592 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.9288, allocations: 138.3 kB / 1.592 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.9289, allocations: 37.25 kB / 1.592 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.9289, allocations: 0 / 1.592 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.929, allocations: 23.16 kB / 1.592 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.929, allocations: 9.719 kB / 1.592 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.9291, allocations: 0.9062 kB / 1.592 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.9294, allocations: 95.7 kB / 1.592 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.9295, allocations: 14.75 kB / 1.592 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.9295, allocations: 27.55 kB / 1.592 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.9297, allocations: 44.17 kB / 1.592 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9297, allocations: 1.156 kB / 1.592 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.327e-06/0.9297, allocations: 3.938 kB / 1.592 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.284e-06/0.9297, allocations: 0 / 1.592 GB, free: 1.512 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.0003985/0.9301, allocations: 337.4 kB / 1.593 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.9301, allocations: 12.44 kB / 1.593 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.9305, allocations: 32.53 kB / 1.593 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.9307, allocations: 165 kB / 1.593 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.9307, allocations: 30.45 kB / 1.593 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.9308, allocations: 1.5 kB / 1.593 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.9309, allocations: 45.66 kB / 1.593 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.931, allocations: 0 / 1.593 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.931, allocations: 4.781 kB / 1.593 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.931, allocations: 5.953 kB / 1.593 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.077e-05/0.9311, allocations: 25.31 kB / 1.593 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.9315, allocations: 253.5 kB / 1.593 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.9316, allocations: 21.89 kB / 1.593 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.9317, allocations: 8.109 kB / 1.593 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.9319, allocations: 99.73 kB / 1.593 GB, free: 468 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.9319, allocations: 35.48 kB / 1.593 GB, free: 424 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.231e-06/0.9319, allocations: 3.938 kB / 1.593 GB, free: 420 kB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002816/0.9322, allocations: 50.36 kB / 1.594 GB, free: 380 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9323, allocations: 53.8 kB / 1.594 GB, free: 316 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.9324, allocations: 106.9 kB / 1.594 GB, free: 208 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.9324, allocations: 29.83 kB / 1.594 GB, free: 172 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.9325, allocations: 85.52 kB / 1.594 GB, free: 84 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.9325, allocations: 9.734 kB / 1.594 GB, free: 76 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-06/0.9325, allocations: 0 / 1.594 GB, free: 76 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.9327, allocations: 318.1 kB / 1.594 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.9328, allocations: 3.219 kB / 1.594 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.009e-05/0.9328, allocations: 25.75 kB / 1.594 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.9329, allocations: 9 kB / 1.594 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.9329, allocations: 0 / 1.594 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.933, allocations: 58.45 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9331, allocations: 8.891 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.469e-06/0.9331, allocations: 1.156 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9331, allocations: 0.9375 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.9332, allocations: 9.5 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.613e-06/0.9332, allocations: 4.062 kB / 1.594 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.9332, allocations: 4.906 kB / 1.594 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.9333, allocations: 2.25 kB / 1.594 GB, free: 15.67 MB / 0.6823 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 0.0001036/0.9334, allocations: 112.3 kB / 1.594 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.9334, allocations: 5.969 kB / 1.594 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.9335, allocations: 11.8 kB / 1.594 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9335, allocations: 0 / 1.594 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-06/0.9335, allocations: 0.9375 kB / 1.594 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-06/0.9335, allocations: 3.984 kB / 1.594 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.9339, allocations: 364.7 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.833e-06/0.934, allocations: 3.953 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.934, allocations: 4.344 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.193e-06/0.934, allocations: 0 / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-06/0.934, allocations: 1.5 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.343e-06/0.934, allocations: 0.5625 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.656e-06/0.9341, allocations: 0.875 kB / 1.595 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.9342, allocations: 74.67 kB / 1.595 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.9343, allocations: 87.94 kB / 1.595 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.9343, allocations: 3.25 kB / 1.595 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.9344, allocations: 5.375 kB / 1.595 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.9344, allocations: 1.25 kB / 1.595 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-06/0.9344, allocations: 1.406 kB / 1.595 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.9345, allocations: 85.91 kB / 1.595 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.97e-07/0.9345, allocations: 0 / 1.595 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000263/0.9348, allocations: 10.81 kB / 1.595 GB, free: 14.87 MB / 0.6823 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.000158/0.935, allocations: 104 kB / 1.595 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.9351, allocations: 16.03 kB / 1.595 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.937e-06/0.9351, allocations: 1.562 kB / 1.595 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.9351, allocations: 7.281 kB / 1.595 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.9354, allocations: 11.03 kB / 1.595 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.9357, allocations: 135 kB / 1.595 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.9361, allocations: 0.6795 MB / 1.596 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.568e-05/0.9362, allocations: 9.219 kB / 1.596 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.9362, allocations: 10.19 kB / 1.596 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.502e-06/0.9363, allocations: 0 / 1.596 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.003113/0.9394, allocations: 0.4918 MB / 1.596 GB, free: 13.85 MB / 0.6823 GB