Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.551/1.551, allocations: 287.4 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 186.6 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007443/0.0007443, allocations: 93.28 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 12.81 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006766/0.1991, allocations: 327.5 kB / 0.9796 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2003, allocations: 1.113 MB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.2004, allocations: 0 / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.2004, allocations: 0 / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2006, allocations: 7.984 kB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.2006, allocations: 8 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.761e-05/0.2006, allocations: 7.938 kB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.2007, allocations: 3.984 kB / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.215e-05/0.2007, allocations: 0 / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.2007, allocations: 4 kB / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-06/0.2008, allocations: 0 / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.2008, allocations: 23.91 kB / 0.9807 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-06/0.2009, allocations: 0 / 0.9807 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.2009, allocations: 29.64 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.108e-05/0.2009, allocations: 4 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2009, allocations: 4 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.542e-06/0.201, allocations: 0 / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.201, allocations: 0 / 0.9808 GB, free: 26.6 MB / 0.6198 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.0001737/0.2011, allocations: 315.5 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2012, allocations: 8.031 kB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.2012, allocations: 4.938 kB / 0.9811 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.535e-05/0.2013, allocations: 164.3 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2013, allocations: 8.359 kB / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2013, allocations: 384 / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.2014, allocations: 38.02 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2014, allocations: 3.938 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.2015, allocations: 4 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2015, allocations: 0 / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.2015, allocations: 7.984 kB / 0.9813 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.916e-05/0.2016, allocations: 153.9 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2018, allocations: 34.55 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.2018, allocations: 12.86 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2019, allocations: 89.19 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.202, allocations: 34.5 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.202, allocations: 3.984 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003776/0.2057, allocations: 0.5676 MB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.2058, allocations: 51.41 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.194e-05/0.2058, allocations: 89.86 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2058, allocations: 25.7 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.2058, allocations: 84.14 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2059, allocations: 19.8 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.2059, allocations: 0 / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.2059, allocations: 310.8 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.2065, allocations: 87.95 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.207, allocations: 102.5 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2081, allocations: 190.5 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2081, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001104/0.2092, allocations: 209.6 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2092, allocations: 11.94 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2093, allocations: 4.062 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2093, allocations: 0 / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.2096, allocations: 55.91 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2097, allocations: 0 / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.21, allocations: 39.98 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.21, allocations: 7.984 kB / 0.9834 GB, free: 23.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.2101, allocations: 113.8 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.2101, allocations: 7.844 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2113, allocations: 233.1 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2113, allocations: 0 / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2113, allocations: 4 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.2113, allocations: 81.11 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2114, allocations: 3.938 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.2117, allocations: 39.97 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.2117, allocations: 7.938 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001359/0.213, allocations: 324.8 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001085/0.2141, allocations: 378.7 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000507/0.2147, allocations: 91.89 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.174e-05/0.2147, allocations: 79.28 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of Backend: time 5.11e-07/0.2147, allocations: 0 / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008721/0.2156, allocations: 174.4 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002573/0.2158, allocations: 0.5444 MB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.002947/0.2188, allocations: 1.342 MB / 0.9867 GB, free: 20.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)