Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.00154/0.00154, allocations: 175.7 kB / 325.6 MB, free: 2.801 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.423/2.423, allocations: 205.4 MB / 0.5766 GB, free: 20.68 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.001585/0.001585, allocations: 94.95 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 12.25 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.422, allocations: 131.4 MB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.4224, allocations: 79.89 kB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003356/0.4258, allocations: 0.8593 MB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4258, allocations: 4 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4258, allocations: 0 / 1.028 GB, free: 12.88 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.0002932/0.4262, allocations: 315.4 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4262, allocations: 12.03 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.4263, allocations: 0 / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4264, allocations: 163 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4264, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.4265, allocations: 15.84 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4266, allocations: 33.69 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4266, allocations: 4 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4266, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4266, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.4267, allocations: 4 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.4269, allocations: 157.6 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4271, allocations: 38.55 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4273, allocations: 77.11 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4274, allocations: 42.55 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.4274, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.007244/0.4346, allocations: 0.5638 MB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.4347, allocations: 55.41 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.4348, allocations: 85 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.4348, allocations: 25.7 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.4349, allocations: 84.14 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.435, allocations: 11.8 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.435, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4351, allocations: 326.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.4362, allocations: 79.89 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4372, allocations: 106.5 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4383, allocations: 79.95 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4383, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002232/0.4406, allocations: 217.5 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4406, allocations: 12 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4406, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4407, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.4414, allocations: 51.97 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4414, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.442, allocations: 47.91 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.4421, allocations: 4 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001244/0.4422, allocations: 113.8 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4422, allocations: 0 / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.4447, allocations: 237 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4447, allocations: 0 / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4447, allocations: 4 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4447, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.4473, allocations: 458.7 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4474, allocations: 0 / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.4481, allocations: 51.91 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.4481, allocations: 4 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4481, allocations: 3.984 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4481, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4481, allocations: 3.984 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.4504, allocations: 312.3 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.4505, allocations: 81.02 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4505, allocations: 0 / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.4512, allocations: 39.98 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.4512, allocations: 3.984 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4513, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.4513, allocations: 79.28 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4513, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003469/0.4517, allocations: 15.94 kB / 1.032 GB, free: 8.578 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 (5): * Single equations (assignments): 5 * 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.0002141/0.4519, allocations: 111.2 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.4542, allocations: 179.9 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.4542, allocations: 4 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4554, allocations: 92.02 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.4556, allocations: 7.953 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4574, allocations: 210.7 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4577, allocations: 0.6848 MB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.4581, allocations: 24 kB / 1.033 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4582, allocations: 11.42 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of SimCode: time 1.452e-06/0.4583, allocations: 8 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of Templates: time 0.003747/0.462, allocations: 0.7766 MB / 1.034 GB, free: 6.422 MB / 0.6823 GB