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 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.RegNonZeroPower,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.552/4.552, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.125e-05, allocations: 4.875 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 98.74 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.575, allocations: 124.4 MB / 0.7562 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5753, allocations: 79.95 kB / 0.7563 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02049/0.5958, allocations: 3.988 MB / 0.7602 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5959, allocations: 0 / 0.7602 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5959, allocations: 4 kB / 0.7602 GB, free: 1.219 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004436/0.5964, allocations: 344.5 kB / 0.7605 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.5964, allocations: 8.031 kB / 0.7605 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.5965, allocations: 30.56 kB / 0.7605 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.5965, allocations: 0 / 0.7605 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5967, allocations: 171 kB / 0.7607 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5967, allocations: 0 / 0.7607 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.5967, allocations: 4 kB / 0.7607 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.5968, allocations: 33.64 kB / 0.7607 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5968, allocations: 0 / 0.7607 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5969, allocations: 4 kB / 0.7607 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5969, allocations: 0 / 0.7607 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.5969, allocations: 0 / 0.7607 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.5971, allocations: 149.6 kB / 0.7609 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.5971, allocations: 22.61 kB / 0.7609 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.5972, allocations: 4.859 kB / 0.7609 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.5978, allocations: 429.5 kB / 0.7613 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5979, allocations: 34.56 kB / 0.7614 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.5979, allocations: 0 / 0.7614 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.5981, allocations: 29.7 kB / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5981, allocations: 51.41 kB / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.5982, allocations: 93.03 kB / 0.7615 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5982, allocations: 25.7 kB / 0.7615 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.5983, allocations: 80.14 kB / 0.7616 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.5983, allocations: 15.84 kB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5983, allocations: 0 / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5985, allocations: 318.7 kB / 0.7619 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.5985, allocations: 0 / 0.7619 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.5985, allocations: 8 kB / 0.762 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.5985, allocations: 8 kB / 0.762 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5986, allocations: 0 / 0.762 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.393e-05/0.5987, allocations: 33.7 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5987, allocations: 4 kB / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5987, allocations: 0 / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5987, allocations: 0 / 0.762 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.5988, allocations: 3.984 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5988, allocations: 4 kB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.5988, allocations: 0 / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5989, allocations: 0 / 0.762 GB, free: 15.04 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 (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 7.869e-05/0.5989, allocations: 109 kB / 0.7621 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.599, allocations: 0 / 0.7621 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.5991, allocations: 44.77 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5991, allocations: 0 / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5991, allocations: 3.984 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5992, allocations: 0 / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.5993, allocations: 145.6 kB / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5993, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.5993, allocations: 8.031 kB / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5994, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5994, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.5994, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5994, allocations: 0 / 0.7623 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.5995, allocations: 69.11 kB / 0.7624 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.5996, allocations: 85 kB / 0.7624 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.5996, allocations: 0 / 0.7624 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.5996, allocations: 4.031 kB / 0.7625 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.5997, allocations: 4 kB / 0.7625 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.5997, allocations: 0 / 0.7625 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.5997, allocations: 75.28 kB / 0.7625 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5997, allocations: 0 / 0.7625 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002566/0.6, allocations: 11.98 kB / 0.7625 GB, free: 14.39 MB / 0.6511 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 () * 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.0006058/0.6006, allocations: 0.6202 MB / 0.7631 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.6007, allocations: 11.88 kB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6007, allocations: 0 / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.6007, allocations: 4 kB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.6009, allocations: 6.438 kB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.6012, allocations: 82.86 kB / 0.7632 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.6015, allocations: 0.6731 MB / 0.7639 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.6016, allocations: 4 kB / 0.7639 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.6016, allocations: 7.438 kB / 0.7639 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/0.6016, allocations: 0 / 0.7639 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.6259, allocations: 0.9515 MB / 0.7648 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/0.6263, allocations: 171.8 kB / 0.765 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.949, allocations: 0 / 0.765 GB, free: 11.78 MB / 0.6511 GB