Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.765/2.765, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.00154/0.00154, allocations: 178.8 kB / 370.8 MB, free: 10.86 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.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001127/0.001127, allocations: 86.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004892, allocations: 13.22 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2508, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002063/0.2529, allocations: 1.443 MB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2542, allocations: 0.6373 MB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.2543, allocations: 7.938 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.2543, allocations: 3.938 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.2544, allocations: 15.95 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.2551, allocations: 146.9 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2552, allocations: 71.84 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2554, allocations: 37.28 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2555, allocations: 47.83 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.2556, allocations: 39.83 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.2556, allocations: 4 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2558, allocations: 35.97 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.2558, allocations: 19.86 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.2558, allocations: 41.64 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.256, allocations: 92.03 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.256, allocations: 4 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.256, allocations: 0 / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2561, allocations: 0 / 0.9808 GB, free: 25.72 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006126/0.2567, allocations: 415 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2567, allocations: 12.02 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.2581, allocations: 151.6 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2582, allocations: 178.9 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.2583, allocations: 71.38 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2584, allocations: 4 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.2592, allocations: 194.8 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2592, allocations: 3.984 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2593, allocations: 8 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2593, allocations: 3.953 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2604, allocations: 191.8 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.262, allocations: 0.4941 MB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.2638, allocations: 270.3 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.2639, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2639, allocations: 34.56 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.2639, allocations: 0 / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001774/0.2657, allocations: 313.6 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2658, allocations: 51.41 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2659, allocations: 149 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2659, allocations: 29.7 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.266, allocations: 108.2 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.266, allocations: 23.64 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.2661, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2661, allocations: 322.8 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.2667, allocations: 95.91 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.2672, allocations: 110.5 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.2678, allocations: 91.92 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2678, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001195/0.269, allocations: 237.4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2691, allocations: 4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2691, allocations: 4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2691, allocations: 0 / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2696, allocations: 47.89 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2696, allocations: 4 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.2699, allocations: 43.81 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.27, allocations: 4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001233/0.2701, allocations: 113.8 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.2702, allocations: 7.906 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.2714, allocations: 242.5 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2714, allocations: 4 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2715, allocations: 0 / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2715, allocations: 4 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.2718, allocations: 246.1 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2718, allocations: 4 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.2722, allocations: 35.95 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2722, allocations: 4 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2723, allocations: 3.984 kB / 0.9849 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2723, allocations: 4 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2723, allocations: 3.938 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.2735, allocations: 323.2 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.2735, allocations: 85.02 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2736, allocations: 8 kB / 0.9853 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.2741, allocations: 43.89 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2742, allocations: 3.984 kB / 0.9854 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.2742, allocations: 8 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.353e-05/0.2743, allocations: 111.2 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2743, allocations: 0 / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000366/0.2747, allocations: 27.91 kB / 0.9855 GB, free: 20.53 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 (6): * Single equations (assignments): 6 * 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.0001318/0.2748, allocations: 95.25 kB / 0.9856 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.276, allocations: 203.8 kB / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.276, allocations: 0 / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.2765, allocations: 96.05 kB / 0.9859 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2768, allocations: 7.984 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009065/0.2777, allocations: 298.6 kB / 0.9862 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.2779, allocations: 0.7121 MB / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.2781, allocations: 19.92 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.2782, allocations: 15.42 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2782, allocations: 0 / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.004494/0.2827, allocations: 1.303 MB / 0.9882 GB, free: 17.74 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)