Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.226/4.226, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.877e-05, allocations: 9 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/0.4733, allocations: 125 MB / 0.7568 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4736, allocations: 71.95 kB / 0.7569 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.4968, allocations: 4.308 MB / 0.7611 GB, free: 320 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4969, allocations: 4 kB / 0.7611 GB, free: 316 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4969, allocations: 0 / 0.7611 GB, free: 316 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005379/0.4974, allocations: 362.4 kB / 0.7614 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4975, allocations: 8.031 kB / 0.7614 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.4976, allocations: 30.56 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.4976, allocations: 11.98 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4978, allocations: 174.9 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4978, allocations: 4 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4978, allocations: 0 / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.498, allocations: 41.62 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.498, allocations: 0 / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.498, allocations: 0 / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.498, allocations: 4 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.4981, allocations: 8 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.4987, allocations: 272.9 kB / 0.762 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.4988, allocations: 22.58 kB / 0.762 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.4988, allocations: 16.86 kB / 0.762 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008845/0.4997, allocations: 461.5 kB / 0.7624 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4998, allocations: 30.56 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.4998, allocations: 0 / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/0.5, allocations: 49.7 kB / 0.7625 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.5001, allocations: 55.36 kB / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.5002, allocations: 96.98 kB / 0.7627 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5002, allocations: 25.7 kB / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.5003, allocations: 84.14 kB / 0.7628 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.5003, allocations: 11.78 kB / 0.7628 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.5003, allocations: 4 kB / 0.7628 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5004, allocations: 314.8 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.5005, allocations: 8.031 kB / 0.7631 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.5005, allocations: 12 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.5006, allocations: 3.984 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5006, allocations: 0 / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001253/0.5007, allocations: 41.7 kB / 0.7631 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5007, allocations: 8 kB / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5008, allocations: 0 / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5008, allocations: 0 / 0.7632 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5009, allocations: 16.08 kB / 0.7632 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5009, allocations: 3.938 kB / 0.7632 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.501, allocations: 15.94 kB / 0.7632 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.5011, allocations: 0 / 0.7632 GB, free: 13.84 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 (2): * Single equations (assignments): 2 * 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.108e-05/0.5011, allocations: 109 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.5012, allocations: 11.89 kB / 0.7633 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.5014, allocations: 49.28 kB / 0.7634 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5014, allocations: 4.031 kB / 0.7634 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5014, allocations: 4 kB / 0.7634 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5014, allocations: 0 / 0.7634 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.5016, allocations: 161.6 kB / 0.7635 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5016, allocations: 0 / 0.7635 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5018, allocations: 12 kB / 0.7635 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5018, allocations: 0 / 0.7635 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5018, allocations: 4 kB / 0.7635 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5018, allocations: 256 / 0.7635 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5018, allocations: 3.984 kB / 0.7635 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.502, allocations: 147.5 kB / 0.7637 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.5021, allocations: 81.02 kB / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.5021, allocations: 0 / 0.7637 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.5022, allocations: 11.98 kB / 0.7638 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.5023, allocations: 4 kB / 0.7638 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.5023, allocations: 0 / 0.7638 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.5024, allocations: 91.3 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.2e-06/0.5024, allocations: 0 / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003037/0.5027, allocations: 19.94 kB / 0.7639 GB, free: 13.05 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 (2): * Single equations (assignments): 2 * 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.0005571/0.5033, allocations: 0.6929 MB / 0.7645 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.5034, allocations: 19.97 kB / 0.7646 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5034, allocations: 0 / 0.7646 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.5035, allocations: 12 kB / 0.7646 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.5037, allocations: 0 / 0.7646 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.5041, allocations: 102.6 kB / 0.7647 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5044, allocations: 0.6809 MB / 0.7653 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.5044, allocations: 4.125 kB / 0.7653 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.5045, allocations: 11.44 kB / 0.7654 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/0.5045, allocations: 0 / 0.7654 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.5242, allocations: 1.318 MB / 0.7666 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.5245, allocations: 148.9 kB / 0.7668 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.087, allocations: 0 / 0.7668 GB, free: 9.969 MB / 0.6511 GB