Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.0008851/0.0008852, allocations: 176.5 kB / 372.9 MB, free: 10.13 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.4/1.4, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0009/0.0009002, allocations: 92.27 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 13 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001648/0.2508, allocations: 1.168 MB / 0.9819 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.2512, allocations: 140.5 kB / 0.982 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.2512, allocations: 0 / 0.982 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.2513, allocations: 3.984 kB / 0.982 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2514, allocations: 3.938 kB / 0.982 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2517, allocations: 19.92 kB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2518, allocations: 47.91 kB / 0.9821 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2519, allocations: 15.98 kB / 0.9821 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.252, allocations: 15.92 kB / 0.9821 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.252, allocations: 19.92 kB / 0.9821 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.252, allocations: 4 kB / 0.9821 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.2521, allocations: 23.98 kB / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2522, allocations: 11.92 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2522, allocations: 37.64 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2523, allocations: 40.2 kB / 0.9822 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2523, allocations: 0 / 0.9822 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2523, allocations: 0 / 0.9822 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2523, allocations: 0 / 0.9822 GB, free: 25.78 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.0004124/0.2528, allocations: 363.4 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2528, allocations: 12.03 kB / 0.9826 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.2539, allocations: 244.4 kB / 0.9828 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/0.254, allocations: 176.3 kB / 0.983 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.254, allocations: 4.375 kB / 0.983 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.254, allocations: 8.375 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.2546, allocations: 210 kB / 0.9832 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2546, allocations: 4.188 kB / 0.9832 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2546, allocations: 3.938 kB / 0.9832 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2546, allocations: 4 kB / 0.9832 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.2554, allocations: 315.6 kB / 0.9835 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.2563, allocations: 461.1 kB / 0.984 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/0.2573, allocations: 338.1 kB / 0.9843 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.2576, allocations: 124.8 kB / 0.9844 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2577, allocations: 0 / 0.9844 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2577, allocations: 30.56 kB / 0.9844 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2577, allocations: 0 / 0.9844 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.001082/0.2588, allocations: 373.2 kB / 0.9848 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2588, allocations: 51.41 kB / 0.9848 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.2589, allocations: 121.8 kB / 0.985 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2589, allocations: 25.7 kB / 0.985 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.259, allocations: 84.14 kB / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.259, allocations: 23.75 kB / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.259, allocations: 0 / 0.9851 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.2591, allocations: 318.8 kB / 0.9854 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.2594, allocations: 115.9 kB / 0.9855 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.2597, allocations: 111.9 kB / 0.9856 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.2603, allocations: 212.6 kB / 0.9858 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2604, allocations: 0 / 0.9858 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006637/0.261, allocations: 253.7 kB / 0.986 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2611, allocations: 4 kB / 0.9861 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2611, allocations: 0 / 0.9861 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2611, allocations: 4.031 kB / 0.9861 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2613, allocations: 47.94 kB / 0.9861 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2613, allocations: 384 / 0.9861 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2615, allocations: 35.95 kB / 0.9861 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2616, allocations: 4 kB / 0.9861 GB, free: 21.56 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 7.153e-05/0.2616, allocations: 127.1 kB / 0.9863 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2617, allocations: 11.84 kB / 0.9863 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.2617, allocations: 7.906 kB / 0.9863 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2617, allocations: 0 / 0.9863 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2617, allocations: 0 / 0.9863 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.2618, allocations: 89.03 kB / 0.9864 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2618, allocations: 0 / 0.9864 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.262, allocations: 43.89 kB / 0.9864 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.2621, allocations: 4 kB / 0.9864 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008524/0.2629, allocations: 364.7 kB / 0.9868 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006939/0.2636, allocations: 426.4 kB / 0.9872 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003288/0.264, allocations: 119.8 kB / 0.9873 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.264, allocations: 95.27 kB / 0.9874 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of Backend: time 5.51e-07/0.264, allocations: 0 / 0.9874 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006838/0.2647, allocations: 199.1 kB / 0.9876 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003757/0.2651, allocations: 0.5917 MB / 0.9881 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.003407/0.2685, allocations: 1.518 MB / 0.9896 GB, free: 17.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)