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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 173.7 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007056/0.0007056, allocations: 84.25 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004191, allocations: 16.41 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.3297, allocations: 131.6 MB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.33, allocations: 83.89 kB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00223/0.3323, allocations: 0.8564 MB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3323, allocations: 0 / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3323, allocations: 0 / 1.031 GB, free: 10.93 MB / 0.6823 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.0002476/0.3325, allocations: 317.8 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3326, allocations: 8.031 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.3326, allocations: 8.938 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.3327, allocations: 160.4 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3327, allocations: 4.375 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.3328, allocations: 4.281 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.3329, allocations: 38.19 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3329, allocations: 4.172 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3329, allocations: 3.938 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3329, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.333, allocations: 8 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3331, allocations: 157.6 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3333, allocations: 38.55 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.3333, allocations: 12.86 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3335, allocations: 81.2 kB / 1.032 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3335, allocations: 34.55 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3335, allocations: 0 / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.003569/0.3371, allocations: 0.5598 MB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3372, allocations: 63.34 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.3372, allocations: 93.84 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3372, allocations: 25.7 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.3373, allocations: 80.14 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.3373, allocations: 11.81 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.3373, allocations: 4 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3374, allocations: 310.8 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.3379, allocations: 87.95 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.3384, allocations: 102.5 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.3393, allocations: 186.4 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3394, allocations: 4 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00101/0.3404, allocations: 213.5 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3404, allocations: 7.938 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3404, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3404, allocations: 4 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.3408, allocations: 48 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3408, allocations: 0 / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.3411, allocations: 51.91 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3411, allocations: 4 kB / 1.033 GB, free: 7.988 MB / 0.6823 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 7.934e-05/0.3412, allocations: 111.4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.3412, allocations: 8.125 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.3423, allocations: 241.1 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3424, allocations: 0 / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3424, allocations: 3.984 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3424, allocations: 0 / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.3436, allocations: 462.3 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3436, allocations: 4 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.3439, allocations: 47.97 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.344, allocations: 4 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.344, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.344, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.344, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.345, allocations: 307.3 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.3451, allocations: 81.02 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3451, allocations: 0 / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.3454, allocations: 47.97 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.3454, allocations: 4.359 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3454, allocations: 8 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.3455, allocations: 75.28 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 0 / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002318/0.3457, allocations: 8 kB / 1.035 GB, free: 6.5 MB / 0.6823 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.0001702/0.3459, allocations: 111.2 kB / 1.035 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.347, allocations: 179.8 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.347, allocations: 4.188 kB / 1.035 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.3475, allocations: 83.95 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3477, allocations: 7.125 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.3487, allocations: 228.2 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3489, allocations: 0.6731 MB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.3491, allocations: 28 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.3492, allocations: 15.42 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/0.3492, allocations: 0 / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of Templates: time 0.002489/0.3517, allocations: 0.7921 MB / 1.037 GB, free: 4.34 MB / 0.6823 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)