Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.658/1.658, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 179.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009084, allocations: 105 kB / 0.7808 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 13.34 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.656, allocations: 120.3 MB / 1.026 GB, free: 56.93 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.8699, allocations: 141.4 MB / 1.164 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.8703, allocations: 79.62 kB / 1.164 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003816/0.8741, allocations: 1.161 MB / 1.166 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8741, allocations: 3.938 kB / 1.166 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.8741, allocations: 0 / 1.166 GB, free: 15.63 MB / 0.7448 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.0004538/0.8746, allocations: 349 kB / 1.166 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.8747, allocations: 13.06 kB / 1.166 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.8755, allocations: 189.2 kB / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.8757, allocations: 176.2 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.8757, allocations: 4.375 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.8757, allocations: 12.31 kB / 1.166 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.8763, allocations: 210 kB / 1.167 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8763, allocations: 192 / 1.167 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.8764, allocations: 7.938 kB / 1.167 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.8764, allocations: 0 / 1.167 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.8772, allocations: 315.5 kB / 1.167 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.8781, allocations: 453.4 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.8792, allocations: 334.9 kB / 1.168 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.8795, allocations: 124.7 kB / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.8796, allocations: 4.078 kB / 1.168 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.8796, allocations: 30.56 kB / 1.168 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.8796, allocations: 4 kB / 1.168 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.001126/0.8808, allocations: 366.2 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.8808, allocations: 55.39 kB / 1.168 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.881, allocations: 121.8 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.881, allocations: 25.7 kB / 1.168 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.8811, allocations: 92.12 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.8811, allocations: 19.83 kB / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.8811, allocations: 3.938 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8812, allocations: 314.8 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.8816, allocations: 115.9 kB / 1.169 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.8819, allocations: 111.9 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.8826, allocations: 211.1 kB / 1.169 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8826, allocations: 8 kB / 1.169 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000695/0.8833, allocations: 249.4 kB / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8833, allocations: 4 kB / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8833, allocations: 0 / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8833, allocations: 4 kB / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.8836, allocations: 47.89 kB / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8836, allocations: 0 / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.8838, allocations: 43.95 kB / 1.169 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.8838, allocations: 7.922 kB / 1.169 GB, free: 11.47 MB / 0.7448 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.584e-05/0.8839, allocations: 117.8 kB / 1.17 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.884, allocations: 4 kB / 1.17 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.884, allocations: 3.906 kB / 1.17 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.884, allocations: 3.984 kB / 1.17 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8841, allocations: 4 kB / 1.17 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8841, allocations: 4 kB / 1.17 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.8843, allocations: 213.4 kB / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8843, allocations: 0 / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.8845, allocations: 35.95 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8845, allocations: 0 / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.8846, allocations: 4 kB / 1.17 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8846, allocations: 4 kB / 1.17 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8846, allocations: 3.984 kB / 1.17 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.8853, allocations: 355.2 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.8854, allocations: 85.02 kB / 1.17 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8854, allocations: 0 / 1.17 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.8856, allocations: 31.95 kB / 1.17 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.8857, allocations: 9.391 kB / 1.17 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.8857, allocations: 0 / 1.17 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.8857, allocations: 103.6 kB / 1.17 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8858, allocations: 0 / 1.17 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002288/0.886, allocations: 16 kB / 1.17 GB, free: 10.4 MB / 0.7448 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.0001508/0.8861, allocations: 95.72 kB / 1.17 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007195/0.8869, allocations: 239.7 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8869, allocations: 0 / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.8872, allocations: 115.8 kB / 1.171 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.8875, allocations: 8 kB / 1.171 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.8884, allocations: 292.9 kB / 1.171 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.8887, allocations: 0.6926 MB / 1.172 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.907e-05/0.8888, allocations: 15.98 kB / 1.172 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.8888, allocations: 15.44 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.8888, allocations: 0 / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.002812/0.8917, allocations: 0.8055 MB / 1.173 GB, free: 8.082 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)