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.35/2.35, allocations: 253.1 MB / 260.6 MB, free: 7.422 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.001559/0.001559, allocations: 184.8 kB / 319.9 MB, free: 3.102 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.103/2.103, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001061/0.001061, allocations: 82.77 kB / 0.6751 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.863e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1917, allocations: 106.2 MB / 0.8887 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.07/14.27, allocations: 4.605 GB / 5.493 GB, free: 66.85 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/14.27, allocations: 85.75 kB / 5.494 GB, free: 66.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1536/14.42, allocations: 44.41 MB / 5.537 GB, free: 23.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/14.42, allocations: 0 / 5.537 GB, free: 23.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.044e-06/14.42, allocations: 0 / 5.537 GB, free: 23.83 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.0003536/14.42, allocations: 342.3 kB / 5.537 GB, free: 23.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/14.42, allocations: 16.02 kB / 5.537 GB, free: 23.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/14.42, allocations: 19.98 kB / 5.537 GB, free: 23.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/14.42, allocations: 159.1 kB / 5.537 GB, free: 23.22 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/14.42, allocations: 25.7 kB / 5.537 GB, free: 23.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/14.42, allocations: 7.953 kB / 5.537 GB, free: 23.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001216/14.42, allocations: 19.98 kB / 5.537 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/14.42, allocations: 45.69 kB / 5.538 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/14.42, allocations: 0 / 5.538 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/14.42, allocations: 4 kB / 5.538 GB, free: 23.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/14.42, allocations: 3.938 kB / 5.538 GB, free: 23.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/14.42, allocations: 233.5 kB / 5.538 GB, free: 22.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/14.42, allocations: 22.58 kB / 5.538 GB, free: 22.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/14.42, allocations: 4.859 kB / 5.538 GB, free: 22.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/14.42, allocations: 4 kB / 5.538 GB, free: 22.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/14.42, allocations: 30.56 kB / 5.538 GB, free: 22.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/14.42, allocations: 0 / 5.538 GB, free: 22.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/14.42, allocations: 41.55 kB / 5.538 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/14.42, allocations: 55.41 kB / 5.538 GB, free: 22.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/14.42, allocations: 96.98 kB / 5.538 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/14.42, allocations: 25.7 kB / 5.538 GB, free: 22.51 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/14.42, allocations: 88.08 kB / 5.538 GB, free: 22.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/14.42, allocations: 15.84 kB / 5.538 GB, free: 22.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/14.42, allocations: 0 / 5.538 GB, free: 22.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/14.42, allocations: 315.2 kB / 5.538 GB, free: 22.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/14.42, allocations: 4 kB / 5.538 GB, free: 22.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/14.42, allocations: 26.52 kB / 5.538 GB, free: 22.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/14.42, allocations: 4 kB / 5.538 GB, free: 22.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/14.42, allocations: 4 kB / 5.538 GB, free: 22.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001437/14.42, allocations: 53.58 kB / 5.539 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/14.42, allocations: 4 kB / 5.539 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/14.42, allocations: 0 / 5.539 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/14.42, allocations: 4 kB / 5.539 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/14.42, allocations: 4 kB / 5.539 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/14.42, allocations: 3.984 kB / 5.539 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/14.42, allocations: 4 kB / 5.539 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/14.42, allocations: 96 / 5.539 GB, free: 21.96 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 6.795e-05/14.42, allocations: 116.9 kB / 5.539 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/14.42, allocations: 3.953 kB / 5.539 GB, free: 21.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/14.42, allocations: 7.703 kB / 5.539 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/14.42, allocations: 0 / 5.539 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/14.42, allocations: 0 / 5.539 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/14.42, allocations: 4 kB / 5.539 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/14.42, allocations: 319.3 kB / 5.539 GB, free: 21.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/14.42, allocations: 4.031 kB / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/14.42, allocations: 7.984 kB / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/14.42, allocations: 0 / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/14.42, allocations: 0 / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/14.42, allocations: 0 / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/14.42, allocations: 0 / 5.539 GB, free: 21.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/14.42, allocations: 60.98 kB / 5.539 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/14.42, allocations: 81.16 kB / 5.539 GB, free: 21.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/14.42, allocations: 12.25 kB / 5.539 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/14.42, allocations: 12 kB / 5.539 GB, free: 21.26 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/14.42, allocations: 0 / 5.539 GB, free: 21.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/14.42, allocations: 0 / 5.539 GB, free: 21.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.072e-05/14.42, allocations: 83.28 kB / 5.539 GB, free: 21.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/14.42, allocations: 0 / 5.539 GB, free: 21.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005423/14.43, allocations: 31.98 kB / 5.539 GB, free: 21.14 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.001128/14.43, allocations: 0.6621 MB / 5.54 GB, free: 20.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/14.43, allocations: 15.94 kB / 5.54 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/14.43, allocations: 7.938 kB / 5.54 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/14.43, allocations: 3.984 kB / 5.54 GB, free: 20.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/14.43, allocations: 8.25 kB / 5.54 GB, free: 20.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/14.43, allocations: 52.44 kB / 5.54 GB, free: 20.37 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/14.43, allocations: 0.6807 MB / 5.541 GB, free: 19.66 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001329/14.43, allocations: 7.984 kB / 5.541 GB, free: 19.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/14.43, allocations: 7.438 kB / 5.541 GB, free: 19.65 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/14.43, allocations: 0 / 5.541 GB, free: 19.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.01382/14.44, allocations: 3.723 MB / 5.544 GB, free: 15.94 MB / 0.8698 GB