Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001503/0.001503, allocations: 176.4 kB / 325.6 MB, free: 2.84 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.451/2.451, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001089/0.001088, allocations: 94.84 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 12.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.4187, allocations: 132.1 MB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.419, allocations: 71.95 kB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.4407, allocations: 4.328 MB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4407, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4408, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000604/0.4414, allocations: 375.1 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4414, allocations: 12.03 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.4415, allocations: 3.938 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4417, allocations: 174.9 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4417, allocations: 0 / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.4417, allocations: 0 / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.442, allocations: 53.67 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.442, allocations: 4 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.442, allocations: 4 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.442, allocations: 0 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.4423, allocations: 47.89 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.4429, allocations: 272.9 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4431, allocations: 46.5 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009177/0.444, allocations: 457.5 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4441, allocations: 34.56 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 4.438e-06/0.4441, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0006363/0.4447, allocations: 105.6 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.4448, allocations: 55.41 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4449, allocations: 93 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4449, allocations: 29.83 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.445, allocations: 88.12 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.445, allocations: 7.906 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.445, allocations: 0 / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4452, allocations: 314.8 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4453, allocations: 23.98 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4455, allocations: 23.97 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4457, allocations: 23.98 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4457, allocations: 0 / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003828/0.4461, allocations: 85.56 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4461, allocations: 8 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4461, allocations: 0 / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4461, allocations: 0 / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4463, allocations: 8 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4463, allocations: 3.984 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.4464, allocations: 15.97 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4464, allocations: 0 / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.107e-05/0.4465, allocations: 113.8 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.4466, allocations: 4 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.447, allocations: 93.11 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.447, allocations: 0 / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.447, allocations: 0 / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.447, allocations: 0 / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4473, allocations: 161.6 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4473, allocations: 3.984 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4474, allocations: 11.94 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.4474, allocations: 256 / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4474, allocations: 7.969 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4475, allocations: 4 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4475, allocations: 4 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.4479, allocations: 175.5 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.448, allocations: 85 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.448, allocations: 7.938 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.4481, allocations: 4 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.4482, allocations: 3.984 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.4482, allocations: 4 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.4483, allocations: 83.28 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4483, allocations: 0 / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003321/0.4486, allocations: 20.03 kB / 1.035 GB, free: 5.281 MB / 0.6823 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 (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.0002211/0.4489, allocations: 115.2 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.4493, allocations: 43.97 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4493, allocations: 4.062 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.4495, allocations: 27.97 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4497, allocations: 11.94 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.4501, allocations: 112.7 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4504, allocations: 0.6849 MB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.4504, allocations: 7.984 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4505, allocations: 7.438 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4505, allocations: 0 / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of Templates: time 0.003485/0.454, allocations: 0.5905 MB / 1.037 GB, free: 3.621 MB / 0.6823 GB