Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.242/2.242, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001513/0.001513, allocations: 173.5 kB / 325.6 MB, free: 2.863 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.444/2.444, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.00199/0.001991, allocations: 95.86 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007273/0.0007277, allocations: 11.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2154, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.4551, allocations: 132 MB / 1.028 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4555, allocations: 75.95 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004759/0.4602, allocations: 1.09 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4603, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4603, allocations: 4 kB / 1.029 GB, free: 12.2 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.0004746/0.4608, allocations: 343.2 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4608, allocations: 8.031 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.4609, allocations: 4 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.461, allocations: 174.9 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4611, allocations: 3.984 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.4611, allocations: 4 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.4614, allocations: 57.62 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4614, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4614, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4614, allocations: 3.984 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.4617, allocations: 39.97 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.4623, allocations: 268.9 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.4625, allocations: 46.5 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.4627, allocations: 89.16 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4627, allocations: 34.56 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.775e-06/0.4628, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005635/0.4633, allocations: 93.64 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4634, allocations: 55.41 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.4635, allocations: 96.94 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4635, allocations: 25.7 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.4636, allocations: 84.14 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4636, allocations: 15.83 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.4636, allocations: 128 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4638, allocations: 322.7 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4639, allocations: 19.98 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.4641, allocations: 19.98 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4643, allocations: 35.97 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4643, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003483/0.4646, allocations: 69.67 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4647, allocations: 8.031 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4647, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4647, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4649, allocations: 15.98 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.4649, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.465, allocations: 7.984 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.465, allocations: 0 / 1.031 GB, free: 10.06 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 0.0001039/0.4651, allocations: 121.8 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4651, allocations: 7.844 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/0.4656, allocations: 80.78 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4656, allocations: 0 / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4656, allocations: 0 / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4656, allocations: 12.02 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4658, allocations: 157.6 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4658, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.466, allocations: 11.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.466, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.466, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.466, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.466, allocations: 256 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.4664, allocations: 183.4 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.4665, allocations: 77.11 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4665, allocations: 4 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4666, allocations: 20 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4667, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.4667, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.4668, allocations: 83.27 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4668, allocations: 0 / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003025/0.4671, allocations: 16 kB / 1.031 GB, free: 9.203 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.000178/0.4673, allocations: 99.23 kB / 1.032 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.4677, allocations: 52.81 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4677, allocations: 3.938 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4678, allocations: 31.86 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.4681, allocations: 13.33 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.4685, allocations: 112.6 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4688, allocations: 0.677 MB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.4688, allocations: 4 kB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.4689, allocations: 7.438 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/0.4689, allocations: 4 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of Templates: time 0.003183/0.4721, allocations: 477.7 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB