Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.001105/0.001105, allocations: 175.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.6306 GB, free: 9.902 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.0009117/0.0009114, allocations: 85.75 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 15.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2394, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8253/1.065, allocations: 138.8 MB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.065, allocations: 73.98 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004839/1.07, allocations: 1.385 MB / 1.116 GB, free: 32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.07, allocations: 4 kB / 1.116 GB, free: 32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.07, allocations: 3.969 kB / 1.116 GB, free: 32 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.0004237/1.07, allocations: 353.7 kB / 1.117 GB, free: 31.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.07, allocations: 12.41 kB / 1.117 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/1.07, allocations: 3.469 kB / 1.117 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.071, allocations: 176.2 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/1.071, allocations: 0 / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.071, allocations: 3.844 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/1.071, allocations: 49.56 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.071, allocations: 6.344 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.071, allocations: 0.9375 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.071, allocations: 3.875 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/1.071, allocations: 32.55 kB / 1.117 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/1.071, allocations: 252.5 kB / 1.117 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/1.072, allocations: 32.34 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/1.072, allocations: 473.2 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.072, allocations: 30.56 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.072, allocations: 0 / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002832/1.073, allocations: 71.91 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.073, allocations: 55.53 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/1.073, allocations: 99.91 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.073, allocations: 25.7 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/1.073, allocations: 86.52 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.073, allocations: 7.75 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.073, allocations: 0 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.073, allocations: 318.1 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/1.073, allocations: 14.03 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/1.073, allocations: 13.47 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/1.073, allocations: 11.88 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.073, allocations: 0 / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/1.073, allocations: 65.02 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.073, allocations: 10.02 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.073, allocations: 0 / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.073, allocations: 0 / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/1.073, allocations: 10.31 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.074, allocations: 3.844 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/1.074, allocations: 2.391 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/1.074, allocations: 3.812 kB / 1.119 GB, free: 29.89 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.954e-05/1.074, allocations: 113.6 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/1.074, allocations: 3.875 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/1.074, allocations: 71.81 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.074, allocations: 0 / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.074, allocations: 0 / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.074, allocations: 0 / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/1.074, allocations: 162.7 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.074, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/1.074, allocations: 9.641 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.074, allocations: 8 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.074, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.074, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.074, allocations: 3.938 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.074, allocations: 162.3 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/1.074, allocations: 80.92 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/1.074, allocations: 4.031 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/1.075, allocations: 3.875 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/1.075, allocations: 6.234 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/1.075, allocations: 0 / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.673e-05/1.075, allocations: 94.05 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.075, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002459/1.075, allocations: 19.59 kB / 1.119 GB, free: 29.21 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.0001663/1.075, allocations: 125 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.075, allocations: 22.33 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.075, allocations: 0 / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/1.075, allocations: 18.05 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/1.075, allocations: 2.578 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/1.076, allocations: 144.1 kB / 1.12 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.076, allocations: 0.6834 MB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.477e-05/1.076, allocations: 3.844 kB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/1.076, allocations: 7.438 kB / 1.12 GB, free: 28.28 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.076, allocations: 0 / 1.12 GB, free: 28.28 MB / 0.698 GB Notification: Performance of Templates: time 0.002463/1.079, allocations: 0.5968 MB / 1.121 GB, free: 28.2 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)