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.391/2.391, allocations: 252.6 MB / 265.2 MB, free: 5.629 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 183.9 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.5754 GB, free: 10.36 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.001144/0.001144, allocations: 101.9 kB / 0.6797 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.841e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 106.2 MB / 0.8949 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8053/0.9995, allocations: 131.3 MB / 1.023 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9999, allocations: 79.69 kB / 1.023 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003249/1.003, allocations: 0.8501 MB / 1.024 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.003, allocations: 4 kB / 1.024 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.003, allocations: 0 / 1.024 GB, free: 2.305 MB / 0.6355 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.0002503/1.003, allocations: 314.6 kB / 1.024 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.004, allocations: 8.031 kB / 1.024 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/1.004, allocations: 3.938 kB / 1.024 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.004, allocations: 167 kB / 1.025 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.004, allocations: 3.875 kB / 1.025 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/1.004, allocations: 8 kB / 1.025 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/1.004, allocations: 33.69 kB / 1.025 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.004, allocations: 2.516 kB / 1.025 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/1.004, allocations: 0 / 1.025 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.004, allocations: 0 / 1.025 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/1.004, allocations: 7.25 kB / 1.025 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/1.004, allocations: 157.2 kB / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/1.004, allocations: 38.55 kB / 1.025 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/1.004, allocations: 11.8 kB / 1.025 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/1.005, allocations: 81.11 kB / 1.025 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.005, allocations: 31.38 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/1.005, allocations: 0 / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.004257/1.009, allocations: 349 kB / 1.025 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.009, allocations: 62.59 kB / 1.025 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.431e-05/1.009, allocations: 85 kB / 1.025 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.009, allocations: 25.7 kB / 1.025 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/1.009, allocations: 80.14 kB / 1.025 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/1.009, allocations: 15.34 kB / 1.025 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/1.009, allocations: 0 / 1.025 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.009, allocations: 318.8 kB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/1.009, allocations: 11.42 kB / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/1.01, allocations: 26.58 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/1.01, allocations: 18.05 kB / 1.026 GB, free: 300 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/1.01, allocations: 0 / 1.026 GB, free: 300 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002581/1.01, allocations: 70.42 kB / 1.026 GB, free: 232 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.01, allocations: 7.938 kB / 1.026 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.01, allocations: 4.094 kB / 1.026 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.01, allocations: 0 / 1.026 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/1.011, allocations: 47.97 kB / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.011, allocations: 4 kB / 1.026 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/1.011, allocations: 35.98 kB / 1.026 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/1.011, allocations: 8 kB / 1.026 GB, free: 124 kB / 0.6355 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 () * 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 9.733e-05/1.011, allocations: 112.3 kB / 1.026 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/1.012, allocations: 0 / 1.026 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/1.012, allocations: 84.34 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.012, allocations: 3.938 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.012, allocations: 0 / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.012, allocations: 4 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/1.013, allocations: 309 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.013, allocations: 3.938 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/1.013, allocations: 47.97 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.013, allocations: 4 kB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.013, allocations: 3.875 kB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.013, allocations: 0 / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.013, allocations: 0 / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/1.014, allocations: 158.1 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/1.014, allocations: 80.17 kB / 1.027 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/1.014, allocations: 4 kB / 1.027 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/1.014, allocations: 35.98 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/1.014, allocations: 15.17 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/1.014, allocations: 0 / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.553e-05/1.015, allocations: 75.28 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.015, allocations: 3.938 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003277/1.015, allocations: 15.94 kB / 1.027 GB, free: 15.11 MB / 0.6511 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 () * 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.0002142/1.015, allocations: 103.2 kB / 1.027 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002207/1.015, allocations: 30.67 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.015, allocations: 192 / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/1.015, allocations: 19.94 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/1.016, allocations: 10.83 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/1.017, allocations: 104.3 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/1.017, allocations: 0.677 MB / 1.028 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000377/1.017, allocations: 28 kB / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.017, allocations: 11.44 kB / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.017, allocations: 0 / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.003742/1.021, allocations: 0.8009 MB / 1.029 GB, free: 13.31 MB / 0.6511 GB