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.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadModel(Buildings): time 4.05/4.05, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.932e-05, allocations: 6.672 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 98.72 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.3692, allocations: 123.8 MB / 0.7556 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.3695, allocations: 71.95 kB / 0.7557 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00159/0.3711, allocations: 0.5398 MB / 0.7562 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.852e-06/0.3711, allocations: 0 / 0.7562 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3711, allocations: 0 / 0.7562 GB, free: 5.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002732/0.3714, allocations: 310.6 kB / 0.7565 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3714, allocations: 8.031 kB / 0.7565 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3717, allocations: 23.88 kB / 0.7565 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3718, allocations: 163 kB / 0.7567 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3718, allocations: 0 / 0.7567 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3719, allocations: 0 / 0.7567 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.372, allocations: 33.69 kB / 0.7567 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.34e-06/0.372, allocations: 3.984 kB / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-06/0.372, allocations: 0 / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.372, allocations: 0 / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.3721, allocations: 7.938 kB / 0.7567 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3722, allocations: 157.6 kB / 0.7569 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.3723, allocations: 14.58 kB / 0.7569 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.3723, allocations: 8.953 kB / 0.7569 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3724, allocations: 3.938 kB / 0.7569 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3724, allocations: 30.56 kB / 0.7569 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.816e-06/0.3724, allocations: 0 / 0.7569 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000118/0.3725, allocations: 37.64 kB / 0.757 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.3726, allocations: 55.41 kB / 0.757 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/0.3727, allocations: 92.98 kB / 0.7571 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3727, allocations: 25.7 kB / 0.7571 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3727, allocations: 80.14 kB / 0.7572 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3728, allocations: 0 / 0.7572 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.3728, allocations: 0 / 0.7572 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3729, allocations: 310.8 kB / 0.7575 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.373, allocations: 32 / 0.7575 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.373, allocations: 11.94 kB / 0.7575 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.373, allocations: 3.953 kB / 0.7575 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.118e-06/0.373, allocations: 0 / 0.7575 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.055e-05/0.3731, allocations: 41.62 kB / 0.7575 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3732, allocations: 4 kB / 0.7576 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-06/0.3732, allocations: 0 / 0.7576 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3732, allocations: 0 / 0.7576 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.3733, allocations: 4 kB / 0.7576 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.304e-06/0.3733, allocations: 96 / 0.7576 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.3734, allocations: 4 kB / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3734, allocations: 15.97 kB / 0.7576 GB, free: 3.703 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 (1): * Single equations (assignments): 1 * 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.423e-05/0.3735, allocations: 104.9 kB / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3735, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3735, allocations: 3.125 kB / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-06/0.3735, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.479e-06/0.3736, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-06/0.3736, allocations: 0 / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3737, allocations: 153.7 kB / 0.7578 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-06/0.3737, allocations: 7.953 kB / 0.7578 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.3738, allocations: 4 kB / 0.7578 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.12e-06/0.3738, allocations: 0 / 0.7578 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-06/0.3738, allocations: 0 / 0.7578 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-06/0.3738, allocations: 0 / 0.7578 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-06/0.3738, allocations: 0 / 0.7578 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.374, allocations: 69.06 kB / 0.7579 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.374, allocations: 81.06 kB / 0.758 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.3741, allocations: 0 / 0.758 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.3741, allocations: 0 / 0.758 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.3741, allocations: 7.984 kB / 0.758 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-06/0.3742, allocations: 0 / 0.758 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.3742, allocations: 79.22 kB / 0.7581 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.43e-07/0.3742, allocations: 0 / 0.7581 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002311/0.3745, allocations: 0 / 0.7581 GB, free: 3.113 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 (1): * Single equations (assignments): 1 * 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.0001424/0.3746, allocations: 103.3 kB / 0.7582 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.215e-05/0.3747, allocations: 4 kB / 0.7582 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.3747, allocations: 0 / 0.7582 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.3747, allocations: 15.88 kB / 0.7582 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.582e-05/0.3749, allocations: 2.234 kB / 0.7582 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.375, allocations: 45.05 kB / 0.7582 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3754, allocations: 0.677 MB / 0.7589 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.3755, allocations: 4.125 kB / 0.7589 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.3755, allocations: 11.44 kB / 0.7589 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of SimCode: time 1.329e-06/0.3755, allocations: 0 / 0.7589 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of Templates: time 0.002025/0.3776, allocations: 218.2 kB / 0.7591 GB, free: 1.988 MB / 0.6355 GB