Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 253.2 MB / 260.6 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002459/0.002459, allocations: 187.5 kB / 319.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.6 MB / 0.5708 GB, free: 15.24 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001155, allocations: 92.62 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.312e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1952, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8752/1.07, allocations: 131.6 MB / 1.017 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/1.071, allocations: 77.33 kB / 1.017 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004038/1.075, allocations: 0.8405 MB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.075, allocations: 4 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.042e-06/1.075, allocations: 0 / 1.018 GB, free: 4.91 MB / 0.6355 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.0003552/1.075, allocations: 317.7 kB / 1.018 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.075, allocations: 8.031 kB / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/1.076, allocations: 0 / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.076, allocations: 171 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/1.076, allocations: 4 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/1.076, allocations: 0.75 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/1.076, allocations: 4 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/1.076, allocations: 40.62 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.076, allocations: 2.625 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.076, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.076, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/1.076, allocations: 130.2 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/1.076, allocations: 33.11 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/1.077, allocations: 11.92 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/1.077, allocations: 85.09 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.077, allocations: 38.5 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/1.077, allocations: 0 / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.005903/1.083, allocations: 355.5 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.083, allocations: 55.41 kB / 1.019 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/1.083, allocations: 88.98 kB / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.083, allocations: 29.7 kB / 1.019 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/1.083, allocations: 83.77 kB / 1.019 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/1.083, allocations: 11.72 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/1.083, allocations: 0 / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.083, allocations: 314.8 kB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/1.083, allocations: 7.812 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.084, allocations: 29.06 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/1.084, allocations: 15.98 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.084, allocations: 3.953 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004315/1.084, allocations: 64.92 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/1.084, allocations: 8 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.084, allocations: 0 / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.084, allocations: 3.938 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.085, allocations: 52.06 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.085, allocations: 0 / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/1.086, allocations: 43.97 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/1.086, allocations: 3.438 kB / 1.02 GB, free: 2.75 MB / 0.6355 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 () * 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 0.0001408/1.086, allocations: 112.9 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.086, allocations: 7.953 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/1.087, allocations: 88.67 kB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.087, allocations: 0 / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.087, allocations: 4 kB / 1.02 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.087, allocations: 0 / 1.02 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/1.088, allocations: 282 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.088, allocations: 8 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/1.089, allocations: 43.97 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.089, allocations: 4 kB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/1.089, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.089, allocations: 0 / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.089, allocations: 4 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/1.09, allocations: 169.5 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/1.09, allocations: 81.09 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/1.09, allocations: 4 kB / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008448/1.091, allocations: 35.98 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/1.091, allocations: 4 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/1.091, allocations: 3.984 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.111e-05/1.091, allocations: 79.28 kB / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.091, allocations: 0 / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005455/1.091, allocations: 11.94 kB / 1.021 GB, free: 1.758 MB / 0.6355 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 () * 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.0002703/1.092, allocations: 107.2 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002566/1.092, allocations: 23.23 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.092, allocations: 3.938 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/1.092, allocations: 15.56 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/1.092, allocations: 5.516 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/1.093, allocations: 103.7 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.094, allocations: 0.6846 MB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005634/1.094, allocations: 27.98 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.095, allocations: 11.44 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/1.095, allocations: 0 / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of Templates: time 0.00483/1.099, allocations: 0.7876 MB / 1.023 GB, free: 15.96 MB / 0.6511 GB