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.644/2.644, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.003/0.003, allocations: 187.7 kB / 370.8 MB, free: 10.83 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.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001163/0.001163, allocations: 97.66 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005447, allocations: 17.03 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2247, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002537/0.2273, allocations: 1.168 MB / 0.9793 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005419/0.2279, allocations: 144.5 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.228, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.228, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.2281, allocations: 7.969 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.2284, allocations: 23.92 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2285, allocations: 23.97 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2287, allocations: 12 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.2288, allocations: 19.91 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.2289, allocations: 15.92 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2289, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2291, allocations: 23.97 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.2291, allocations: 8 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.2292, allocations: 29.64 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2293, allocations: 43.92 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2294, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.158e-06/0.2294, allocations: 4 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2294, allocations: 3.938 kB / 0.9797 GB, free: 26.85 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.0006171/0.23, allocations: 359.5 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2301, allocations: 12.02 kB / 0.98 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.2332, allocations: 243.5 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2334, allocations: 175 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2334, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.2335, allocations: 4 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.2351, allocations: 209.5 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2351, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2352, allocations: 3.938 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2352, allocations: 7.938 kB / 0.9806 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.2378, allocations: 319.6 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.24, allocations: 449.4 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.243, allocations: 338.1 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.2431, allocations: 12.12 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2431, allocations: 30.56 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/0.2432, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.002994/0.2462, allocations: 369.3 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.2463, allocations: 55.41 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2464, allocations: 122 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2465, allocations: 25.7 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.2465, allocations: 88.12 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.2466, allocations: 15.84 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.2466, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.2467, allocations: 310.8 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/0.2477, allocations: 115.9 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.2484, allocations: 116 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.249, allocations: 108 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.249, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001334/0.2504, allocations: 257.3 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2504, allocations: 4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2504, allocations: 4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2505, allocations: 3.953 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.2509, allocations: 47.94 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.251, allocations: 7.938 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.2513, allocations: 31.95 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2514, allocations: 4 kB / 0.9834 GB, free: 22.86 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 9.674e-05/0.2515, allocations: 119.9 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2515, allocations: 7.906 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.2516, allocations: 7.906 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2516, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2516, allocations: 3.953 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2516, allocations: 384 / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2519, allocations: 205.6 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2519, allocations: 4 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.2523, allocations: 51.94 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2523, allocations: 3.938 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2524, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2524, allocations: 4 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2524, allocations: 3.953 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.2537, allocations: 347.2 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.2538, allocations: 81.02 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.2538, allocations: 7.984 kB / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.2542, allocations: 35.95 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.2543, allocations: 7.953 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2543, allocations: 0 / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.2544, allocations: 95.27 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2544, allocations: 4 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003473/0.2548, allocations: 12 kB / 0.9843 GB, free: 21.79 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.0001177/0.2549, allocations: 95.23 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.2563, allocations: 231.8 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2563, allocations: 0 / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.257, allocations: 123.8 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2572, allocations: 14.73 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2587, allocations: 296.4 kB / 0.985 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2588, allocations: 0.6887 MB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.259, allocations: 19.98 kB / 0.9857 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.2591, allocations: 11.44 kB / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2591, allocations: 0 / 0.9857 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.003442/0.2626, allocations: 0.8081 MB / 0.9865 GB, free: 19.46 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)