Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.0009751, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009573/0.0009576, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.472/1.472, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.28 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001691/0.1646, allocations: 0.6509 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1657, allocations: 1.145 MB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.1657, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.1657, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1659, allocations: 15.92 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.166, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.857e-05/0.166, allocations: 7.984 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.166, allocations: 4 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-06/0.166, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.757e-05/0.1661, allocations: 3.938 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1661, allocations: 4 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.1662, allocations: 23.92 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-06/0.1662, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.1662, allocations: 11.97 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.1662, allocations: 11.94 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1663, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1663, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1663, allocations: 3.984 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002018/0.1665, allocations: 311.6 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1665, allocations: 12.03 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.1665, allocations: 4.938 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.326e-05/0.1666, allocations: 164.4 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1666, allocations: 4.375 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1666, allocations: 8.359 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.375e-05/0.1667, allocations: 37.95 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1667, allocations: 4 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.1667, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.1668, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.1668, allocations: 11.98 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.1669, allocations: 157.9 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.167, allocations: 30.58 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.1671, allocations: 12.94 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.1672, allocations: 89.05 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.1672, allocations: 38.44 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1672, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003723/0.1709, allocations: 0.5676 MB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.171, allocations: 59.41 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.858e-05/0.171, allocations: 89.86 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.171, allocations: 25.7 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.171, allocations: 80.14 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1711, allocations: 23.78 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1711, allocations: 13.72 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.1712, allocations: 314.8 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.1717, allocations: 87.94 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.1723, allocations: 102.5 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1733, allocations: 186.4 kB / 0.787 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1733, allocations: 4 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001074/0.1744, allocations: 213.5 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1744, allocations: 11.94 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1744, allocations: 3.984 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.1744, allocations: 0 / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.1748, allocations: 52 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1748, allocations: 0 / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1751, allocations: 39.98 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1751, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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 6.661e-05/0.1752, allocations: 118.4 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.1752, allocations: 11.83 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1765, allocations: 233.1 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1765, allocations: 0 / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1765, allocations: 4 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1765, allocations: 0 / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.1778, allocations: 458.7 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1778, allocations: 0 / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.1782, allocations: 47.97 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1782, allocations: 4.422 kB / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1782, allocations: 4 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1782, allocations: 0 / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1782, allocations: 0 / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1794, allocations: 307.3 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.1794, allocations: 85.09 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1794, allocations: 0 / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.1798, allocations: 39.97 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1798, allocations: 4 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1798, allocations: 4 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.1798, allocations: 75.28 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1798, allocations: 3.938 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002241/0.1801, allocations: 16 kB / 0.7887 GB, free: 7.52 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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.0001276/0.1802, allocations: 107.2 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.1814, allocations: 183.8 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1814, allocations: 4.188 kB / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.1819, allocations: 91.94 kB / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1821, allocations: 0 / 0.7891 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/0.1831, allocations: 232.8 kB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1833, allocations: 0.6767 MB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.1835, allocations: 31.98 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.1836, allocations: 11.44 kB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1836, allocations: 0 / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of Templates: time 0.002082/0.1857, allocations: 0.8142 MB / 0.7908 GB, free: 5.32 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)