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.01528/0.01528, allocations: 110 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.001823/0.001823, allocations: 179.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 2.094/2.094, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.199/2.199, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 16 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6134/0.6139, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009179/0.6148, allocations: 313.1 kB / 0.6836 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000717/0.6156, allocations: 301.9 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.6156, allocations: 0 / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.6156, allocations: 0 / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-06/0.6157, allocations: 0 / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.616, allocations: 63.48 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.037e-05/0.6161, allocations: 1.219 kB / 0.684 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.6161, allocations: 7.938 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.6161, allocations: 1.891 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.6162, allocations: 1.062 kB / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.713e-06/0.6162, allocations: 0 / 0.684 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.6167, allocations: 256 kB / 0.6843 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-06/0.6167, allocations: 3.938 kB / 0.6843 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.6167, allocations: 25.7 kB / 0.6843 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.6169, allocations: 53.11 kB / 0.6843 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.642e-06/0.6169, allocations: 0 / 0.6843 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.961e-06/0.6169, allocations: 0 / 0.6843 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.702e-06/0.6169, allocations: 0 / 0.6843 GB, free: 16.19 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002133/0.6171, allocations: 333.4 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6172, allocations: 9.656 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.6173, allocations: 2.531 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.384e-05/0.6173, allocations: 164.6 kB / 0.6848 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.6173, allocations: 0 / 0.6848 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.6174, allocations: 1.312 kB / 0.6848 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.6175, allocations: 30.89 kB / 0.6848 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.81e-06/0.6175, allocations: 3.938 kB / 0.6849 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-06/0.6175, allocations: 7.109 kB / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.833e-06/0.6175, allocations: 0 / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.6175, allocations: 5.219 kB / 0.6849 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.99e-05/0.6176, allocations: 152.1 kB / 0.685 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.261e-05/0.6177, allocations: 15.8 kB / 0.685 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.6181, allocations: 429.9 kB / 0.6854 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.6182, allocations: 31.66 kB / 0.6855 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.959e-06/0.6182, allocations: 0 / 0.6855 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.6183, allocations: 36.69 kB / 0.6855 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.6184, allocations: 52.41 kB / 0.6855 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.885e-05/0.6184, allocations: 89.86 kB / 0.6856 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-06/0.6184, allocations: 25.7 kB / 0.6857 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.6184, allocations: 86.61 kB / 0.6857 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.6185, allocations: 0 / 0.6857 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-06/0.6185, allocations: 5 kB / 0.6857 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.6185, allocations: 310.8 kB / 0.686 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.6186, allocations: 1.156 kB / 0.686 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-06/0.6186, allocations: 1.984 kB / 0.686 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.6186, allocations: 5.172 kB / 0.6861 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-06/0.6186, allocations: 1.078 kB / 0.6861 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.665e-05/0.6187, allocations: 37.03 kB / 0.6861 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6187, allocations: 5.219 kB / 0.6861 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.12e-06/0.6188, allocations: 0.5156 kB / 0.6861 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6188, allocations: 3.938 kB / 0.6861 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.6188, allocations: 3.234 kB / 0.6861 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6188, allocations: 0 / 0.6861 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.6189, allocations: 0 / 0.6861 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-06/0.6189, allocations: 2.219 kB / 0.6861 GB, free: 14.17 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 (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 5.063e-05/0.6189, allocations: 115.7 kB / 0.6862 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.619, allocations: 5.188 kB / 0.6862 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.91e-05/0.6191, allocations: 35.75 kB / 0.6863 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-06/0.6191, allocations: 0 / 0.6863 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.036e-06/0.6191, allocations: 1.531 kB / 0.6863 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6191, allocations: 3.938 kB / 0.6863 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.018e-05/0.6192, allocations: 145.7 kB / 0.6864 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6192, allocations: 3.953 kB / 0.6864 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.6192, allocations: 1.344 kB / 0.6864 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6192, allocations: 2.016 kB / 0.6864 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-06/0.6193, allocations: 4.031 kB / 0.6864 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.209e-06/0.6193, allocations: 8.906 kB / 0.6864 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.901e-06/0.6193, allocations: 3.938 kB / 0.6864 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/0.6194, allocations: 57.53 kB / 0.6865 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.6194, allocations: 86.78 kB / 0.6866 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6194, allocations: 1.312 kB / 0.6866 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.6194, allocations: 0 / 0.6866 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.6195, allocations: 2.344 kB / 0.6866 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.6195, allocations: 4 kB / 0.6866 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.361e-05/0.6195, allocations: 76.59 kB / 0.6866 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.15e-07/0.6195, allocations: 0 / 0.6866 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002622/0.6198, allocations: 13.19 kB / 0.6866 GB, free: 13.55 MB / 0.5261 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.0001606/0.6199, allocations: 118.2 kB / 0.6868 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.62, allocations: 8 kB / 0.6868 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.658e-06/0.62, allocations: 0 / 0.6868 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.6201, allocations: 6.75 kB / 0.6868 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.715e-05/0.6202, allocations: 2.25 kB / 0.6868 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001349/0.6203, allocations: 73.97 kB / 0.6868 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.6204, allocations: 0.6742 MB / 0.6875 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.6205, allocations: 1.375 kB / 0.6875 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.6205, allocations: 11.89 kB / 0.6875 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.275e-06/0.6205, allocations: 0 / 0.6875 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.002627/0.6231, allocations: 435.2 kB / 0.6879 GB, free: 12.59 MB / 0.5261 GB