Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.661/2.661, allocations: 284.8 MB / 297.3 MB, free: 6.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 180.1 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 93.77 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.323e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9713/0.9714, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/1.21, allocations: 138.2 MB / 1.105 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.21, allocations: 79.89 kB / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004779/1.215, allocations: 1.065 MB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/1.215, allocations: 0 / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.215, allocations: 1.25 kB / 1.106 GB, free: 13.11 MB / 0.7136 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.0004989/1.216, allocations: 341.8 kB / 1.106 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.216, allocations: 12.03 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/1.216, allocations: 5.109 kB / 1.106 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/1.216, allocations: 167 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.216, allocations: 4.797 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.216, allocations: 0 / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/1.216, allocations: 34.86 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.216, allocations: 4 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/1.216, allocations: 0.9062 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.216, allocations: 0 / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/1.216, allocations: 15.92 kB / 1.107 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/1.217, allocations: 275.1 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/1.217, allocations: 23.83 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/1.217, allocations: 9.453 kB / 1.107 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/1.217, allocations: 85.69 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/1.217, allocations: 31.19 kB / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/1.217, allocations: 0.625 kB / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001919/1.218, allocations: 47.45 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.218, allocations: 51.41 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/1.218, allocations: 100.3 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.218, allocations: 25.7 kB / 1.107 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/1.218, allocations: 90.48 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.218, allocations: 7.891 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.218, allocations: 7.406 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.218, allocations: 314.8 kB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/1.218, allocations: 8 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/1.218, allocations: 4.719 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/1.218, allocations: 12.77 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.218, allocations: 0 / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/1.218, allocations: 46.3 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.218, allocations: 5.156 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.218, allocations: 4.781 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.218, allocations: 0 / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.219, allocations: 11.98 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.219, allocations: 0 / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/1.219, allocations: 23.95 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/1.219, allocations: 0 / 1.108 GB, free: 11.18 MB / 0.7136 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.092e-05/1.219, allocations: 104.9 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/1.219, allocations: 4 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/1.219, allocations: 52.75 kB / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.219, allocations: 0 / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.219, allocations: 0 / 1.108 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.219, allocations: 8.031 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/1.219, allocations: 157.6 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.219, allocations: 3.984 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.219, allocations: 8 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.219, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/1.219, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.219, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.219, allocations: 4 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.22, allocations: 139.5 kB / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/1.22, allocations: 85.02 kB / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/1.22, allocations: 4 kB / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.22, allocations: 7.984 kB / 1.108 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.22, allocations: 4 kB / 1.108 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/1.22, allocations: 0 / 1.108 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.124e-05/1.22, allocations: 88.64 kB / 1.108 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.22, allocations: 4.031 kB / 1.108 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000292/1.22, allocations: 8 kB / 1.108 GB, free: 10.42 MB / 0.7136 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.0001813/1.221, allocations: 107.2 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.221, allocations: 15.56 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.221, allocations: 0 / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/1.221, allocations: 8 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/1.221, allocations: 7.953 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/1.221, allocations: 70.62 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.221, allocations: 0.6809 MB / 1.109 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.753e-05/1.222, allocations: 7.984 kB / 1.109 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/1.222, allocations: 7.438 kB / 1.109 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.222, allocations: 0 / 1.109 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.003384/1.225, allocations: 485.3 kB / 1.11 GB, free: 9.023 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)