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.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009268/0.009272, allocations: 108 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.001759/0.001759, allocations: 179.7 kB / 15.94 MB, free: 5.527 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.854/1.854, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.435/2.435, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005684/0.0005687, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5836, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006551/0.5843, allocations: 320.4 kB / 0.6837 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00061/0.5849, allocations: 320 kB / 0.684 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.585, allocations: 0 / 0.684 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.585, allocations: 0 / 0.684 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 1.861e-05/0.585, allocations: 1.188 kB / 0.684 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.5854, allocations: 67.75 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.856e-05/0.5855, allocations: 11.97 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.5855, allocations: 1.922 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.5855, allocations: 1.969 kB / 0.684 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.5856, allocations: 7.797 kB / 0.6841 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.5856, allocations: 0 / 0.6841 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.5861, allocations: 256 kB / 0.6843 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.5861, allocations: 5.875 kB / 0.6843 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.5861, allocations: 31.89 kB / 0.6843 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.5863, allocations: 56.95 kB / 0.6844 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.291e-06/0.5863, allocations: 0 / 0.6844 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.789e-06/0.5863, allocations: 4.781 kB / 0.6844 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.682e-06/0.5863, allocations: 0 / 0.6844 GB, free: 16.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003308/0.5867, allocations: 336 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5867, allocations: 9.562 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.5868, allocations: 1.938 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.5869, allocations: 165.5 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5869, allocations: 5.094 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5869, allocations: 1.25 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.111e-05/0.587, allocations: 37.06 kB / 0.6849 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.766e-06/0.587, allocations: 0 / 0.6849 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5871, allocations: 4 kB / 0.6849 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-06/0.5871, allocations: 1.094 kB / 0.6849 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.5871, allocations: 6.25 kB / 0.6849 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.5872, allocations: 155.9 kB / 0.6851 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.5873, allocations: 24.22 kB / 0.6851 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/0.588, allocations: 457 kB / 0.6855 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.588, allocations: 40.48 kB / 0.6856 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.099e-06/0.588, allocations: 0 / 0.6856 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000499/0.5885, allocations: 252.4 kB / 0.6858 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5886, allocations: 53.44 kB / 0.6859 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.5886, allocations: 93.61 kB / 0.686 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.5887, allocations: 33.83 kB / 0.686 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.5887, allocations: 82.17 kB / 0.6861 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.5887, allocations: 9.859 kB / 0.6861 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.5887, allocations: 1.562 kB / 0.6861 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.5888, allocations: 319.8 kB / 0.6864 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.5889, allocations: 4.969 kB / 0.6864 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.5889, allocations: 14.47 kB / 0.6864 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.589, allocations: 13.03 kB / 0.6864 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-06/0.589, allocations: 1.078 kB / 0.6864 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.5891, allocations: 55.83 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5892, allocations: 9.609 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.053e-06/0.5892, allocations: 1.469 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5892, allocations: 0 / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.5893, allocations: 6.859 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.669e-06/0.5893, allocations: 2.281 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.5893, allocations: 4 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-06/0.5893, allocations: 6.719 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.618e-05/0.5894, allocations: 116.4 kB / 0.6866 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.5895, allocations: 2.5 kB / 0.6866 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.5896, allocations: 54.2 kB / 0.6867 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-06/0.5896, allocations: 0 / 0.6867 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.277e-06/0.5896, allocations: 1.438 kB / 0.6867 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-06/0.5897, allocations: 0.8438 kB / 0.6867 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.5898, allocations: 161.2 kB / 0.6868 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5898, allocations: 3.984 kB / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.5898, allocations: 7.297 kB / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.264e-06/0.5899, allocations: 0 / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-06/0.5899, allocations: 0 / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-06/0.5899, allocations: 5.891 kB / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-06/0.5899, allocations: 0 / 0.6868 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.5901, allocations: 78.98 kB / 0.6869 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.5901, allocations: 82.91 kB / 0.687 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.5901, allocations: 5.75 kB / 0.687 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.5902, allocations: 0.9688 kB / 0.687 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.5902, allocations: 2.422 kB / 0.687 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-06/0.5902, allocations: 6.031 kB / 0.687 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.5903, allocations: 77.34 kB / 0.6871 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.85e-07/0.5903, allocations: 0 / 0.6871 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003145/0.5906, allocations: 24.94 kB / 0.6871 GB, free: 13.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002416/0.5909, allocations: 128.3 kB / 0.6872 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.591, allocations: 21.44 kB / 0.6872 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.591, allocations: 0 / 0.6872 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.5911, allocations: 7.234 kB / 0.6873 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.5912, allocations: 3.828 kB / 0.6873 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.5915, allocations: 118.7 kB / 0.6874 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.5916, allocations: 0.6797 MB / 0.688 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.5916, allocations: 11.31 kB / 0.688 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.5917, allocations: 9.031 kB / 0.6881 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.318e-06/0.5917, allocations: 0 / 0.6881 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.003964/0.5956, allocations: 0.8432 MB / 0.6889 GB, free: 12.2 MB / 0.5261 GB