Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005032/0.005032, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001194/0.001194, allocations: 187.8 kB / 16.67 MB, free: 5.973 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.246/1.246, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.7 MB / 0.5094 GB, free: 3.02 MB / 414.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.001404/0.001404, allocations: 74.52 kB / 0.7258 GB, free: 8.934 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.179, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001827/0.1809, allocations: 0.5942 MB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1825, allocations: 1.156 MB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1825, allocations: 3.938 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.1825, allocations: 0 / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1828, allocations: 27.91 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.1828, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.1829, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.1829, allocations: 4 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.352e-05/0.1829, allocations: 4 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.966e-05/0.183, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.183, allocations: 0 / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1831, allocations: 19.92 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-06/0.1831, allocations: 3.984 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.1831, allocations: 11.94 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.857e-05/0.1832, allocations: 7.984 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1832, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1832, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1832, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 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.0002995/0.1835, allocations: 327.5 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1836, allocations: 12.03 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1836, allocations: 4.875 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.1837, allocations: 164.3 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1837, allocations: 4.359 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1838, allocations: 4.375 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1839, allocations: 38.02 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1839, allocations: 0 / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1839, allocations: 0 / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1839, allocations: 7.938 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.1839, allocations: 7.984 kB / 0.8304 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1841, allocations: 149.7 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1843, allocations: 34.55 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.1843, allocations: 8.859 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.1845, allocations: 89.17 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1845, allocations: 42.44 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1845, allocations: 4 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.004225/0.1887, allocations: 0.5638 MB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1888, allocations: 51.41 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.1888, allocations: 89.86 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1889, allocations: 25.7 kB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.1889, allocations: 80.14 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1889, allocations: 31.64 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.189, allocations: 17.72 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1891, allocations: 310.8 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.1897, allocations: 83.95 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.1903, allocations: 106.5 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1915, allocations: 194.7 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1915, allocations: 4 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00117/0.1926, allocations: 218 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1927, allocations: 4 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1927, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1927, allocations: 4 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.1931, allocations: 51.94 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1931, allocations: 3.984 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.1934, allocations: 39.98 kB / 0.8325 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1934, allocations: 4 kB / 0.8325 GB, free: 11.3 MB / 0.6544 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 7.986e-05/0.1935, allocations: 109.8 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1936, allocations: 7.922 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.1948, allocations: 241.1 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1949, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1949, allocations: 3.938 kB / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1949, allocations: 0 / 0.8329 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1963, allocations: 450.5 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1963, allocations: 0 / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1966, allocations: 59.91 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1966, allocations: 0 / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1967, allocations: 0 / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1967, allocations: 3.938 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1967, allocations: 4 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.1978, allocations: 307.3 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1979, allocations: 77.11 kB / 0.8337 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1979, allocations: 4 kB / 0.8337 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1982, allocations: 40.16 kB / 0.8338 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1983, allocations: 12 kB / 0.8338 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1983, allocations: 0 / 0.8338 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.1983, allocations: 79.28 kB / 0.8339 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1983, allocations: 3.938 kB / 0.8339 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002371/0.1986, allocations: 8 kB / 0.8339 GB, free: 9.812 MB / 0.6544 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.0001692/0.1987, allocations: 107.2 kB / 0.834 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.1999, allocations: 179.8 kB / 0.8342 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1999, allocations: 192 / 0.8342 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.2005, allocations: 91.95 kB / 0.8342 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2007, allocations: 11.88 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2018, allocations: 225 kB / 0.8345 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2022, allocations: 0.6766 MB / 0.8351 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.2023, allocations: 28 kB / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.2024, allocations: 11.42 kB / 0.8352 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.2024, allocations: 4 kB / 0.8352 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of Templates: time 0.002699/0.2051, allocations: 0.809 MB / 0.836 GB, free: 7.629 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)