Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.00119/0.00119, allocations: 181 kB / 371.8 MB, free: 10.26 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.741/1.741, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 95.42 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004016, allocations: 12.53 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7578/1.009, allocations: 138.2 MB / 1.114 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.009, allocations: 74.78 kB / 1.114 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004053/1.013, allocations: 1.146 MB / 1.116 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.013, allocations: 0 / 1.116 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.013, allocations: 0 / 1.116 GB, free: 31.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004023/1.014, allocations: 362.8 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.014, allocations: 11.7 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/1.015, allocations: 190.7 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.015, allocations: 170.8 kB / 1.116 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/1.015, allocations: 4.719 kB / 1.116 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/1.015, allocations: 3.438 kB / 1.116 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/1.015, allocations: 213.2 kB / 1.116 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.015, allocations: 0 / 1.116 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.015, allocations: 3.5 kB / 1.116 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.015, allocations: 0 / 1.116 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/1.016, allocations: 317.3 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/1.017, allocations: 458.5 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/1.018, allocations: 335.9 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/1.018, allocations: 6.875 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.018, allocations: 32.81 kB / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.018, allocations: 0 / 1.118 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001058/1.019, allocations: 372.9 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.019, allocations: 54.5 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.019, allocations: 106.2 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.019, allocations: 25.7 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/1.019, allocations: 93.3 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/1.019, allocations: 11.09 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.019, allocations: 384 / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.02, allocations: 317.1 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/1.02, allocations: 113.8 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/1.02, allocations: 117.3 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/1.021, allocations: 110.6 kB / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.021, allocations: 0 / 1.119 GB, free: 30.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007191/1.021, allocations: 258.5 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.021, allocations: 7.812 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.021, allocations: 3.25 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.021, allocations: 0 / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.022, allocations: 44.97 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.022, allocations: 7.828 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/1.022, allocations: 35.7 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.022, allocations: 2.766 kB / 1.119 GB, free: 30.18 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 (3): * Single equations (assignments): 3 * 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.817e-05/1.022, allocations: 119.7 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/1.022, allocations: 3.906 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/1.022, allocations: 7.719 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/1.022, allocations: 0 / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.022, allocations: 3.969 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.022, allocations: 3.953 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/1.022, allocations: 205.1 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.022, allocations: 0 / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/1.022, allocations: 44.86 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.022, allocations: 0 / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/1.022, allocations: 2.672 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.023, allocations: 0 / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.023, allocations: 3.938 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/1.023, allocations: 359.1 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/1.023, allocations: 81.02 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/1.023, allocations: 0 / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/1.024, allocations: 41.72 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/1.024, allocations: 3.875 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/1.024, allocations: 5.703 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.469e-05/1.024, allocations: 92.59 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.024, allocations: 0 / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002168/1.024, allocations: 18.89 kB / 1.12 GB, free: 29.54 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 (3): * Single equations (assignments): 3 * 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.0001244/1.024, allocations: 98.59 kB / 1.12 GB, free: 29.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000709/1.025, allocations: 233.3 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.025, allocations: 0 / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/1.025, allocations: 121.5 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/1.025, allocations: 7.938 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/1.026, allocations: 294.3 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.026, allocations: 0.689 MB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.439e-05/1.026, allocations: 18.92 kB / 1.122 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/1.026, allocations: 11.31 kB / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.026, allocations: 0 / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of Templates: time 0.002478/1.029, allocations: 0.8148 MB / 1.122 GB, free: 28.53 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)