Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008048/0.0008047, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005553/0.005553, allocations: 171.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 11.81 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008465/0.337, allocations: 322.8 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3384, allocations: 1.106 MB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.3385, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.3385, allocations: 0 / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.3387, allocations: 23.97 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.405e-06/0.3387, allocations: 3.938 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.3388, allocations: 4 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.3388, allocations: 0 / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.3389, allocations: 0 / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.3389, allocations: 4 kB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3389, allocations: 4 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3391, allocations: 31.89 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.3391, allocations: 3.938 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3391, allocations: 25.7 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.3392, allocations: 7.984 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3392, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3392, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3392, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 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.0002919/0.3395, allocations: 315.6 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3396, allocations: 16.09 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.3396, allocations: 0.9375 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3397, allocations: 164.4 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3397, allocations: 4.312 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3398, allocations: 384 / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3399, allocations: 41.95 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3399, allocations: 4 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3399, allocations: 3.938 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3399, allocations: 0 / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.34, allocations: 7.984 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3401, allocations: 157.7 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3403, allocations: 26.58 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.3404, allocations: 12.95 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3405, allocations: 85.09 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3406, allocations: 38.44 kB / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.3406, allocations: 0 / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.004269/0.3448, allocations: 0.5756 MB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3449, allocations: 55.41 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.396e-05/0.3449, allocations: 89.86 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.345, allocations: 25.7 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.345, allocations: 80.14 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.345, allocations: 15.8 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.3451, allocations: 13.72 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.3452, allocations: 314.8 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006007/0.3458, allocations: 83.95 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.3464, allocations: 102.5 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.3476, allocations: 186.4 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3476, allocations: 4 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001298/0.3489, allocations: 217.5 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.349, allocations: 8 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.349, allocations: 432 / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.349, allocations: 0 / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3494, allocations: 52 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3494, allocations: 0 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.3498, allocations: 43.97 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3498, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 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 9.797e-05/0.3499, allocations: 113.8 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.3499, allocations: 11.78 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3513, allocations: 237.3 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3513, allocations: 7.938 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3513, allocations: 4 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3513, allocations: 0 / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3529, allocations: 462.4 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3529, allocations: 0 / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.3533, allocations: 39.98 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3533, allocations: 7.984 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3534, allocations: 4 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3534, allocations: 0 / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3534, allocations: 0 / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3547, allocations: 311.3 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.3547, allocations: 81.11 kB / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3547, allocations: 0 / 1.079 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3551, allocations: 35.98 kB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.3551, allocations: 11.98 kB / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3552, allocations: 0 / 1.08 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.3552, allocations: 79.31 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3552, allocations: 0 / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002496/0.3555, allocations: 16 kB / 1.08 GB, free: 1.551 MB / 0.8262 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.0001942/0.3557, allocations: 99.25 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.3569, allocations: 187.9 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.357, allocations: 4.062 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.3576, allocations: 83.95 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3578, allocations: 4 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.359, allocations: 218.6 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3592, allocations: 0.6809 MB / 1.081 GB, free: 224 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.3594, allocations: 28 kB / 1.081 GB, free: 196 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3595, allocations: 11.44 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3595, allocations: 0 / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of Templates: time 0.00332/0.3629, allocations: 0.7999 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)