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 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.599/4.599, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.095e-05, allocations: 6.031 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.4545, allocations: 124.7 MB / 0.7565 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4549, allocations: 75.95 kB / 0.7565 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.4809, allocations: 5.057 MB / 0.7615 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4809, allocations: 0 / 0.7615 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.4809, allocations: 0 / 0.7615 GB, free: 15.96 MB / 0.6511 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.0006002/0.4815, allocations: 366.4 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.4816, allocations: 8.031 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.4817, allocations: 34.56 kB / 0.7619 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.4818, allocations: 4 kB / 0.7619 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.482, allocations: 167 kB / 0.762 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.482, allocations: 7.938 kB / 0.762 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.482, allocations: 11.91 kB / 0.762 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4822, allocations: 45.69 kB / 0.7621 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.4822, allocations: 11.98 kB / 0.7621 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4823, allocations: 0 / 0.7621 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4823, allocations: 0 / 0.7621 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.4824, allocations: 27.95 kB / 0.7621 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.4826, allocations: 165.6 kB / 0.7623 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4828, allocations: 62.5 kB / 0.7623 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.18e-05/0.4829, allocations: 24.86 kB / 0.7624 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009577/0.4838, allocations: 461.5 kB / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4839, allocations: 34.56 kB / 0.7628 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 5.61e-06/0.4839, allocations: 4 kB / 0.7628 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.00156/0.4855, allocations: 0.5526 MB / 0.7634 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4856, allocations: 51.41 kB / 0.7634 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.4857, allocations: 96.98 kB / 0.7635 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.4857, allocations: 25.7 kB / 0.7635 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.4858, allocations: 84.14 kB / 0.7636 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.4858, allocations: 43.36 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.4858, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.486, allocations: 318.9 kB / 0.764 GB, free: 13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.486, allocations: 19.94 kB / 0.764 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.4861, allocations: 31.94 kB / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.4862, allocations: 27.92 kB / 0.764 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4862, allocations: 0 / 0.764 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002552/0.4865, allocations: 89.69 kB / 0.7641 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4865, allocations: 6.812 kB / 0.7641 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4865, allocations: 4 kB / 0.7641 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4866, allocations: 0 / 0.7641 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.4868, allocations: 23.98 kB / 0.7642 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4868, allocations: 0 / 0.7642 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.4868, allocations: 4 kB / 0.7642 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.4869, allocations: 4 kB / 0.7642 GB, free: 12.79 MB / 0.6511 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 () * 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 9.641e-05/0.487, allocations: 116.9 kB / 0.7643 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.487, allocations: 7.891 kB / 0.7643 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.4873, allocations: 105.8 kB / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4874, allocations: 0 / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4874, allocations: 0 / 0.7644 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4874, allocations: 4 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.4879, allocations: 354.4 kB / 0.7647 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.488, allocations: 0 / 0.7647 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4882, allocations: 23.98 kB / 0.7648 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4882, allocations: 0 / 0.7648 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4882, allocations: 0 / 0.7648 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4882, allocations: 4 kB / 0.7648 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4882, allocations: 4.188 kB / 0.7648 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.4887, allocations: 219.3 kB / 0.765 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.4888, allocations: 93.11 kB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.4888, allocations: 0 / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4889, allocations: 4 kB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.489, allocations: 7.984 kB / 0.7651 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.489, allocations: 8 kB / 0.7651 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.489, allocations: 83.34 kB / 0.7652 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4891, allocations: 3.938 kB / 0.7652 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004197/0.4895, allocations: 67.81 kB / 0.7652 GB, free: 11.6 MB / 0.6511 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 () * 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.000911/0.4904, allocations: 0.8024 MB / 0.766 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.4906, allocations: 60 kB / 0.7661 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4907, allocations: 4 kB / 0.7661 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.4907, allocations: 31.98 kB / 0.7661 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4909, allocations: 8 kB / 0.7661 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.4916, allocations: 194.5 kB / 0.7663 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.4919, allocations: 0.6887 MB / 0.767 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.313e-05/0.492, allocations: 15.98 kB / 0.767 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.4921, allocations: 15.44 kB / 0.767 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/0.4921, allocations: 0 / 0.767 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5131, allocations: 2.173 MB / 0.7691 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.5134, allocations: 190.5 kB / 0.7693 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.911, allocations: 3.938 kB / 0.7693 GB, free: 7.383 MB / 0.6511 GB