Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.181/4.181, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002497/0.002497, allocations: 187.3 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.048/4.048, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00151/0.001509, allocations: 92.53 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008128/0.0008133, allocations: 18.75 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3841, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.7507, allocations: 132.3 MB / 1.029 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004653/0.7513, allocations: 79.95 kB / 1.029 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.762, allocations: 1.407 MB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.557e-06/0.7621, allocations: 4 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7622, allocations: 0 / 1.03 GB, free: 11.58 MB / 0.6823 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.0006995/0.7629, allocations: 347.4 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.763, allocations: 12.02 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.763, allocations: 4.844 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.7633, allocations: 176.3 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.7633, allocations: 384 / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.7634, allocations: 384 / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.7637, allocations: 54.19 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7637, allocations: 192 / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.7637, allocations: 3.938 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7638, allocations: 0 / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.764, allocations: 23.98 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.7646, allocations: 253 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.7649, allocations: 34.5 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.765, allocations: 16.92 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.7667, allocations: 477.4 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.207e-05/0.7669, allocations: 30.56 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 5.54e-06/0.7669, allocations: 0 / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000595/0.7675, allocations: 73.59 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.7676, allocations: 55.39 kB / 1.032 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.7678, allocations: 101.9 kB / 1.032 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.7679, allocations: 33.69 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.768, allocations: 84.14 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.7681, allocations: 7.844 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.7681, allocations: 0 / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.7683, allocations: 326.9 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.7685, allocations: 7.984 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.7687, allocations: 15.94 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.7688, allocations: 11.98 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7688, allocations: 0 / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003613/0.7692, allocations: 69.69 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.7693, allocations: 4 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.7693, allocations: 0 / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7693, allocations: 0 / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.7695, allocations: 7.984 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.7696, allocations: 4 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.7697, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7697, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6823 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 0.0001735/0.7699, allocations: 118.9 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.77, allocations: 3.906 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.7704, allocations: 73.14 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7704, allocations: 4 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7705, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7705, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.7709, allocations: 161.6 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7709, allocations: 4.031 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.771, allocations: 11.98 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.7711, allocations: 0 / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7711, allocations: 0 / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7711, allocations: 0 / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7711, allocations: 0 / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.7716, allocations: 163.4 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.7717, allocations: 81.02 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.7718, allocations: 3.984 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.7719, allocations: 4 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.772, allocations: 0 / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.772, allocations: 3.984 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001177/0.7722, allocations: 91.27 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.049e-06/0.7722, allocations: 0 / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006039/0.7728, allocations: 27.88 kB / 1.033 GB, free: 8.238 MB / 0.6823 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.0003505/0.7732, allocations: 127.2 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.7736, allocations: 27.98 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7736, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.7738, allocations: 15.92 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.7743, allocations: 8.062 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.7749, allocations: 134.2 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.7755, allocations: 0.6848 MB / 1.034 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.7756, allocations: 0 / 1.034 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.7756, allocations: 11.44 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of SimCode: time 1.904e-06/0.7756, allocations: 0 / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.00573/0.7814, allocations: 0.5921 MB / 1.035 GB, free: 6.582 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)