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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 194 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 283 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 104.2 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1625, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002887/0.1655, allocations: 1.768 MB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.1665, allocations: 0.6557 MB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.1665, allocations: 4 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.1666, allocations: 15.86 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.1667, allocations: 11.81 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.1672, allocations: 178.5 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1674, allocations: 123.7 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1675, allocations: 45.36 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1676, allocations: 63.78 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.1677, allocations: 51.75 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1678, allocations: 12 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1679, allocations: 43.97 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.1679, allocations: 31.89 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.168, allocations: 51.67 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1682, allocations: 147.5 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1682, allocations: 0 / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1682, allocations: 4 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1682, allocations: 0 / 0.6833 GB, free: 13.48 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.0005852/0.1688, allocations: 439 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1689, allocations: 8.031 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.1697, allocations: 108.7 kB / 0.6838 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1699, allocations: 192 kB / 0.684 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.17, allocations: 67.95 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.17, allocations: 8.375 kB / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.1705, allocations: 169.7 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1705, allocations: 0 / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1705, allocations: 4 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1706, allocations: 4 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1711, allocations: 159.8 kB / 0.6844 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1722, allocations: 481.7 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1732, allocations: 222.2 kB / 0.6851 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.1735, allocations: 84.91 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1736, allocations: 11.95 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1736, allocations: 38.56 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1736, allocations: 0 / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009883/0.1746, allocations: 257.5 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1746, allocations: 55.39 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1747, allocations: 134.9 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1748, allocations: 29.7 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1749, allocations: 116 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1749, allocations: 19.75 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.1749, allocations: 25.7 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1751, allocations: 322.8 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.1754, allocations: 67.92 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1757, allocations: 98.48 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.1763, allocations: 162.4 kB / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1763, allocations: 7.938 kB / 0.6864 GB, free: 10.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006892/0.177, allocations: 201.4 kB / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.177, allocations: 5.719 kB / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.177, allocations: 0 / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.177, allocations: 12 kB / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1773, allocations: 31.95 kB / 0.6867 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1773, allocations: 4 kB / 0.6867 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1775, allocations: 27.86 kB / 0.6867 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1775, allocations: 320 / 0.6867 GB, free: 9.73 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 0.0001084/0.1777, allocations: 127.1 kB / 0.6868 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1777, allocations: 11.91 kB / 0.6868 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/0.1784, allocations: 210.1 kB / 0.687 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1784, allocations: 0 / 0.687 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1784, allocations: 4 kB / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1784, allocations: 3.984 kB / 0.687 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1787, allocations: 230.4 kB / 0.6873 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1787, allocations: 0 / 0.6873 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.1789, allocations: 35.89 kB / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1789, allocations: 0 / 0.6873 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1789, allocations: 15.92 kB / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1789, allocations: 0 / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.179, allocations: 0 / 0.6873 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.1796, allocations: 287.2 kB / 0.6876 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.1797, allocations: 81.02 kB / 0.6877 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1797, allocations: 7.938 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.18, allocations: 31.95 kB / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1801, allocations: 11.98 kB / 0.6877 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1801, allocations: 0 / 0.6877 GB, free: 8.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.1802, allocations: 109.1 kB / 0.6878 GB, free: 8.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1802, allocations: 0 / 0.6878 GB, free: 8.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1804, allocations: 27.84 kB / 0.6878 GB, free: 8.461 MB / 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.0001192/0.1806, allocations: 103.2 kB / 0.6879 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.1813, allocations: 167.8 kB / 0.6881 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1813, allocations: 0 / 0.6881 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.1816, allocations: 84.03 kB / 0.6882 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.182, allocations: 11.94 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.1827, allocations: 259.3 kB / 0.6884 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1831, allocations: 0.7002 MB / 0.6891 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1832, allocations: 15.98 kB / 0.6891 GB, free: 7.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1832, allocations: 11.44 kB / 0.6892 GB, free: 7.059 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1832, allocations: 0 / 0.6892 GB, free: 7.059 MB / 494.1 MB Notification: Performance of Templates: time 0.003899/0.1871, allocations: 1.487 MB / 0.6906 GB, free: 5.586 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)