Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.632/4.632, allocations: 0.5623 GB / 0.5769 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002525, allocations: 359.7 kB / 0.644 GB, free: 21.43 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.332/4.332, allocations: 410.8 MB / 1.112 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001827, allocations: 197 kB / 1.225 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005207, allocations: 11.5 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001378/0.1635, allocations: 1.148 MB / 1.462 GB, free: 219.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007232/0.1642, allocations: 487.7 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.1643, allocations: 0 / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.1643, allocations: 7.188 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.1644, allocations: 4 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1645, allocations: 11.98 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.1646, allocations: 27.86 kB / 1.462 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.1647, allocations: 4 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.1648, allocations: 7.984 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.1648, allocations: 15.92 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1648, allocations: 0.5312 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.1649, allocations: 15.98 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.1649, allocations: 5.016 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.165, allocations: 33.64 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.432e-05/0.1651, allocations: 16.66 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.567e-06/0.1651, allocations: 0 / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.434e-06/0.1651, allocations: 0.5938 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.871e-06/0.1651, allocations: 0 / 1.462 GB, free: 218.9 MB / 0.8073 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.000351/0.1655, allocations: 345.4 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1655, allocations: 9.781 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1656, allocations: 3.938 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.1656, allocations: 171 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-06/0.1657, allocations: 0.875 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1657, allocations: 3.938 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1659, allocations: 59.58 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.018e-06/0.1659, allocations: 0 / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1659, allocations: 1.844 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1659, allocations: 0 / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1661, allocations: 50.33 kB / 1.463 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.1664, allocations: 248.9 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1666, allocations: 48.36 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1667, allocations: 26.09 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1668, allocations: 83.08 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1669, allocations: 38.55 kB / 1.463 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 3.008e-06/0.1669, allocations: 0 / 1.463 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0003991/0.1673, allocations: 105.6 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1673, allocations: 59.34 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.1674, allocations: 102.4 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.089e-06/0.1674, allocations: 26.42 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.1675, allocations: 80.14 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1675, allocations: 18.83 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-06/0.1675, allocations: 0 / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.1676, allocations: 314.8 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.1677, allocations: 19.98 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.1678, allocations: 21.48 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.427e-05/0.1679, allocations: 25.62 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-06/0.1679, allocations: 0 / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002382/0.1681, allocations: 81.77 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1682, allocations: 7.125 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1682, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1682, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1683, allocations: 12.67 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.009e-06/0.1683, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1684, allocations: 17.72 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1684, allocations: 0 / 1.464 GB, free: 216.8 MB / 0.8073 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 6.5e-05/0.1685, allocations: 114.3 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1685, allocations: 8.859 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1688, allocations: 82.78 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-06/0.1688, allocations: 1.438 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1688, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-06/0.1689, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.169, allocations: 165.5 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-06/0.169, allocations: 0.9062 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.1691, allocations: 20.61 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.934e-06/0.1691, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-06/0.1692, allocations: 4.438 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1692, allocations: 0.8438 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1692, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1695, allocations: 175.2 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.1695, allocations: 77.11 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1695, allocations: 4.719 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1697, allocations: 13.23 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1697, allocations: 4 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-06/0.1697, allocations: 0 / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.1698, allocations: 88.14 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1698, allocations: 0.625 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003078/0.1701, allocations: 12 kB / 1.465 GB, free: 216 MB / 0.8073 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.000132/0.1702, allocations: 106.8 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1705, allocations: 43.97 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.1705, allocations: 1.094 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1706, allocations: 24.59 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.171, allocations: 13.2 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1713, allocations: 118.2 kB / 1.465 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1714, allocations: 0.6808 MB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.1715, allocations: 8.703 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.1715, allocations: 8.312 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.842e-06/0.1715, allocations: 0 / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.0029/0.1744, allocations: 475 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB