Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001023/0.001023, allocations: 185.1 kB / 377.1 MB, free: 1.547 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.72/1.72, allocations: 205.4 MB / 0.6367 GB, free: 8.547 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 87.16 kB / 0.751 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 15.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7439/1.024, allocations: 139.8 MB / 1.125 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.024, allocations: 78.83 kB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00405/1.028, allocations: 1.384 MB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/1.028, allocations: 4 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.028, allocations: 0 / 1.126 GB, free: 33.98 MB / 0.7292 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.0003276/1.029, allocations: 359 kB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.029, allocations: 16.77 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.029, allocations: 2.062 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/1.029, allocations: 178.2 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.029, allocations: 0 / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.029, allocations: 3.438 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/1.029, allocations: 46.06 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.029, allocations: 4.812 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/1.029, allocations: 0 / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.029, allocations: 0.5625 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/1.029, allocations: 26.8 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/1.029, allocations: 252.4 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/1.03, allocations: 43.61 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/1.03, allocations: 470.4 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/1.03, allocations: 31.31 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.03, allocations: 0.5625 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000237/1.03, allocations: 72.77 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/1.03, allocations: 51.41 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/1.031, allocations: 104.6 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/1.031, allocations: 25.7 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/1.031, allocations: 84.14 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/1.031, allocations: 8.75 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.031, allocations: 0 / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/1.031, allocations: 318.3 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/1.031, allocations: 12 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/1.031, allocations: 15.47 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/1.031, allocations: 12 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.031, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/1.031, allocations: 64.91 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.031, allocations: 4 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.031, allocations: 0.5625 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.031, allocations: 8.969 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/1.031, allocations: 4 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.031, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/1.031, allocations: 7.609 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/1.031, allocations: 0 / 1.128 GB, free: 31.6 MB / 0.7292 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 5.401e-05/1.031, allocations: 114.6 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/1.031, allocations: 4 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/1.031, allocations: 66.14 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.031, allocations: 0 / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.031, allocations: 3.828 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.031, allocations: 0 / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/1.032, allocations: 169.2 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.032, allocations: 3.938 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/1.032, allocations: 7.656 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.032, allocations: 1.5 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.032, allocations: 8.031 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.032, allocations: 0 / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.032, allocations: 0 / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.032, allocations: 159 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/1.032, allocations: 77.11 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.032, allocations: 4 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/1.032, allocations: 4.031 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/1.032, allocations: 7.422 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/1.032, allocations: 0.5 kB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.898e-05/1.032, allocations: 84.31 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.032, allocations: 0 / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002331/1.032, allocations: 27.41 kB / 1.129 GB, free: 30.82 MB / 0.7292 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.0002207/1.032, allocations: 127.2 kB / 1.129 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001387/1.033, allocations: 27.61 kB / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.033, allocations: 0 / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/1.033, allocations: 19.61 kB / 1.129 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/1.033, allocations: 0 / 1.129 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/1.033, allocations: 140.4 kB / 1.129 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/1.033, allocations: 0.6839 MB / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.544e-05/1.033, allocations: 9.406 kB / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/1.033, allocations: 11.44 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.033, allocations: 0 / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.002596/1.036, allocations: 0.5928 MB / 1.131 GB, free: 29.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)