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 2.86/2.86, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.001525/0.001525, allocations: 186.3 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001246/0.001246, allocations: 89.66 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 16.98 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2492, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007337/0.25, allocations: 329.8 kB / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2514, allocations: 1.1 MB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.2515, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.2515, allocations: 0 / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.2518, allocations: 23.86 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.896e-06/0.2518, allocations: 4 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.505e-05/0.2519, allocations: 3.984 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.2519, allocations: 7.938 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.2519, allocations: 0 / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.616e-05/0.252, allocations: 7.922 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.252, allocations: 0 / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2521, allocations: 15.98 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-06/0.2521, allocations: 0 / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.2521, allocations: 29.7 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.765e-05/0.2522, allocations: 11.97 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2522, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2522, allocations: 8 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2522, allocations: 0 / 0.9797 GB, free: 26.79 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.0001906/0.2524, allocations: 307.4 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2525, allocations: 12.09 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.2525, allocations: 0 / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.46e-05/0.2526, allocations: 167 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2526, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.2527, allocations: 7.984 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.2528, allocations: 33.64 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2528, allocations: 8 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2528, allocations: 0 / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2528, allocations: 3.938 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.2529, allocations: 7.984 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.253, allocations: 161.9 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2532, allocations: 26.58 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.2534, allocations: 89.12 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2534, allocations: 38.56 kB / 0.9805 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.2534, allocations: 0 / 0.9805 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.007062/0.2605, allocations: 0.5676 MB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2606, allocations: 51.41 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.52e-05/0.2606, allocations: 89.86 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2606, allocations: 25.7 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.2607, allocations: 80.14 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.2607, allocations: 15.81 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.2608, allocations: 4 kB / 0.9813 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.2608, allocations: 318.8 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.2618, allocations: 83.95 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2629, allocations: 102.5 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2639, allocations: 83.95 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.264, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00215/0.2661, allocations: 213.6 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2662, allocations: 8.062 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2662, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2662, allocations: 7.938 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.2669, allocations: 51.91 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2669, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.2675, allocations: 35.98 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.2676, allocations: 7.984 kB / 0.9822 GB, free: 23.98 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 9.322e-05/0.2677, allocations: 113.8 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.2677, allocations: 7.906 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.27, allocations: 233 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2701, allocations: 4 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2701, allocations: 256 / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2701, allocations: 0 / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.2725, allocations: 454.5 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2726, allocations: 0 / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.2732, allocations: 51.97 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2733, allocations: 7.875 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2733, allocations: 0 / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2733, allocations: 3.984 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2733, allocations: 0 / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.2755, allocations: 307.8 kB / 0.9833 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.2756, allocations: 81.09 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.2756, allocations: 0 / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.2763, allocations: 39.98 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.2763, allocations: 3.984 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.2763, allocations: 7.984 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.2763, allocations: 75.28 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2764, allocations: 0 / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003744/0.2767, allocations: 12 kB / 0.9836 GB, free: 22.5 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.2769, allocations: 107.2 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.2791, allocations: 179.9 kB / 0.9838 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2791, allocations: 0 / 0.9838 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2802, allocations: 96 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2804, allocations: 11.89 kB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.2822, allocations: 210.7 kB / 0.9841 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2824, allocations: 0.6809 MB / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003788/0.2828, allocations: 24.25 kB / 0.9848 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.2829, allocations: 15.42 kB / 0.9848 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.2829, allocations: 4 kB / 0.9848 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.003527/0.2864, allocations: 0.7769 MB / 0.9856 GB, free: 20.36 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)