Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.574/1.574, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.0009418/0.0009419, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.334/1.334, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.000811/0.000811, allocations: 108.6 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.000557, allocations: 18.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.272, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007424/0.2728, allocations: 323.8 kB / 0.9811 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.274, allocations: 1.118 MB / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.274, allocations: 0 / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.274, allocations: 0 / 0.9822 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.2743, allocations: 8 kB / 0.9822 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.2743, allocations: 3.938 kB / 0.9822 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.2743, allocations: 7.984 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.2744, allocations: 11.98 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.2744, allocations: 0 / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.2745, allocations: 0 / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.2745, allocations: 0 / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.2746, allocations: 19.92 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.331e-06/0.2746, allocations: 4 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.2746, allocations: 33.62 kB / 0.9822 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.982e-05/0.2747, allocations: 11.98 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2747, allocations: 0 / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2747, allocations: 0 / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2747, allocations: 7.938 kB / 0.9823 GB, free: 25.77 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.0002319/0.2749, allocations: 308.6 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.275, allocations: 8.031 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.275, allocations: 4.875 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.2751, allocations: 164.4 kB / 0.9827 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2751, allocations: 4.375 kB / 0.9827 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.2752, allocations: 4.375 kB / 0.9827 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2753, allocations: 34.02 kB / 0.9828 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2753, allocations: 4 kB / 0.9828 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2753, allocations: 3.984 kB / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2753, allocations: 0 / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.2754, allocations: 11.94 kB / 0.9828 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.2755, allocations: 153.9 kB / 0.9829 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.2757, allocations: 30.58 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.2757, allocations: 8.938 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.2759, allocations: 85.11 kB / 0.983 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2759, allocations: 38.5 kB / 0.9831 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.2759, allocations: 4 kB / 0.9831 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003656/0.2796, allocations: 0.5676 MB / 0.9836 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.2796, allocations: 51.41 kB / 0.9837 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.884e-05/0.2796, allocations: 89.86 kB / 0.9838 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2796, allocations: 29.64 kB / 0.9838 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.2797, allocations: 80.14 kB / 0.9839 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2797, allocations: 23.8 kB / 0.9839 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2797, allocations: 0 / 0.9839 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.2798, allocations: 310.8 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.2803, allocations: 79.95 kB / 0.9843 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.2808, allocations: 102.5 kB / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.2818, allocations: 194.4 kB / 0.9846 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2818, allocations: 0 / 0.9846 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00111/0.2829, allocations: 209.6 kB / 0.9848 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.283, allocations: 7.938 kB / 0.9848 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.283, allocations: 0 / 0.9848 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.283, allocations: 8.031 kB / 0.9848 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.2834, allocations: 43.97 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2834, allocations: 8 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.2837, allocations: 36.16 kB / 0.9849 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2837, allocations: 8 kB / 0.9849 GB, free: 22.84 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 6.523e-05/0.2838, allocations: 113.8 kB / 0.985 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.2838, allocations: 19.78 kB / 0.985 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.285, allocations: 233 kB / 0.9852 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.285, allocations: 432 / 0.9852 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.285, allocations: 3.938 kB / 0.9852 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.2851, allocations: 89.09 kB / 0.9853 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.2851, allocations: 4 kB / 0.9853 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.2854, allocations: 35.98 kB / 0.9853 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.2854, allocations: 7.984 kB / 0.9854 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.2868, allocations: 320.8 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001075/0.2879, allocations: 382.6 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005101/0.2884, allocations: 87.95 kB / 0.9861 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.731e-05/0.2884, allocations: 75.28 kB / 0.9862 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Backend: time 5.71e-07/0.2884, allocations: 0 / 0.9862 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009576/0.2894, allocations: 182.5 kB / 0.9864 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003275/0.2897, allocations: 0.5468 MB / 0.9869 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003572/0.2933, allocations: 1.332 MB / 0.9882 GB, free: 19.34 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)