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.707/1.707, allocations: 285.4 MB / 298 MB, free: 6.004 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.0009726/0.0009726, allocations: 184.2 kB / 366.4 MB, free: 2.117 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.541/1.541, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008592/0.000859, allocations: 93.08 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.689e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.852, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/1.076, allocations: 138.7 MB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.077, allocations: 75.89 kB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004044/1.081, allocations: 1.381 MB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/1.081, allocations: 4.094 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.288e-06/1.081, allocations: 0 / 1.108 GB, free: 11.71 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.0004057/1.081, allocations: 346.4 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/1.081, allocations: 12.03 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/1.081, allocations: 7.969 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.081, allocations: 167 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.081, allocations: 0.5312 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/1.081, allocations: 0.6875 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.082, allocations: 46.36 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.082, allocations: 0 / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.082, allocations: 0.5 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.082, allocations: 1.812 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.802e-05/1.082, allocations: 13.94 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/1.082, allocations: 252.9 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/1.082, allocations: 28.8 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/1.082, allocations: 12.92 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/1.083, allocations: 473.8 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.083, allocations: 34.56 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.083, allocations: 0 / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/1.083, allocations: 46.95 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/1.083, allocations: 56.06 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/1.083, allocations: 106.8 kB / 1.109 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/1.083, allocations: 26.3 kB / 1.109 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/1.083, allocations: 84.86 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.083, allocations: 11.84 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.083, allocations: 1.031 kB / 1.109 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.084, allocations: 318.8 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/1.084, allocations: 9.375 kB / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/1.084, allocations: 4 kB / 1.11 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/1.084, allocations: 12.09 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.084, allocations: 0 / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.99e-05/1.084, allocations: 45.64 kB / 1.11 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.084, allocations: 7.984 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.084, allocations: 0 / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.084, allocations: 1.969 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/1.084, allocations: 4 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.084, allocations: 7.281 kB / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/1.084, allocations: 0 / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.084, allocations: 8.031 kB / 1.11 GB, free: 9.336 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 6.922e-05/1.084, allocations: 110.3 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/1.084, allocations: 3.906 kB / 1.11 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.084, allocations: 53.34 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.084, allocations: 1.312 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.084, allocations: 0 / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.084, allocations: 3.938 kB / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.084, allocations: 169.6 kB / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.084, allocations: 0 / 1.11 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.084, allocations: 8.031 kB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.084, allocations: 4 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.085, allocations: 0 / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.085, allocations: 0 / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.085, allocations: 0.625 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/1.085, allocations: 143.5 kB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/1.085, allocations: 81.02 kB / 1.11 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.085, allocations: 8.031 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/1.085, allocations: 6.891 kB / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/1.085, allocations: 6.125 kB / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.085, allocations: 0 / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.119e-05/1.085, allocations: 87.28 kB / 1.11 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.085, allocations: 0 / 1.11 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002212/1.085, allocations: 23.92 kB / 1.11 GB, free: 8.543 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.0001847/1.085, allocations: 111.2 kB / 1.111 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.219e-05/1.085, allocations: 19.98 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.085, allocations: 0 / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/1.085, allocations: 12 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/1.086, allocations: 9.75 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/1.086, allocations: 67.33 kB / 1.111 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.086, allocations: 0.6809 MB / 1.111 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.583e-05/1.086, allocations: 8.062 kB / 1.111 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/1.086, allocations: 11.44 kB / 1.111 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.086, allocations: 0 / 1.111 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.002736/1.089, allocations: 0.6027 MB / 1.112 GB, free: 7.004 MB / 0.7136 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)