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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.452/4.452, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.068e-05, allocations: 6.656 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.4616, allocations: 124.5 MB / 0.7563 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.462, allocations: 75.95 kB / 0.7564 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.485, allocations: 4.526 MB / 0.7608 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4851, allocations: 0 / 0.7608 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.4851, allocations: 0 / 0.7608 GB, free: 0.6016 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004113/0.4855, allocations: 346.4 kB / 0.7612 GB, free: 224 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4856, allocations: 8.031 kB / 0.7612 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.4857, allocations: 34.56 kB / 0.7612 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.4857, allocations: 11.98 kB / 0.7612 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.4859, allocations: 163 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.486, allocations: 0 / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.486, allocations: 0 / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4861, allocations: 29.7 kB / 0.7614 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4861, allocations: 4 kB / 0.7614 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4861, allocations: 0 / 0.7614 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4862, allocations: 0 / 0.7614 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.4862, allocations: 7.938 kB / 0.7614 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.4864, allocations: 157.6 kB / 0.7616 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.394e-05/0.4865, allocations: 26.61 kB / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.4865, allocations: 4.859 kB / 0.7616 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/0.4875, allocations: 461.5 kB / 0.762 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4875, allocations: 30.56 kB / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 2.295e-06/0.4875, allocations: 0 / 0.7621 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0006475/0.4882, allocations: 258.4 kB / 0.7623 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.4882, allocations: 55.34 kB / 0.7624 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.4883, allocations: 93 kB / 0.7624 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4884, allocations: 25.7 kB / 0.7625 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.4884, allocations: 84.14 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4885, allocations: 11.84 kB / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4885, allocations: 0 / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4886, allocations: 318.9 kB / 0.7629 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.4886, allocations: 11.94 kB / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.257e-05/0.4887, allocations: 21.7 kB / 0.7629 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.4887, allocations: 4 kB / 0.7629 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4888, allocations: 0 / 0.7629 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.4889, allocations: 53.62 kB / 0.7629 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4889, allocations: 9.875 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.489, allocations: 4.062 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.489, allocations: 0 / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.4891, allocations: 4 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4891, allocations: 4 kB / 0.763 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.4892, allocations: 0 / 0.763 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4892, allocations: 0 / 0.763 GB, free: 14.04 MB / 0.6511 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 () * 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 8.49e-05/0.4893, allocations: 112.9 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.4893, allocations: 3.906 kB / 0.7631 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.4895, allocations: 61.11 kB / 0.7631 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4895, allocations: 0 / 0.7631 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4895, allocations: 0 / 0.7631 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4896, allocations: 0 / 0.7631 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.4897, allocations: 161.6 kB / 0.7633 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4897, allocations: 4 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.4898, allocations: 4 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4898, allocations: 192 / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4899, allocations: 0 / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4899, allocations: 4 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4899, allocations: 7.984 kB / 0.7633 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.4901, allocations: 85.06 kB / 0.7634 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.4902, allocations: 77.11 kB / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.4902, allocations: 0 / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.4903, allocations: 0 / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.4903, allocations: 15.84 kB / 0.7635 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4903, allocations: 0 / 0.7635 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.4904, allocations: 87.33 kB / 0.7636 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4904, allocations: 0 / 0.7636 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003233/0.4907, allocations: 35.94 kB / 0.7636 GB, free: 13.3 MB / 0.6511 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 () * 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.0006593/0.4914, allocations: 0.6436 MB / 0.7642 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4915, allocations: 24.14 kB / 0.7642 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.4916, allocations: 4 kB / 0.7643 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.4916, allocations: 8 kB / 0.7643 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.4917, allocations: 1.719 kB / 0.7643 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.4922, allocations: 120.6 kB / 0.7644 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.4925, allocations: 0.677 MB / 0.765 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.462e-05/0.4926, allocations: 8.062 kB / 0.765 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.4926, allocations: 7.438 kB / 0.7651 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 3.466e-06/0.4926, allocations: 0 / 0.7651 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.5121, allocations: 1.483 MB / 0.7665 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/0.5125, allocations: 191.8 kB / 0.7667 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.872, allocations: 4 kB / 0.7667 GB, free: 10.07 MB / 0.6511 GB