Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.623/2.623, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001444/0.001444, allocations: 172.1 kB / 371 MB, free: 10.8 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.177/2.177, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 95.08 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006404, allocations: 16.38 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2424, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.202, allocations: 138.6 MB / 1.114 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.202, allocations: 75.66 kB / 1.114 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006313/1.208, allocations: 1.388 MB / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.209, allocations: 0 / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.209, allocations: 0 / 1.115 GB, free: 31.23 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.0004353/1.209, allocations: 355.4 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.209, allocations: 11.7 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/1.209, allocations: 3.844 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.209, allocations: 170.9 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.209, allocations: 3.844 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.209, allocations: 4.875 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/1.209, allocations: 46.59 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.209, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.209, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/1.209, allocations: 2.188 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/1.21, allocations: 28.23 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/1.21, allocations: 253.3 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/1.21, allocations: 32.52 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000982/1.211, allocations: 474.7 kB / 1.116 GB, free: 29.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/1.211, allocations: 30.56 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/1.211, allocations: 3.875 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003877/1.212, allocations: 74.42 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.212, allocations: 51.41 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/1.212, allocations: 98.83 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.212, allocations: 25.7 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/1.212, allocations: 84.66 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/1.212, allocations: 12.2 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-06/1.212, allocations: 0 / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.212, allocations: 316.2 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/1.212, allocations: 18.2 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/1.212, allocations: 9.156 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/1.212, allocations: 12.72 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.212, allocations: 0 / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002004/1.213, allocations: 66.58 kB / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.213, allocations: 10.03 kB / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.213, allocations: 7.938 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.213, allocations: 0 / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.213, allocations: 5.266 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/1.213, allocations: 0 / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/1.213, allocations: 5.578 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/1.213, allocations: 0 / 1.117 GB, free: 29.13 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.353e-05/1.213, allocations: 122.7 kB / 1.117 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/1.213, allocations: 3.984 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/1.213, allocations: 69.81 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.213, allocations: 1.688 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.213, allocations: 0 / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.213, allocations: 0 / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/1.213, allocations: 167.2 kB / 1.118 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.213, allocations: 4.031 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/1.214, allocations: 5.047 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.214, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/1.214, allocations: 1.078 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.214, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.214, allocations: 3.812 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/1.214, allocations: 160.9 kB / 1.118 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/1.214, allocations: 77.11 kB / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.214, allocations: 10.69 kB / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/1.214, allocations: 0 / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/1.214, allocations: 7.781 kB / 1.118 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.214, allocations: 0 / 1.118 GB, free: 28.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.616e-05/1.214, allocations: 85.27 kB / 1.118 GB, free: 28.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.214, allocations: 0 / 1.118 GB, free: 28.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000327/1.215, allocations: 26.3 kB / 1.118 GB, free: 28.45 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.0002122/1.215, allocations: 122.5 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001919/1.215, allocations: 25.77 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.215, allocations: 0 / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/1.215, allocations: 14.23 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/1.215, allocations: 14.59 kB / 1.118 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/1.216, allocations: 135.5 kB / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.216, allocations: 0.6828 MB / 1.119 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.818e-05/1.216, allocations: 0 / 1.119 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/1.216, allocations: 11.31 kB / 1.119 GB, free: 27.52 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/1.216, allocations: 0 / 1.119 GB, free: 27.52 MB / 0.698 GB Notification: Performance of Templates: time 0.003299/1.219, allocations: 0.5878 MB / 1.12 GB, free: 27.45 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)