Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004262/0.004267, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001146/0.001147, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.007/4.007, allocations: 389.1 MB / 406.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.03/4.03, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004972, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.198, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8059/1.004, allocations: 124.6 MB / 1.226 GB, free: 28.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/1.004, allocations: 73.69 kB / 1.226 GB, free: 28.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005681/1.01, allocations: 0.9168 MB / 1.227 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.517e-06/1.01, allocations: 0 / 1.227 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.168e-06/1.01, allocations: 3.938 kB / 1.227 GB, free: 27.79 MB / 0.6198 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.0005526/1.011, allocations: 351.1 kB / 1.228 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.011, allocations: 8.031 kB / 1.228 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/1.011, allocations: 1.719 kB / 1.228 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.011, allocations: 167.7 kB / 1.228 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.011, allocations: 0 / 1.228 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.011, allocations: 3.75 kB / 1.228 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/1.011, allocations: 54.19 kB / 1.228 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.011, allocations: 0 / 1.228 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.011, allocations: 3.438 kB / 1.228 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.011, allocations: 4 kB / 1.228 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/1.012, allocations: 46.72 kB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/1.013, allocations: 276.3 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/1.013, allocations: 43.5 kB / 1.228 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/1.013, allocations: 25.75 kB / 1.228 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/1.014, allocations: 203.7 kB / 1.228 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.014, allocations: 42.45 kB / 1.228 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/1.014, allocations: 0 / 1.228 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0008254/1.015, allocations: 94.83 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.015, allocations: 58.02 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.015, allocations: 108.2 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/1.015, allocations: 25.7 kB / 1.229 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/1.015, allocations: 80.8 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/1.015, allocations: 12.45 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/1.015, allocations: 0 / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.016, allocations: 312.2 kB / 1.229 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.016, allocations: 20.2 kB / 1.229 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.016, allocations: 24.41 kB / 1.229 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/1.016, allocations: 28.58 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.016, allocations: 0 / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005076/1.017, allocations: 78.41 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.017, allocations: 5.359 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.017, allocations: 0 / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.017, allocations: 2.188 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.017, allocations: 14.44 kB / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.017, allocations: 0 / 1.229 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.017, allocations: 15.86 kB / 1.229 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/1.017, allocations: 0 / 1.229 GB, free: 25.71 MB / 0.6198 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 () * Number of clocked 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 0.0001187/1.017, allocations: 115.2 kB / 1.229 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/1.017, allocations: 4.672 kB / 1.229 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/1.018, allocations: 84.45 kB / 1.229 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.018, allocations: 1.875 kB / 1.229 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.018, allocations: 5.344 kB / 1.229 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.018, allocations: 4 kB / 1.229 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/1.018, allocations: 159.1 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.018, allocations: 0 / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.019, allocations: 11.8 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.019, allocations: 0 / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/1.019, allocations: 3.188 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.019, allocations: 0 / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.019, allocations: 0.9375 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/1.019, allocations: 181.5 kB / 1.23 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/1.019, allocations: 84.95 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/1.019, allocations: 4.25 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/1.02, allocations: 10.02 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/1.02, allocations: 5.281 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/1.02, allocations: 0.7031 kB / 1.23 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005919/1.02, allocations: 83.72 kB / 1.23 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.01e-07/1.02, allocations: 0 / 1.23 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005893/1.021, allocations: 13.73 kB / 1.23 GB, free: 40.95 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 () * Number of clocked 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.0002208/1.021, allocations: 110.7 kB / 1.23 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005046/1.022, allocations: 50.8 kB / 1.23 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.022, allocations: 0 / 1.23 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.022, allocations: 26.98 kB / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/1.023, allocations: 12.17 kB / 1.23 GB, free: 40.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/1.023, allocations: 111.2 kB / 1.23 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/1.023, allocations: 0.6816 MB / 1.231 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.478e-05/1.024, allocations: 4.516 kB / 1.231 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/1.024, allocations: 9.875 kB / 1.231 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/1.024, allocations: 0 / 1.231 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.004734/1.028, allocations: 0.5221 MB / 1.231 GB, free: 39.69 MB / 0.6355 GB