Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006017/0.006023, allocations: 230.1 kB / 15.82 MB, free: 6.297 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.001695/0.001695, allocations: 175.2 kB / 16.7 MB, free: 5.457 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.161/4.161, allocations: 389 MB / 406.5 MB, free: 11.84 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 3.842/3.842, allocations: 472.3 MB / 0.9024 GB, free: 18.79 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004901, allocations: 12 kB / 1.008 GB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 98.72 MB / 1.105 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7492/0.9585, allocations: 124.5 MB / 1.226 GB, free: 120 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.9589, allocations: 84.39 kB / 1.226 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02091/0.9798, allocations: 4.012 MB / 1.23 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9798, allocations: 0 / 1.23 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9798, allocations: 0 / 1.23 GB, free: 12.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003675/0.9802, allocations: 344.1 kB / 1.231 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9803, allocations: 13.67 kB / 1.231 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.9803, allocations: 3.906 kB / 1.231 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.9805, allocations: 163 kB / 1.231 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9805, allocations: 0.9688 kB / 1.231 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.9805, allocations: 4 kB / 1.231 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.9806, allocations: 31.77 kB / 1.231 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9807, allocations: 0 / 1.231 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.9807, allocations: 0 / 1.231 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.9807, allocations: 0 / 1.231 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.9807, allocations: 4 kB / 1.231 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.9809, allocations: 150.9 kB / 1.231 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.9809, allocations: 19.2 kB / 1.231 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.981, allocations: 8.953 kB / 1.231 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.9816, allocations: 427.7 kB / 1.231 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.9816, allocations: 36.03 kB / 1.231 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.9817, allocations: 0 / 1.231 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.9818, allocations: 31.36 kB / 1.231 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.9819, allocations: 51.41 kB / 1.231 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.9819, allocations: 93.84 kB / 1.232 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.9819, allocations: 25.7 kB / 1.232 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.982, allocations: 85.58 kB / 1.232 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.982, allocations: 7.922 kB / 1.232 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.982, allocations: 0 / 1.232 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9822, allocations: 319.4 kB / 1.232 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.9822, allocations: 1.594 kB / 1.232 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.9822, allocations: 0 / 1.232 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.9822, allocations: 7.938 kB / 1.232 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.9822, allocations: 4.188 kB / 1.232 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.957e-05/0.9823, allocations: 29.7 kB / 1.232 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.9824, allocations: 8 kB / 1.232 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9824, allocations: 0 / 1.232 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9824, allocations: 3.984 kB / 1.232 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.9825, allocations: 0 / 1.232 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9825, allocations: 3.938 kB / 1.232 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.9825, allocations: 0 / 1.232 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.9825, allocations: 4 kB / 1.232 GB, free: 9.906 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 (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 7.86e-05/0.9826, allocations: 117.1 kB / 1.232 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.9826, allocations: 4 kB / 1.232 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.9827, allocations: 41.38 kB / 1.232 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9828, allocations: 4 kB / 1.232 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9828, allocations: 0 / 1.232 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9828, allocations: 0 / 1.232 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.9829, allocations: 145.6 kB / 1.232 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9829, allocations: 0 / 1.232 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.9829, allocations: 4 kB / 1.232 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.983, allocations: 4.031 kB / 1.232 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.983, allocations: 4 kB / 1.232 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.983, allocations: 3.984 kB / 1.232 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.983, allocations: 0 / 1.232 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.9831, allocations: 57.14 kB / 1.232 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.9831, allocations: 85 kB / 1.232 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.9832, allocations: 0 / 1.232 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.9832, allocations: 0 / 1.232 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.9832, allocations: 8.016 kB / 1.232 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.9832, allocations: 0 / 1.232 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.9833, allocations: 79.28 kB / 1.233 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.525e-06/0.9833, allocations: 0 / 1.233 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002588/0.9835, allocations: 19.88 kB / 1.233 GB, free: 9.246 MB / 0.6198 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 (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.0002015/0.9838, allocations: 115.2 kB / 1.233 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.199e-05/0.9838, allocations: 4 kB / 1.233 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9838, allocations: 4.062 kB / 1.233 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.9839, allocations: 7.984 kB / 1.233 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.984, allocations: 0.7812 kB / 1.233 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.9842, allocations: 79.11 kB / 1.233 GB, free: 9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.9845, allocations: 0.677 MB / 1.233 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.9845, allocations: 7.984 kB / 1.233 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.9846, allocations: 7.438 kB / 1.233 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.9846, allocations: 4.062 kB / 1.233 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of Templates: time 0.002836/0.9874, allocations: 428.4 kB / 1.234 GB, free: 7.859 MB / 0.6198 GB