Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.00112/0.00112, allocations: 190.8 kB / 377.1 MB, free: 1.512 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.648/1.648, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.0009325/0.0009326, allocations: 94.42 kB / 0.751 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7064/0.9975, allocations: 139.1 MB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.9979, allocations: 72.28 kB / 1.124 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003237/1.001, allocations: 1.143 MB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.026e-06/1.001, allocations: 7.422 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.001, allocations: 0 / 1.125 GB, free: 34.58 MB / 0.7292 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.0003341/1.001, allocations: 357.4 kB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.002, allocations: 20.02 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/1.002, allocations: 192 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/1.002, allocations: 163 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.002, allocations: 8 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/1.002, allocations: 0 / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/1.003, allocations: 217.9 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.003, allocations: 1.312 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.003, allocations: 1.594 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.003, allocations: 3.938 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/1.004, allocations: 320.9 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/1.005, allocations: 446.5 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/1.006, allocations: 342.3 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/1.006, allocations: 4.625 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.006, allocations: 38.67 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/1.006, allocations: 0 / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.001055/1.007, allocations: 367.9 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.007, allocations: 51.41 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/1.007, allocations: 118 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/1.007, allocations: 25.7 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/1.007, allocations: 91.56 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/1.007, allocations: 15.84 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/1.007, allocations: 0 / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/1.007, allocations: 314.3 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.007, allocations: 115.5 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/1.008, allocations: 111.6 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/1.008, allocations: 107.3 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.008, allocations: 0 / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006461/1.009, allocations: 258.6 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.009, allocations: 4.625 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.009, allocations: 4.938 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.009, allocations: 0 / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/1.009, allocations: 41.41 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.009, allocations: 8.75 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/1.009, allocations: 37.5 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/1.009, allocations: 4 kB / 1.129 GB, free: 31.38 MB / 0.7292 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 6.833e-05/1.009, allocations: 121.2 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/1.009, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/1.009, allocations: 13.22 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.009, allocations: 0 / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.009, allocations: 0.625 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.009, allocations: 3.953 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/1.01, allocations: 202.9 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.01, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/1.01, allocations: 50.42 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.01, allocations: 1.172 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.01, allocations: 4.078 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.01, allocations: 0.5625 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.01, allocations: 0 / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/1.011, allocations: 358.4 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/1.011, allocations: 81.02 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/1.011, allocations: 3.516 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/1.011, allocations: 44.08 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/1.011, allocations: 0 / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/1.011, allocations: 7.609 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.885e-05/1.011, allocations: 95.78 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.011, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002138/1.011, allocations: 15.95 kB / 1.13 GB, free: 30.44 MB / 0.7292 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.0001116/1.011, allocations: 99.25 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006533/1.012, allocations: 232.2 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.012, allocations: 0 / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/1.012, allocations: 123.2 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/1.012, allocations: 8.406 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/1.013, allocations: 292.5 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/1.013, allocations: 0.6876 MB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.461e-05/1.014, allocations: 19.47 kB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/1.014, allocations: 14.86 kB / 1.131 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2e-07/1.014, allocations: 0 / 1.131 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.002658/1.016, allocations: 0.7994 MB / 1.132 GB, free: 28.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)