Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.542/2.542, allocations: 287.5 MB / 303.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001408, allocations: 180.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 82.36 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 11.47 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9414/1.15, allocations: 138.6 MB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.15, allocations: 77.56 kB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00622/1.156, allocations: 1.388 MB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.156, allocations: 0 / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.156, allocations: 7.875 kB / 1.116 GB, free: 31.41 MB / 0.698 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.0004441/1.157, allocations: 353.4 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.157, allocations: 11.41 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/1.157, allocations: 4.516 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.157, allocations: 173.4 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.157, allocations: 384 / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.157, allocations: 3.5 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/1.157, allocations: 50.56 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.157, allocations: 192 / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.157, allocations: 3.938 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.157, allocations: 2.188 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/1.158, allocations: 23.67 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/1.158, allocations: 251.5 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/1.158, allocations: 43.84 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/1.158, allocations: 14.03 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.159, allocations: 476.9 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.159, allocations: 30.56 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/1.159, allocations: 0 / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003775/1.16, allocations: 80.12 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.16, allocations: 51.41 kB / 1.118 GB, free: 29.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.16, allocations: 108.6 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/1.16, allocations: 25.7 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/1.16, allocations: 84.55 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/1.16, allocations: 12.47 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/1.16, allocations: 3.938 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.16, allocations: 315.6 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/1.16, allocations: 14.28 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/1.16, allocations: 10.55 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.16, allocations: 30.8 kB / 1.118 GB, free: 29.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.16, allocations: 0 / 1.118 GB, free: 29.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/1.161, allocations: 69.66 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.161, allocations: 7.594 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.161, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.161, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/1.161, allocations: 6.891 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.161, allocations: 3.844 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/1.161, allocations: 3.938 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.161, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 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 9.972e-05/1.161, allocations: 123.2 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/1.161, allocations: 0 / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/1.161, allocations: 76.25 kB / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.161, allocations: 0 / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.161, allocations: 0.8125 kB / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.161, allocations: 0 / 1.118 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/1.162, allocations: 167.7 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.162, allocations: 0 / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/1.162, allocations: 10.64 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.162, allocations: 0 / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/1.162, allocations: 4 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.162, allocations: 3.812 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.162, allocations: 0 / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/1.162, allocations: 156.9 kB / 1.119 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/1.162, allocations: 77.11 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.162, allocations: 7.078 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/1.162, allocations: 3.812 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/1.162, allocations: 7.812 kB / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/1.162, allocations: 0 / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.74e-05/1.162, allocations: 90.7 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.162, allocations: 3.906 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003398/1.163, allocations: 23.66 kB / 1.119 GB, free: 28.59 MB / 0.698 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.0002346/1.163, allocations: 113.1 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001894/1.163, allocations: 28.83 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.163, allocations: 0 / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/1.163, allocations: 14.09 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/1.163, allocations: 11.81 kB / 1.119 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/1.164, allocations: 140.3 kB / 1.119 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.164, allocations: 0.6758 MB / 1.12 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.627e-05/1.164, allocations: 3.875 kB / 1.12 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/1.164, allocations: 10.39 kB / 1.12 GB, free: 27.66 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/1.164, allocations: 4 kB / 1.12 GB, free: 27.66 MB / 0.698 GB Notification: Performance of Templates: time 0.003338/1.168, allocations: 0.5922 MB / 1.121 GB, free: 27.6 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)