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.0009928/0.000993, allocations: 109.4 kB / 15.69 MB, free: 128 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.001047/0.001047, allocations: 188 kB / 16.62 MB, free: 6.582 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.218/1.218, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.577/1.577, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001349/0.001349, allocations: 69.5 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1727, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00158/0.1743, allocations: 0.6014 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1754, allocations: 1.14 MB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.1754, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.1755, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1757, allocations: 15.92 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.886e-06/0.1757, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.183e-05/0.1757, allocations: 3.938 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.1757, allocations: 11.98 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.114e-05/0.1758, allocations: 3.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.979e-05/0.1758, allocations: 7.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.1758, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.1759, allocations: 19.97 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.141e-06/0.1759, allocations: 7.938 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.1759, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.176, allocations: 15.92 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.176, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.176, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.176, allocations: 0 / 0.7859 GB, free: 10.88 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.0002321/0.1763, allocations: 327.6 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.1763, allocations: 8.031 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.1763, allocations: 0.9375 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.1764, allocations: 160.4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1764, allocations: 384 / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1764, allocations: 4.375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.1765, allocations: 42 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1765, allocations: 0 / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.1766, allocations: 3.938 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1766, allocations: 4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.1766, allocations: 4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.1767, allocations: 161.6 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1769, allocations: 34.61 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.1769, allocations: 8.859 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.177, allocations: 81.19 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1771, allocations: 46.44 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1771, allocations: 0 / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.003962/0.181, allocations: 0.568 MB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1811, allocations: 51.41 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.946e-05/0.1811, allocations: 93.86 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1811, allocations: 25.7 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.1812, allocations: 80.14 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1812, allocations: 15.81 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.1813, allocations: 21.7 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.1814, allocations: 310.8 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.1819, allocations: 87.95 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.1825, allocations: 98.52 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1836, allocations: 198.4 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1836, allocations: 0 / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001209/0.1849, allocations: 221.5 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1849, allocations: 4.938 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1849, allocations: 7.875 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1849, allocations: 4 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.1853, allocations: 48 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1853, allocations: 4 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.1856, allocations: 40.16 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1857, allocations: 4 kB / 0.7886 GB, free: 7.902 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.527e-05/0.1857, allocations: 105.8 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1858, allocations: 19.84 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.187, allocations: 237 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1871, allocations: 0 / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1871, allocations: 0 / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1871, allocations: 0 / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.1885, allocations: 458.4 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1885, allocations: 0 / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1888, allocations: 47.97 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1888, allocations: 0 / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1889, allocations: 3.984 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1889, allocations: 0 / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1889, allocations: 8 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1901, allocations: 303.4 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.1901, allocations: 77.11 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1901, allocations: 4 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.1905, allocations: 35.98 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.1905, allocations: 11.92 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1905, allocations: 0 / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.1906, allocations: 79.28 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1906, allocations: 0 / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.1908, allocations: 16 kB / 0.7899 GB, free: 6.414 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.0001329/0.1909, allocations: 107.2 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.1921, allocations: 183.8 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1921, allocations: 3.938 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.1927, allocations: 88.14 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1929, allocations: 4 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.194, allocations: 225.1 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1942, allocations: 0.6768 MB / 0.7912 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000165/0.1944, allocations: 31.94 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.1944, allocations: 11.44 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.1944, allocations: 0 / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.002393/0.1968, allocations: 0.8194 MB / 0.792 GB, free: 4.215 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)