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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007341/0.000734, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004413/0.004413, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0004998, allocations: 16 kB / 0.6249 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3709, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006148/0.3716, allocations: 332.6 kB / 0.729 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3728, allocations: 1.146 MB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.3729, allocations: 0 / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.3729, allocations: 3.938 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.3731, allocations: 11.94 kB / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.3731, allocations: 0 / 0.7302 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.884e-05/0.3731, allocations: 8 kB / 0.7302 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.3732, allocations: 7.984 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.3732, allocations: 3.984 kB / 0.7302 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.3732, allocations: 4 kB / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.3732, allocations: 0 / 0.7302 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.3733, allocations: 19.92 kB / 0.7302 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-06/0.3733, allocations: 0 / 0.7302 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.3734, allocations: 29.64 kB / 0.7303 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.313e-05/0.3734, allocations: 15.97 kB / 0.7303 GB, free: 9.652 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3734, allocations: 4 kB / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3734, allocations: 0 / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.3735, allocations: 4 kB / 0.7303 GB, free: 9.645 MB / 0.545 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.0002182/0.3737, allocations: 315.5 kB / 0.7306 GB, free: 9.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3737, allocations: 12.09 kB / 0.7306 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.3737, allocations: 0.9375 kB / 0.7306 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/0.3738, allocations: 160.4 kB / 0.7307 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3738, allocations: 384 / 0.7307 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3739, allocations: 8.375 kB / 0.7307 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.374, allocations: 41.94 kB / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.374, allocations: 3.984 kB / 0.7308 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.374, allocations: 8 kB / 0.7308 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.374, allocations: 0 / 0.7308 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.167e-05/0.374, allocations: 7.938 kB / 0.7308 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.3742, allocations: 155.6 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3743, allocations: 34.61 kB / 0.731 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.3743, allocations: 8.797 kB / 0.731 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.3745, allocations: 81.11 kB / 0.7311 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3745, allocations: 42.5 kB / 0.7311 GB, free: 8.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3745, allocations: 7.938 kB / 0.7311 GB, free: 8.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.003943/0.3785, allocations: 0.5599 MB / 0.7317 GB, free: 8.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3785, allocations: 55.41 kB / 0.7317 GB, free: 7.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.393e-05/0.3785, allocations: 93.84 kB / 0.7318 GB, free: 7.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3786, allocations: 25.7 kB / 0.7318 GB, free: 7.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 1.889e-05/0.3786, allocations: 80.14 kB / 0.7319 GB, free: 7.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.3786, allocations: 19.66 kB / 0.7319 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3787, allocations: 17.72 kB / 0.7319 GB, free: 7.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.3787, allocations: 310.8 kB / 0.7322 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.3793, allocations: 79.95 kB / 0.7323 GB, free: 7.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.3799, allocations: 106.5 kB / 0.7324 GB, free: 7.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.381, allocations: 194.4 kB / 0.7326 GB, free: 7.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.381, allocations: 0 / 0.7326 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001168/0.3822, allocations: 209.5 kB / 0.7328 GB, free: 6.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3822, allocations: 9.719 kB / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3822, allocations: 0 / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3822, allocations: 0 / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3826, allocations: 52 kB / 0.7329 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3826, allocations: 3.984 kB / 0.7329 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.383, allocations: 39.98 kB / 0.7329 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.383, allocations: 4 kB / 0.7329 GB, free: 6.688 MB / 0.545 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 7.244e-05/0.3831, allocations: 117.8 kB / 0.733 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.3831, allocations: 3.938 kB / 0.733 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3844, allocations: 237.1 kB / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3844, allocations: 0 / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3844, allocations: 0 / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3844, allocations: 0 / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3858, allocations: 462.4 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3858, allocations: 0 / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.3861, allocations: 51.97 kB / 0.7337 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3862, allocations: 7.938 kB / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3862, allocations: 320 / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3862, allocations: 0 / 0.7338 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3862, allocations: 4 kB / 0.7338 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3874, allocations: 315.2 kB / 0.7341 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3874, allocations: 77.11 kB / 0.7341 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3875, allocations: 0 / 0.7341 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.3878, allocations: 43.97 kB / 0.7342 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3879, allocations: 4.422 kB / 0.7342 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3879, allocations: 4 kB / 0.7342 GB, free: 5.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.3879, allocations: 75.28 kB / 0.7343 GB, free: 5.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3879, allocations: 0 / 0.7343 GB, free: 5.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.3881, allocations: 11.94 kB / 0.7343 GB, free: 5.195 MB / 0.545 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.000149/0.3883, allocations: 103.2 kB / 0.7344 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0012/0.3895, allocations: 187.8 kB / 0.7345 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3895, allocations: 0 / 0.7345 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.3901, allocations: 92.08 kB / 0.7346 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3903, allocations: 2.625 kB / 0.7346 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3914, allocations: 225.7 kB / 0.7348 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3916, allocations: 0.6731 MB / 0.7355 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.3918, allocations: 31.98 kB / 0.7355 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.3919, allocations: 15.42 kB / 0.7355 GB, free: 3.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.3919, allocations: 0 / 0.7355 GB, free: 3.82 MB / 0.545 GB Notification: Performance of Templates: time 0.002697/0.3946, allocations: 0.8058 MB / 0.7363 GB, free: 3.027 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: