Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.572/2.572, allocations: 287.5 MB / 303.2 MB, free: 8.383 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.001407/0.001407, allocations: 177.6 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.000855/0.0008549, allocations: 86.94 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006382, allocations: 17.44 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2056, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8755/1.081, allocations: 138 MB / 1.114 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.081, allocations: 76.02 kB / 1.114 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004952/1.086, allocations: 1.15 MB / 1.115 GB, free: 31.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/1.086, allocations: 1.453 kB / 1.115 GB, free: 31.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.405e-06/1.086, allocations: 0 / 1.115 GB, free: 31.56 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.000438/1.087, allocations: 363 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.087, allocations: 7.5 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/1.088, allocations: 195.3 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.088, allocations: 164.3 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.089, allocations: 4.312 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/1.089, allocations: 1.922 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/1.089, allocations: 213.1 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.089, allocations: 192 / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/1.09, allocations: 11.75 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.09, allocations: 3.938 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/1.091, allocations: 313.9 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/1.092, allocations: 454.9 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/1.094, allocations: 336.1 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.095, allocations: 127 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/1.095, allocations: 2.078 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.095, allocations: 37.75 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/1.095, allocations: 0 / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.00198/1.097, allocations: 369.6 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/1.097, allocations: 51.41 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.097, allocations: 121.9 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.097, allocations: 25.7 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/1.097, allocations: 90.33 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/1.097, allocations: 11.78 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.097, allocations: 4 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.097, allocations: 321.3 kB / 1.118 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/1.098, allocations: 121.3 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/1.099, allocations: 109.8 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.1, allocations: 205.6 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.1, allocations: 3.875 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001284/1.101, allocations: 253.5 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.101, allocations: 11.2 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.101, allocations: 0.7812 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.101, allocations: 2.406 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/1.102, allocations: 47.41 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.102, allocations: 0 / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/1.102, allocations: 36.28 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.102, allocations: 7.812 kB / 1.119 GB, free: 29.84 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 0.0001171/1.102, allocations: 126 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/1.102, allocations: 3.906 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/1.102, allocations: 7.875 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.102, allocations: 0 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.102, allocations: 0 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.102, allocations: 3.5 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/1.103, allocations: 208.7 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.103, allocations: 4 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/1.103, allocations: 46.3 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.103, allocations: 0 / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.103, allocations: 0 / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.103, allocations: 0 / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.103, allocations: 0 / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/1.104, allocations: 352.7 kB / 1.12 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/1.105, allocations: 84.86 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/1.105, allocations: 3.938 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/1.105, allocations: 43.7 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/1.105, allocations: 2.016 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.105, allocations: 1.031 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.02e-05/1.105, allocations: 95.64 kB / 1.12 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.105, allocations: 0 / 1.12 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003193/1.105, allocations: 15.78 kB / 1.12 GB, free: 29.19 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.0001167/1.106, allocations: 98.53 kB / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.107, allocations: 242.9 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.107, allocations: 3.938 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/1.108, allocations: 122.7 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/1.108, allocations: 5.922 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/1.109, allocations: 289.4 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.11, allocations: 0.692 MB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001392/1.11, allocations: 18.19 kB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/1.11, allocations: 14.3 kB / 1.121 GB, free: 28.24 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.11, allocations: 0 / 1.121 GB, free: 28.24 MB / 0.698 GB Notification: Performance of Templates: time 0.003432/1.113, allocations: 0.8019 MB / 1.122 GB, free: 28.18 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)