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 1.598/1.598, allocations: 287.4 MB / 303.2 MB, free: 8.18 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.0009594/0.0009594, allocations: 181.4 kB / 371.8 MB, free: 10.81 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.352/1.352, allocations: 205.4 MB / 0.6304 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.001075/0.001075, allocations: 102.1 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 17.55 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00145/0.1756, allocations: 1.454 MB / 0.9807 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.1765, allocations: 0.6537 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.1766, allocations: 4 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.1766, allocations: 7.922 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.1767, allocations: 15.86 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1771, allocations: 144.5 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1772, allocations: 107.7 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1774, allocations: 45.09 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1775, allocations: 43.83 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.1775, allocations: 39.78 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1776, allocations: 8 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.1777, allocations: 39.97 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.1777, allocations: 23.89 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.1777, allocations: 41.64 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.1778, allocations: 96.05 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1778, allocations: 0 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1778, allocations: 0 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1779, allocations: 3.938 kB / 0.9819 GB, free: 25.46 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.0004039/0.1783, allocations: 415 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1783, allocations: 8.031 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.1791, allocations: 140.6 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.1791, allocations: 192.1 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/0.1792, allocations: 67.97 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1793, allocations: 8.375 kB / 0.9827 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.1797, allocations: 189.7 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1797, allocations: 0 / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1797, allocations: 8 kB / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1798, allocations: 0 / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/0.1803, allocations: 199.7 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.1812, allocations: 0.4901 MB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.1821, allocations: 270.3 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1824, allocations: 100.9 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1825, allocations: 7.984 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.1825, allocations: 30.56 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1825, allocations: 0 / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000894/0.1834, allocations: 321.5 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.33e-05/0.1834, allocations: 51.41 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.1835, allocations: 135.9 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1835, allocations: 29.7 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1835, allocations: 108.2 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1836, allocations: 23.64 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1836, allocations: 4 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.1836, allocations: 318.8 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.1839, allocations: 91.91 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.1842, allocations: 110.5 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.1847, allocations: 194.4 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1847, allocations: 7.938 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005891/0.1853, allocations: 237.4 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1853, allocations: 6.188 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1853, allocations: 3.938 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1854, allocations: 7.922 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1856, allocations: 55.94 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1856, allocations: 0 / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1858, allocations: 28.28 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1858, allocations: 4 kB / 0.9856 GB, free: 21.42 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 6.25e-05/0.1859, allocations: 123.1 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1859, allocations: 11.89 kB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.1866, allocations: 250.1 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1866, allocations: 3.938 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1866, allocations: 7.938 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.1866, allocations: 81.02 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1866, allocations: 4 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1869, allocations: 43.95 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.187, allocations: 7.984 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007185/0.1877, allocations: 320.8 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005844/0.1883, allocations: 414.3 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002646/0.1886, allocations: 91.92 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.1886, allocations: 104.1 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of Backend: time 1.9e-07/0.1886, allocations: 0 / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000589/0.1892, allocations: 206.2 kB / 0.9872 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000379/0.1896, allocations: 0.6747 MB / 0.9879 GB, free: 19 MB / 0.6198 GB Notification: Performance of Templates: time 0.003567/0.1932, allocations: 2.049 MB / 0.9899 GB, free: 16.96 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)