Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.73/1.73, allocations: 288.4 MB / 303.7 MB, free: 8.035 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.000984/0.000984, allocations: 188.4 kB / 372.3 MB, free: 10.12 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.436/1.436, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008195/0.0008195, allocations: 102.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 16.62 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.0019/0.1843, allocations: 1.447 MB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1855, allocations: 0.6643 MB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1856, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.1856, allocations: 7.922 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.255e-05/0.1857, allocations: 11.88 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1863, allocations: 151.5 kB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1864, allocations: 103.7 kB / 0.9825 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1865, allocations: 41.11 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1867, allocations: 47.83 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.1868, allocations: 39.78 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1868, allocations: 4 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.1869, allocations: 39.95 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.1869, allocations: 19.92 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.187, allocations: 77.41 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1871, allocations: 96.05 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1871, allocations: 0 / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1871, allocations: 0 / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1871, allocations: 0 / 0.9828 GB, free: 24.58 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.000515/0.1877, allocations: 415.1 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1877, allocations: 8.031 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.1885, allocations: 140.6 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1886, allocations: 190.2 kB / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/0.1887, allocations: 63.97 kB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1888, allocations: 12.38 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.1893, allocations: 197.6 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1893, allocations: 0 / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1893, allocations: 4 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1893, allocations: 0 / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/0.1899, allocations: 199.7 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.1909, allocations: 0.4939 MB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.1918, allocations: 274.3 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.1921, allocations: 104.9 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.1921, allocations: 3.984 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1922, allocations: 34.5 kB / 0.9849 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1922, allocations: 3.938 kB / 0.9849 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0009642/0.1931, allocations: 321.5 kB / 0.9852 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1932, allocations: 51.41 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.1932, allocations: 143.5 kB / 0.9854 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1933, allocations: 25.7 kB / 0.9854 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.1933, allocations: 108.2 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1933, allocations: 19.66 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.1934, allocations: 4 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.1934, allocations: 322.8 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1937, allocations: 87.92 kB / 0.9859 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.194, allocations: 114.5 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.1946, allocations: 198.4 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1946, allocations: 3.938 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006258/0.1952, allocations: 237.4 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1952, allocations: 5.562 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1952, allocations: 0 / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1953, allocations: 7.938 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.1955, allocations: 51.88 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1955, allocations: 8 kB / 0.9865 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.1957, allocations: 27.97 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1957, allocations: 0 / 0.9865 GB, free: 20.52 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.819e-05/0.1958, allocations: 121.8 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1958, allocations: 7.906 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006759/0.1965, allocations: 250.1 kB / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1965, allocations: 3.938 kB / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1965, allocations: 0 / 0.9869 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1966, allocations: 4 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1967, allocations: 234.7 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1968, allocations: 0 / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.197, allocations: 43.95 kB / 0.9872 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.197, allocations: 3.984 kB / 0.9872 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.197, allocations: 7.938 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.197, allocations: 4 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.197, allocations: 0 / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.1977, allocations: 319.3 kB / 0.9875 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.1977, allocations: 89.02 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1977, allocations: 3.938 kB / 0.9876 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.198, allocations: 39.95 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1981, allocations: 11.92 kB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1981, allocations: 15.98 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.1981, allocations: 103.3 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1981, allocations: 0 / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002384/0.1984, allocations: 23.94 kB / 0.9877 GB, free: 19.17 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 9.472e-05/0.1985, allocations: 95.25 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006081/0.1991, allocations: 203.8 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1991, allocations: 0 / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.1994, allocations: 104 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1997, allocations: 11.09 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.2003, allocations: 297.6 kB / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2004, allocations: 0.7043 MB / 0.9891 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.755e-05/0.2005, allocations: 15.98 kB / 0.9891 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.2006, allocations: 11.44 kB / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2006, allocations: 0 / 0.9891 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of Templates: time 0.003053/0.2037, allocations: 1.337 MB / 0.9904 GB, free: 16.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)