Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 107.6 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 192.5 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 278 kB / 291 MB, free: 14.67 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8576/0.8576, allocations: 169.2 MB / 0.4985 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 88.3 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1663, allocations: 86.98 MB / 0.6803 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002861/0.1692, allocations: 1.829 MB / 0.682 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1703, allocations: 0.6515 MB / 0.6827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1703, allocations: 4 kB / 0.6827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.1704, allocations: 7.922 kB / 0.6827 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.601e-05/0.1704, allocations: 11.88 kB / 0.6827 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.171, allocations: 169.8 kB / 0.6829 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1711, allocations: 119.7 kB / 0.683 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1712, allocations: 45.38 kB / 0.683 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1714, allocations: 63.77 kB / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.1714, allocations: 51.75 kB / 0.6831 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1715, allocations: 12 kB / 0.6831 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.1716, allocations: 43.97 kB / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1716, allocations: 31.89 kB / 0.6832 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1717, allocations: 55.67 kB / 0.6833 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1718, allocations: 99.77 kB / 0.6834 GB, free: 5.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1718, allocations: 0 / 0.6834 GB, free: 5.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1718, allocations: 0 / 0.6834 GB, free: 5.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1718, allocations: 0 / 0.6834 GB, free: 5.355 MB / 494.1 MB 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.000593/0.1724, allocations: 435.1 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1725, allocations: 12.03 kB / 0.6838 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.1733, allocations: 112.6 kB / 0.6839 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1734, allocations: 185.8 kB / 0.6841 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.1735, allocations: 67.95 kB / 0.6841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1735, allocations: 8.375 kB / 0.6842 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.174, allocations: 175.6 kB / 0.6843 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.174, allocations: 3.938 kB / 0.6843 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.174, allocations: 4 kB / 0.6843 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.174, allocations: 4 kB / 0.6843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.1746, allocations: 159.8 kB / 0.6845 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1756, allocations: 485.7 kB / 0.6849 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/0.1765, allocations: 218.3 kB / 0.6852 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1768, allocations: 84.91 kB / 0.6852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1768, allocations: 3.984 kB / 0.6852 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1769, allocations: 30.56 kB / 0.6853 GB, free: 3.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1769, allocations: 0 / 0.6853 GB, free: 3.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009248/0.1778, allocations: 265.5 kB / 0.6855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1778, allocations: 59.33 kB / 0.6856 GB, free: 2.902 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.1779, allocations: 135.5 kB / 0.6857 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.178, allocations: 25.7 kB / 0.6857 GB, free: 2.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.178, allocations: 112.2 kB / 0.6858 GB, free: 2.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1781, allocations: 19.69 kB / 0.6859 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1781, allocations: 29.7 kB / 0.6859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1783, allocations: 322.8 kB / 0.6862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.1786, allocations: 67.92 kB / 0.6863 GB, free: 2.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.1788, allocations: 98.48 kB / 0.6864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.1794, allocations: 162.4 kB / 0.6865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1794, allocations: 0 / 0.6865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000593/0.18, allocations: 209.3 kB / 0.6867 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.18, allocations: 4 kB / 0.6867 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.18, allocations: 4.062 kB / 0.6867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.18, allocations: 3.938 kB / 0.6867 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1803, allocations: 39.95 kB / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1803, allocations: 0 / 0.6868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1805, allocations: 32.17 kB / 0.6868 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1805, allocations: 0 / 0.6868 GB, free: 1.602 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/0.1806, allocations: 121.8 kB / 0.6869 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1806, allocations: 7.906 kB / 0.6869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.1813, allocations: 214.1 kB / 0.6871 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1813, allocations: 4 kB / 0.6871 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1813, allocations: 0 / 0.6871 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1813, allocations: 3.984 kB / 0.6871 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1815, allocations: 242.4 kB / 0.6874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1815, allocations: 0 / 0.6874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1818, allocations: 31.95 kB / 0.6874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1818, allocations: 0 / 0.6874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1818, allocations: 11.92 kB / 0.6874 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1818, allocations: 0 / 0.6874 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1818, allocations: 3.938 kB / 0.6874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.1824, allocations: 291.2 kB / 0.6877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1825, allocations: 81.02 kB / 0.6878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1825, allocations: 11.88 kB / 0.6878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.1828, allocations: 31.95 kB / 0.6878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1828, allocations: 3.984 kB / 0.6878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1829, allocations: 8 kB / 0.6878 GB, free: 464 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.1829, allocations: 107.2 kB / 0.6879 GB, free: 356 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1829, allocations: 0 / 0.6879 GB, free: 356 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1832, allocations: 27.84 kB / 0.6879 GB, free: 328 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.1833, allocations: 99.25 kB / 0.688 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006119/0.1839, allocations: 167.8 kB / 0.6882 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1839, allocations: 0 / 0.6882 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2326/0.4166, allocations: 81.31 kB / 0.6883 GB, free: 18.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.417, allocations: 9.078 kB / 0.6883 GB, free: 18.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.4177, allocations: 313 kB / 0.6886 GB, free: 18.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4178, allocations: 0.7008 MB / 0.6893 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.4179, allocations: 20.05 kB / 0.6893 GB, free: 17.54 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4179, allocations: 0 / 0.6893 GB, free: 17.54 MB / 494.1 MB Notification: Performance of Templates: time 0.003401/0.4213, allocations: 1.602 MB / 0.6908 GB, free: 17.5 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)