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.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009443/0.009448, allocations: 107.8 kB / 15.06 MB, free: 5.562 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.001165/0.001165, allocations: 180.7 kB / 15.95 MB, free: 5.523 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 1.838/1.838, allocations: 194.6 MB / 211.3 MB, free: 10.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.195/2.195, allocations: 236.2 MB / 492.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007816/0.0007819, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5784, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006545/0.5791, allocations: 346.1 kB / 0.6837 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.5798, allocations: 328.6 kB / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.5798, allocations: 0 / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.341e-06/0.5798, allocations: 0 / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.5799, allocations: 1.75 kB / 0.684 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.5803, allocations: 78.73 kB / 0.6841 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.5804, allocations: 12.44 kB / 0.6841 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.5804, allocations: 2.109 kB / 0.6841 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.5804, allocations: 13.83 kB / 0.6841 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.5805, allocations: 15.2 kB / 0.6841 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.5805, allocations: 1.312 kB / 0.6841 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.581, allocations: 257.6 kB / 0.6844 GB, free: 16.15 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.581, allocations: 6.719 kB / 0.6844 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.5811, allocations: 31.08 kB / 0.6844 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.5812, allocations: 70.56 kB / 0.6845 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5812, allocations: 0 / 0.6845 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5813, allocations: 0 / 0.6845 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.5813, allocations: 1.406 kB / 0.6845 GB, free: 16.09 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003388/0.5816, allocations: 348.9 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.5817, allocations: 9.812 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.5817, allocations: 6.312 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.5818, allocations: 167 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.5819, allocations: 1.344 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5819, allocations: 11.19 kB / 0.685 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.582, allocations: 49.59 kB / 0.685 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5821, allocations: 4.547 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5821, allocations: 1.188 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5821, allocations: 1.25 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.5822, allocations: 18.58 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.5823, allocations: 170.6 kB / 0.6852 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5825, allocations: 64.25 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.5832, allocations: 458 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5832, allocations: 40.42 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.78e-06/0.5832, allocations: 3.938 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001538/0.5848, allocations: 0.5828 MB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5849, allocations: 53.12 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.5849, allocations: 107.9 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5849, allocations: 27.2 kB / 0.6865 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.585, allocations: 80.14 kB / 0.6866 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.585, allocations: 48.06 kB / 0.6866 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-06/0.585, allocations: 0 / 0.6866 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.5851, allocations: 322.8 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.5852, allocations: 18.19 kB / 0.687 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.5852, allocations: 23.66 kB / 0.687 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.5853, allocations: 25.89 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-06/0.5853, allocations: 0 / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002212/0.5856, allocations: 95.2 kB / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.5856, allocations: 10.83 kB / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.5856, allocations: 96 / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5856, allocations: 5.188 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5858, allocations: 19.77 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-06/0.5858, allocations: 1.469 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.5858, allocations: 0.5625 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5859, allocations: 2.75 kB / 0.6871 GB, free: 13.45 MB / 0.5261 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 (13): * Single equations (assignments): 13 * 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 6.96e-05/0.5859, allocations: 122.5 kB / 0.6873 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.586, allocations: 11.19 kB / 0.6873 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5862, allocations: 100.3 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-06/0.5863, allocations: 1.812 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-06/0.5863, allocations: 1.375 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.5863, allocations: 0.7031 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.5867, allocations: 355.8 kB / 0.6877 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5868, allocations: 2.188 kB / 0.6877 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.5869, allocations: 23.05 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.587, allocations: 1.125 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.587, allocations: 1.953 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.587, allocations: 0 / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.757e-06/0.587, allocations: 1.156 kB / 0.6877 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.5873, allocations: 235.3 kB / 0.688 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.5874, allocations: 91.94 kB / 0.688 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.5874, allocations: 1.844 kB / 0.688 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5876, allocations: 11.36 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.5876, allocations: 9.562 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5876, allocations: 4.156 kB / 0.6881 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.5877, allocations: 76.91 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.03e-07/0.5877, allocations: 1.656 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004329/0.5881, allocations: 42.23 kB / 0.6882 GB, free: 12.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002966/0.5884, allocations: 145.8 kB / 0.6883 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5886, allocations: 64.11 kB / 0.6884 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.255e-06/0.5886, allocations: 5.312 kB / 0.6884 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.5887, allocations: 36.02 kB / 0.6884 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.5889, allocations: 5.156 kB / 0.6884 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.5893, allocations: 189.8 kB / 0.6886 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5895, allocations: 0.6886 MB / 0.6893 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.5895, allocations: 12.42 kB / 0.6893 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.5896, allocations: 12.41 kB / 0.6893 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.447e-06/0.5896, allocations: 0 / 0.6893 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.005002/0.5946, allocations: 1.347 MB / 0.6906 GB, free: 11.42 MB / 0.5261 GB