Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(Buildings): time 4.131/4.131, allocations: 433.4 MB / 440.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.083e-05, allocations: 6.844 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2046, allocations: 98.72 MB / 0.6289 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.4367, allocations: 123.8 MB / 0.7498 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.437, allocations: 71.95 kB / 0.7499 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00334/0.4403, allocations: 0.9106 MB / 0.7508 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4404, allocations: 0 / 0.7508 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.731e-06/0.4404, allocations: 0 / 0.7508 GB, free: 12.22 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.0004172/0.4408, allocations: 342.4 kB / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4409, allocations: 12.03 kB / 0.7511 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.4409, allocations: 7.953 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4411, allocations: 174.9 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4411, allocations: 0 / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-06/0.4411, allocations: 3.828 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.62e-05/0.4412, allocations: 12 kB / 0.7513 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.4413, allocations: 37.69 kB / 0.7513 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.23e-06/0.4413, allocations: 3.938 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-06/0.4413, allocations: 0 / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4413, allocations: 0 / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.4418, allocations: 257.4 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.4419, allocations: 30.52 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.4419, allocations: 4.859 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.4424, allocations: 206.2 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4424, allocations: 34.56 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.4424, allocations: 0 / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002774/0.4427, allocations: 53.67 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4428, allocations: 51.41 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.4429, allocations: 93.03 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4429, allocations: 25.7 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.443, allocations: 84.14 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.443, allocations: 7.906 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-06/0.443, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4432, allocations: 318.8 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.4433, allocations: 11.94 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.4433, allocations: 0 / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.4434, allocations: 20.05 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-06/0.4434, allocations: 4 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/0.4436, allocations: 45.69 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4437, allocations: 10.34 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-06/0.4437, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4437, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4438, allocations: 11.98 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.154e-06/0.4438, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.4439, allocations: 16.02 kB / 0.7526 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.4439, allocations: 0 / 0.7526 GB, free: 10.15 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.778e-05/0.444, allocations: 104.9 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.4441, allocations: 0 / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4443, allocations: 73.2 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-06/0.4443, allocations: 0 / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.682e-06/0.4443, allocations: 0 / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-06/0.4444, allocations: 0 / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.4446, allocations: 142.5 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-06/0.4446, allocations: 8 kB / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.4447, allocations: 12 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-06/0.4447, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-06/0.4447, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-06/0.4447, allocations: 0 / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.366e-06/0.4447, allocations: 3.984 kB / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.445, allocations: 151.4 kB / 0.753 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.445, allocations: 81.05 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4451, allocations: 0 / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4452, allocations: 11.98 kB / 0.7531 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.4452, allocations: 0 / 0.7531 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-06/0.4453, allocations: 0 / 0.7531 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.4453, allocations: 87.27 kB / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.61e-07/0.4453, allocations: 0 / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003106/0.4457, allocations: 11.94 kB / 0.7532 GB, free: 9.395 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 (2): * Single equations (assignments): 2 * 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.0001829/0.4459, allocations: 111.3 kB / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.446, allocations: 12 kB / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-06/0.446, allocations: 0 / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.446, allocations: 8 kB / 0.7533 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.4462, allocations: 14.17 kB / 0.7534 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.4465, allocations: 55.95 kB / 0.7534 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4468, allocations: 0.6847 MB / 0.7541 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.4469, allocations: 4 kB / 0.7541 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.4469, allocations: 11.38 kB / 0.7541 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of SimCode: time 1.354e-06/0.4469, allocations: 0 / 0.7541 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of Templates: time 0.003196/0.4501, allocations: 0.4918 MB / 0.7546 GB, free: 7.945 MB / 0.6355 GB