Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.515/2.515, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 180.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 86.44 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004683, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001457/0.1581, allocations: 1.148 MB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.1587, allocations: 361 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.1588, allocations: 0 / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.1588, allocations: 7.875 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.1589, allocations: 11.97 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1592, allocations: 65.72 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.703e-05/0.1593, allocations: 12 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.1593, allocations: 3.938 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.577e-05/0.1594, allocations: 19.91 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.1594, allocations: 7.984 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1594, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.1598, allocations: 259.7 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.1598, allocations: 11.94 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.1599, allocations: 25.7 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.16, allocations: 63.88 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.847e-06/0.16, allocations: 4 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.737e-06/0.16, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.214e-06/0.16, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 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.0003579/0.1604, allocations: 367.5 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1605, allocations: 16.02 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.1605, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.409e-05/0.1606, allocations: 171 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1606, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-06/0.1607, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1608, allocations: 57.61 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.609e-06/0.1609, allocations: 3.938 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-06/0.1609, allocations: 4 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1609, allocations: 0 / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1611, allocations: 47.95 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.1614, allocations: 260.8 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1615, allocations: 38.56 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.1621, allocations: 465.5 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.1622, allocations: 34.5 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.996e-06/0.1622, allocations: 0 / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004396/0.1626, allocations: 101.6 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.1627, allocations: 51.41 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.1627, allocations: 105.8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.423e-06/0.1628, allocations: 25.7 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.1628, allocations: 88.25 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1628, allocations: 15.84 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-06/0.1628, allocations: 0 / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.1629, allocations: 318.8 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.163, allocations: 19.97 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.1631, allocations: 27.98 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.217e-05/0.1632, allocations: 23.92 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-06/0.1632, allocations: 3.938 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000254/0.1635, allocations: 81.72 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1635, allocations: 8 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1635, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1636, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.1637, allocations: 11.98 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-06/0.1637, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.1637, allocations: 8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-06/0.1638, allocations: 4.031 kB / 0.9829 GB, free: 23.56 MB / 0.6198 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 5.36e-05/0.1638, allocations: 109.8 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.1639, allocations: 11.89 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.1642, allocations: 93.11 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-06/0.1642, allocations: 0 / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-06/0.1642, allocations: 256 / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1642, allocations: 3.938 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1644, allocations: 169.6 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-06/0.1644, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.1645, allocations: 8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1645, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-06/0.1645, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.389e-06/0.1645, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1645, allocations: 8.016 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.1649, allocations: 175.4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.1649, allocations: 81.09 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1649, allocations: 4.031 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.165, allocations: 8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1651, allocations: 7.984 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-06/0.1651, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.1651, allocations: 83.28 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.39e-07/0.1652, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003126/0.1655, allocations: 15.91 kB / 0.9837 GB, free: 22.7 MB / 0.6198 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.0001526/0.1656, allocations: 115.2 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1659, allocations: 43.97 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.479e-06/0.1659, allocations: 0 / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.166, allocations: 31.97 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1663, allocations: 7.953 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1665, allocations: 108.7 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1667, allocations: 0.6809 MB / 0.9846 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.1667, allocations: 8 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.1667, allocations: 15.38 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.369e-06/0.1668, allocations: 0 / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.002864/0.1696, allocations: 0.62 MB / 0.9853 GB, free: 21.01 MB / 0.6198 GB