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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.201/4.201, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.263e-05, allocations: 9.688 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 98.71 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.412, allocations: 124.5 MB / 0.7563 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4123, allocations: 67.97 kB / 0.7563 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003387/0.4157, allocations: 0.9183 MB / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4157, allocations: 0 / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.93e-06/0.4157, allocations: 0 / 0.7572 GB, free: 4.277 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.0004178/0.4162, allocations: 334.4 kB / 0.7576 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4162, allocations: 12.03 kB / 0.7576 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.4163, allocations: 0 / 0.7576 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4164, allocations: 175 kB / 0.7577 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4164, allocations: 4 kB / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.4165, allocations: 0 / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.4166, allocations: 37.69 kB / 0.7578 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.447e-06/0.4166, allocations: 0 / 0.7578 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-06/0.4166, allocations: 0 / 0.7578 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-06/0.4166, allocations: 4 kB / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.4167, allocations: 11.94 kB / 0.7578 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.4172, allocations: 272.8 kB / 0.758 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.4173, allocations: 26.58 kB / 0.7581 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.4173, allocations: 12.92 kB / 0.7581 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.4177, allocations: 206.2 kB / 0.7583 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4178, allocations: 30.56 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.173e-06/0.4178, allocations: 0 / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.418, allocations: 41.64 kB / 0.7584 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.418, allocations: 51.41 kB / 0.7584 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.4182, allocations: 109 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4182, allocations: 29.64 kB / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.4183, allocations: 80.14 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4183, allocations: 11.84 kB / 0.7586 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-06/0.4183, allocations: 4 kB / 0.7586 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4185, allocations: 310.8 kB / 0.7589 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.4185, allocations: 4 kB / 0.7589 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.4185, allocations: 8 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.4186, allocations: 4.062 kB / 0.7589 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4186, allocations: 3.984 kB / 0.7589 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.4187, allocations: 45.64 kB / 0.759 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4187, allocations: 4 kB / 0.759 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4188, allocations: 0 / 0.759 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4188, allocations: 4 kB / 0.759 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4189, allocations: 11.98 kB / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.509e-06/0.4189, allocations: 0 / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.419, allocations: 12.02 kB / 0.759 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.419, allocations: 7.953 kB / 0.759 GB, free: 2.199 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.841e-05/0.4191, allocations: 106.9 kB / 0.7591 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.4192, allocations: 0 / 0.7591 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.4193, allocations: 56.7 kB / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.4193, allocations: 0 / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-06/0.4193, allocations: 3.938 kB / 0.7592 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.414e-06/0.4194, allocations: 3.984 kB / 0.7592 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.4196, allocations: 165.6 kB / 0.7593 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-06/0.4196, allocations: 0 / 0.7593 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4197, allocations: 15.98 kB / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.33e-06/0.4197, allocations: 0 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-06/0.4198, allocations: 0 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4198, allocations: 256 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.4198, allocations: 4 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.42, allocations: 147.5 kB / 0.7595 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.42, allocations: 77.11 kB / 0.7596 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.42, allocations: 0 / 0.7596 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4202, allocations: 11.98 kB / 0.7596 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.4202, allocations: 0 / 0.7596 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-06/0.4202, allocations: 4 kB / 0.7596 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.4203, allocations: 83.28 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.194e-06/0.4203, allocations: 0 / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003076/0.4206, allocations: 27.89 kB / 0.7597 GB, free: 1.414 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.0001744/0.4208, allocations: 103.2 kB / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.4209, allocations: 16 kB / 0.7598 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.312e-06/0.4209, allocations: 0 / 0.7598 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.421, allocations: 11.94 kB / 0.7598 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.4212, allocations: 3.953 kB / 0.7598 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.4214, allocations: 69.05 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.4218, allocations: 0.677 MB / 0.7606 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.4218, allocations: 7.938 kB / 0.7606 GB, free: 484 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.4219, allocations: 7.438 kB / 0.7606 GB, free: 476 kB / 0.6355 GB Notification: Performance of SimCode: time 1.451e-06/0.4219, allocations: 0 / 0.7606 GB, free: 476 kB / 0.6355 GB Notification: Performance of Templates: time 0.003031/0.4249, allocations: 0.5223 MB / 0.7611 GB, free: 15.94 MB / 0.6511 GB