Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.643/2.643, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.001409/0.001409, allocations: 186.7 kB / 371.4 MB, free: 10.68 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.297/2.297, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001012/0.001012, allocations: 104.3 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 12.28 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005729/0.1557, allocations: 325.8 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005329/0.1562, allocations: 289 kB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.177e-05/0.1563, allocations: 0 / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.893e-06/0.1563, allocations: 0 / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.1563, allocations: 0 / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1567, allocations: 73.34 kB / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.74e-05/0.1567, allocations: 4 kB / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1568, allocations: 4 kB / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.162e-05/0.1568, allocations: 0 / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.996e-05/0.1568, allocations: 0 / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1568, allocations: 0 / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1572, allocations: 259.6 kB / 0.9797 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.523e-06/0.1572, allocations: 3.984 kB / 0.9797 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.1572, allocations: 25.7 kB / 0.9797 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1574, allocations: 55.91 kB / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1574, allocations: 0 / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.119e-06/0.1574, allocations: 0 / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.693e-06/0.1574, allocations: 4 kB / 0.9798 GB, free: 27.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002041/0.1576, allocations: 331.4 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1577, allocations: 8.031 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1577, allocations: 0 / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.151e-05/0.1578, allocations: 167 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1578, allocations: 4 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-06/0.1578, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.695e-05/0.1579, allocations: 33.64 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-06/0.1579, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-06/0.1579, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-06/0.158, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.158, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.935e-05/0.1581, allocations: 153.6 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.145e-05/0.1581, allocations: 18.61 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.1586, allocations: 425.6 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1586, allocations: 34.56 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 3.942e-06/0.1586, allocations: 3.984 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.1588, allocations: 37.58 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.1588, allocations: 51.41 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.03e-05/0.1589, allocations: 97.8 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-06/0.1589, allocations: 25.83 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.463e-05/0.1589, allocations: 84.14 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1589, allocations: 7.906 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-06/0.1589, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.159, allocations: 314.8 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-06/0.159, allocations: 0 / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-06/0.159, allocations: 0 / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.1591, allocations: 4 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1591, allocations: 0 / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.402e-05/0.1592, allocations: 41.66 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1592, allocations: 9.25 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-06/0.1592, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1592, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.1593, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.796e-06/0.1593, allocations: 3.984 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.1593, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.1593, allocations: 4 kB / 0.9815 GB, free: 25 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 (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 prepare postOptimizeDAE: time 4.706e-05/0.1594, allocations: 109.8 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1594, allocations: 7.984 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.1595, allocations: 36.77 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-06/0.1595, allocations: 4 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-06/0.1596, allocations: 3.984 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-06/0.1596, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.235e-05/0.1596, allocations: 145.7 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-06/0.1596, allocations: 0 / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.1597, allocations: 4 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.184e-06/0.1597, allocations: 3.953 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-06/0.1597, allocations: 4.031 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1597, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-06/0.1597, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.635e-05/0.1598, allocations: 57.12 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.1599, allocations: 77.39 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1599, allocations: 7.953 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.1599, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1599, allocations: 7.969 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-06/0.1599, allocations: 3.938 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.507e-05/0.16, allocations: 75.28 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.13e-07/0.16, allocations: 4 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002567/0.1602, allocations: 11.98 kB / 0.9821 GB, free: 24.34 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 (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.0001568/0.1604, allocations: 107.2 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.1605, allocations: 4 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.948e-06/0.1605, allocations: 64 / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.1605, allocations: 8 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.711e-05/0.1606, allocations: 3.938 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/0.1608, allocations: 78.75 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.688e-05/0.1609, allocations: 0.6731 MB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.1609, allocations: 7.984 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.1609, allocations: 11.42 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.204e-06/0.1609, allocations: 7.938 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.002466/0.1634, allocations: 426.8 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB