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.543/2.543, allocations: 285 MB / 292.5 MB, free: 10.49 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.001488/0.001488, allocations: 176.9 kB / 360.7 MB, free: 7.215 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.14/2.14, allocations: 205.3 MB / 0.6192 GB, free: 12.09 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.001661/0.00166, allocations: 92.41 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.504e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.962, allocations: 115.2 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/1.238, allocations: 137.9 MB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/1.239, allocations: 74.41 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01033/1.249, allocations: 1.381 MB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.249, allocations: 0.6562 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.249, allocations: 0 / 1.099 GB, free: 1.152 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.0006172/1.25, allocations: 344.1 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/1.25, allocations: 8.031 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/1.25, allocations: 9.047 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/1.25, allocations: 170.5 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.25, allocations: 0.5938 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/1.25, allocations: 4 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/1.25, allocations: 12.86 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.251, allocations: 33.7 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.251, allocations: 0.6562 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/1.251, allocations: 8.703 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/1.251, allocations: 3.75 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/1.251, allocations: 230.8 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.251, allocations: 31.2 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/1.251, allocations: 13.48 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.253, allocations: 469.2 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.253, allocations: 31.22 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 4.609e-06/1.253, allocations: 0.625 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.009474/1.263, allocations: 0.5476 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.263, allocations: 55.41 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.263, allocations: 97.02 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/1.263, allocations: 33.7 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/1.263, allocations: 84.14 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/1.263, allocations: 11.78 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.263, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.263, allocations: 322.8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/1.264, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/1.264, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008639/1.272, allocations: 0.5113 MB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.272, allocations: 4 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.008147/1.28, allocations: 0.548 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.281, allocations: 4 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.281, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.281, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.281, allocations: 8 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.281, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/1.281, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/1.281, allocations: 8.016 kB / 1.103 GB, free: 13.31 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 0.0001015/1.281, allocations: 108.7 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/1.281, allocations: 7.906 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006203/1.287, allocations: 0.564 MB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.287, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.287, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.287, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/1.288, allocations: 146.2 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.288, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/1.288, allocations: 4 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.288, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.288, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.288, allocations: 32 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.288, allocations: 6.938 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/1.294, allocations: 0.6489 MB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/1.294, allocations: 84.97 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.294, allocations: 4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/1.294, allocations: 3.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.294, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/1.294, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.237e-05/1.294, allocations: 86.41 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.294, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003501/1.295, allocations: 23.92 kB / 1.105 GB, free: 11.55 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.0002371/1.295, allocations: 113.8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001293/1.295, allocations: 19.98 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.295, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/1.295, allocations: 11.94 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/1.295, allocations: 0.7812 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/1.296, allocations: 71.59 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.296, allocations: 0.6847 MB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.944e-05/1.296, allocations: 0 / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/1.296, allocations: 7.438 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.296, allocations: 0 / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.003664/1.3, allocations: 0.5791 MB / 1.106 GB, free: 10.05 MB / 0.7136 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)