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.953/2.953, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001302/0.001301, allocations: 184.4 kB / 371 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.064/2.064, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008885/0.0008879, allocations: 85.61 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.000514, allocations: 12.03 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001713/0.2294, allocations: 1.175 MB / 0.9795 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000403/0.2298, allocations: 132.5 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.2299, allocations: 4 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2299, allocations: 0 / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.23, allocations: 3.938 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.2302, allocations: 27.95 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.2303, allocations: 39.8 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2304, allocations: 19.98 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.2305, allocations: 7.984 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.2306, allocations: 15.88 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2306, allocations: 4 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.84e-05/0.2307, allocations: 35.97 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2307, allocations: 7.969 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.2307, allocations: 33.7 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.2309, allocations: 39.88 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2309, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2309, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2309, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 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.0004627/0.2314, allocations: 359.5 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2314, allocations: 19.95 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.2332, allocations: 239.5 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2333, allocations: 171 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.2333, allocations: 4 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.2334, allocations: 4 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.2343, allocations: 221.4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2343, allocations: 4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2344, allocations: 4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2344, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.2359, allocations: 311.6 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.2372, allocations: 453.4 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.2391, allocations: 334.3 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.2398, allocations: 124.7 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2399, allocations: 3.938 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2399, allocations: 42.44 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.996e-06/0.2399, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.002027/0.2419, allocations: 373.4 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.242, allocations: 51.41 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2421, allocations: 118 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2422, allocations: 25.7 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2422, allocations: 88.14 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.2422, allocations: 15.83 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.2423, allocations: 4 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.2423, allocations: 314.8 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.243, allocations: 115.9 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.2436, allocations: 115.8 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.2442, allocations: 99.88 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2442, allocations: 4.375 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001322/0.2456, allocations: 257.4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2456, allocations: 4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2456, allocations: 3.953 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2457, allocations: 7.938 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.2461, allocations: 39.95 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2462, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.2465, allocations: 43.94 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2465, allocations: 0 / 0.9837 GB, free: 22.69 MB / 0.6198 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.0001025/0.2467, allocations: 115.2 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.2467, allocations: 4 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.2468, allocations: 11.89 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.2468, allocations: 7.953 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2468, allocations: 3.938 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2468, allocations: 4 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2471, allocations: 209.6 kB / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2471, allocations: 0 / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.2475, allocations: 39.95 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2475, allocations: 7.984 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2476, allocations: 3.938 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2476, allocations: 3.953 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2476, allocations: 4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.2489, allocations: 339.3 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.249, allocations: 89.02 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.249, allocations: 0 / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.2494, allocations: 43.94 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2495, allocations: 3.953 kB / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.2495, allocations: 0 / 0.9845 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.2496, allocations: 107.2 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2496, allocations: 0 / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003356/0.2499, allocations: 12 kB / 0.9846 GB, free: 21.61 MB / 0.6198 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.0001098/0.25, allocations: 95.25 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.2514, allocations: 235.7 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2514, allocations: 0 / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.252, allocations: 119.9 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2524, allocations: 2.469 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2539, allocations: 296.4 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.254, allocations: 0.6888 MB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.2542, allocations: 19.92 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.2543, allocations: 19.42 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2543, allocations: 0 / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.003664/0.258, allocations: 0.8054 MB / 0.9868 GB, free: 19.29 MB / 0.6198 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)