Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 252.6 MB / 265.2 MB, free: 5.73 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.001406/0.001405, allocations: 179.9 kB / 324.5 MB, free: 14.41 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.093/2.093, allocations: 205.4 MB / 0.5753 GB, free: 10.47 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.001043/0.001043, allocations: 93.2 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.561e-05, allocations: 12 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1951, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.143, allocations: 132.2 MB / 1.024 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.143, allocations: 75.67 kB / 1.024 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006114/1.149, allocations: 1.385 MB / 1.025 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.149, allocations: 4 kB / 1.025 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.555e-06/1.149, allocations: 0 / 1.025 GB, free: 1.102 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.0004044/1.15, allocations: 342.8 kB / 1.026 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.15, allocations: 8.031 kB / 1.026 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/1.15, allocations: 7.875 kB / 1.026 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.15, allocations: 178.9 kB / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.15, allocations: 0 / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.15, allocations: 0 / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.15, allocations: 48.8 kB / 1.026 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.15, allocations: 0 / 1.026 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/1.15, allocations: 0 / 1.026 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.15, allocations: 0 / 1.026 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/1.15, allocations: 11.81 kB / 1.026 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/1.151, allocations: 258 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/1.151, allocations: 29.89 kB / 1.026 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/1.151, allocations: 12.23 kB / 1.026 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.152, allocations: 469.4 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.152, allocations: 34.56 kB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.152, allocations: 0 / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/1.152, allocations: 40.02 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/1.152, allocations: 57.97 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.152, allocations: 108 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/1.152, allocations: 25.7 kB / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/1.153, allocations: 83.58 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/1.153, allocations: 7.844 kB / 1.027 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.153, allocations: 3.938 kB / 1.027 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.153, allocations: 326 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/1.153, allocations: 7.125 kB / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/1.153, allocations: 0 / 1.027 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/1.153, allocations: 10.88 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.153, allocations: 0 / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/1.153, allocations: 45.11 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.153, allocations: 11.98 kB / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.153, allocations: 0 / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.153, allocations: 0 / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.153, allocations: 4 kB / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.153, allocations: 0 / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/1.153, allocations: 11.89 kB / 1.027 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/1.153, allocations: 4.031 kB / 1.027 GB, free: 14.75 MB / 0.6511 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 () * 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 8.822e-05/1.153, allocations: 116.2 kB / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/1.153, allocations: 0 / 1.028 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/1.154, allocations: 55.73 kB / 1.028 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.154, allocations: 0 / 1.028 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.154, allocations: 0 / 1.028 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.154, allocations: 0 / 1.028 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/1.154, allocations: 164.6 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.154, allocations: 3.344 kB / 1.028 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/1.154, allocations: 8 kB / 1.028 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.154, allocations: 0 / 1.028 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.154, allocations: 4 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/1.154, allocations: 0 / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.154, allocations: 0 / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/1.154, allocations: 149.8 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/1.154, allocations: 77.11 kB / 1.028 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.154, allocations: 6.781 kB / 1.028 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/1.154, allocations: 7.984 kB / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/1.154, allocations: 0 / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.154, allocations: 4 kB / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.269e-05/1.155, allocations: 82.59 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.155, allocations: 0 / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003265/1.155, allocations: 31.92 kB / 1.028 GB, free: 13.99 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 (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.0002267/1.155, allocations: 117.1 kB / 1.028 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001061/1.155, allocations: 19.8 kB / 1.028 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.155, allocations: 0 / 1.028 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/1.155, allocations: 7.125 kB / 1.028 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.155, allocations: 11.89 kB / 1.028 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.156, allocations: 72.05 kB / 1.028 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/1.156, allocations: 0.677 MB / 1.029 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.087e-05/1.156, allocations: 8.125 kB / 1.029 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/1.156, allocations: 7.438 kB / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/1.156, allocations: 0 / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.003496/1.16, allocations: 0.6039 MB / 1.03 GB, free: 12.44 MB / 0.6511 GB