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.247/2.247, allocations: 253.2 MB / 260.6 MB, free: 7.383 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.001432/0.001432, allocations: 185.7 kB / 319.9 MB, free: 3.074 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.076/2.076, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001094/0.001094, allocations: 103.4 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.789e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2302, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8889/1.119, allocations: 132.5 MB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.119, allocations: 70.09 kB / 1.018 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006111/1.126, allocations: 1.384 MB / 1.019 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/1.126, allocations: 0 / 1.019 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.126, allocations: 0 / 1.019 GB, free: 3.598 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.0004037/1.126, allocations: 341.2 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.126, allocations: 16.02 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/1.126, allocations: 0 / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.126, allocations: 174.9 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.126, allocations: 7.984 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/1.126, allocations: 0 / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.123e-05/1.126, allocations: 11.56 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.766e-05/1.127, allocations: 40.75 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.127, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.127, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.127, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/1.127, allocations: 231.3 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.848e-05/1.127, allocations: 28.39 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/1.127, allocations: 8.922 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.128, allocations: 477.2 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.128, allocations: 30.56 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/1.128, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00607/1.134, allocations: 0.5444 MB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.134, allocations: 51.41 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.135, allocations: 106.7 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.135, allocations: 25.7 kB / 1.021 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.135, allocations: 86.58 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/1.135, allocations: 11.78 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.135, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.135, allocations: 325.4 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/1.135, allocations: 7.688 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/1.135, allocations: 4 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005832/1.141, allocations: 0.507 MB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.141, allocations: 0 / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.006029/1.147, allocations: 0.5524 MB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.147, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.147, allocations: 3.969 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.147, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/1.147, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.147, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/1.147, allocations: 11.92 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/1.147, allocations: 4 kB / 1.023 GB, free: 15.85 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 9.247e-05/1.147, allocations: 108.9 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/1.147, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/1.153, allocations: 0.5555 MB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.153, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/1.153, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.153, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/1.154, allocations: 142 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.154, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/1.154, allocations: 8 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/1.154, allocations: 3.984 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.154, allocations: 3.938 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.154, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.154, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/1.16, allocations: 0.653 MB / 1.024 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/1.16, allocations: 77.11 kB / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.16, allocations: 3.984 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/1.16, allocations: 4 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/1.16, allocations: 4.031 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/1.16, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.908e-05/1.16, allocations: 86.66 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.16, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003613/1.161, allocations: 23.92 kB / 1.025 GB, free: 14.16 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.000239/1.161, allocations: 113.1 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.161, allocations: 19.3 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.161, allocations: 2.531 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/1.161, allocations: 11.38 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.161, allocations: 10.86 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/1.162, allocations: 75.06 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.162, allocations: 0.6807 MB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.307e-05/1.162, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/1.162, allocations: 7.438 kB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/1.162, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.003578/1.166, allocations: 0.5768 MB / 1.026 GB, free: 12.63 MB / 0.6511 GB