Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01016/0.01016, allocations: 87.11 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001235/0.001235, allocations: 172 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.709/2.709, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.615/2.615, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 15.72 kB / 0.6243 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008239/0.2277, allocations: 329 kB / 0.7284 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.2285, allocations: 296.8 kB / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.278e-05/0.2285, allocations: 0 / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-06/0.2286, allocations: 0 / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.2286, allocations: 3.938 kB / 0.7287 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.229, allocations: 67.8 kB / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.199e-05/0.229, allocations: 0 / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.2291, allocations: 7.984 kB / 0.7287 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.366e-05/0.2291, allocations: 0 / 0.7287 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.2292, allocations: 3.938 kB / 0.7287 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2292, allocations: 0 / 0.7287 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.2297, allocations: 255.7 kB / 0.729 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.2297, allocations: 0 / 0.729 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.2298, allocations: 25.7 kB / 0.729 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.2299, allocations: 63.91 kB / 0.7291 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.23, allocations: 0 / 0.7291 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.23, allocations: 3.938 kB / 0.7291 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.23, allocations: 0 / 0.7291 GB, free: 9.121 MB / 0.5573 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.0003465/0.2303, allocations: 327.4 kB / 0.7294 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2304, allocations: 8.031 kB / 0.7294 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2304, allocations: 30.56 kB / 0.7294 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.2305, allocations: 0 / 0.7294 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2306, allocations: 163 kB / 0.7296 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2306, allocations: 4 kB / 0.7296 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2307, allocations: 4 kB / 0.7296 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2308, allocations: 33.69 kB / 0.7296 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2308, allocations: 0 / 0.7296 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2308, allocations: 0 / 0.7296 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2308, allocations: 0 / 0.7296 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.2309, allocations: 11.92 kB / 0.7296 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2311, allocations: 145.6 kB / 0.7298 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.2311, allocations: 26.61 kB / 0.7298 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.2318, allocations: 421.6 kB / 0.7302 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2318, allocations: 38.55 kB / 0.7302 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.2319, allocations: 0 / 0.7302 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.232, allocations: 37.64 kB / 0.7303 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.2321, allocations: 55.53 kB / 0.7303 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.2321, allocations: 89.86 kB / 0.7304 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2321, allocations: 25.7 kB / 0.7304 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.2322, allocations: 80.14 kB / 0.7305 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2322, allocations: 7.984 kB / 0.7305 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.2322, allocations: 0 / 0.7305 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2324, allocations: 314.8 kB / 0.7308 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.2324, allocations: 0 / 0.7308 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.2324, allocations: 4 kB / 0.7308 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.2324, allocations: 7.984 kB / 0.7308 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2325, allocations: 3.938 kB / 0.7308 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.925e-05/0.2326, allocations: 41.58 kB / 0.7309 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2326, allocations: 8 kB / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2326, allocations: 0 / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2326, allocations: 0 / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.2327, allocations: 0 / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2327, allocations: 0 / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.2327, allocations: 96 / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2327, allocations: 8 kB / 0.7309 GB, free: 6.949 MB / 0.5573 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 8.014e-05/0.2328, allocations: 113.8 kB / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.2329, allocations: 0 / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.233, allocations: 40.78 kB / 0.731 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.233, allocations: 4 kB / 0.731 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.233, allocations: 4 kB / 0.731 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.233, allocations: 3.938 kB / 0.7311 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.2331, allocations: 153.7 kB / 0.7312 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2332, allocations: 0 / 0.7312 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.2332, allocations: 4 kB / 0.7312 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2332, allocations: 0 / 0.7312 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.2332, allocations: 0 / 0.7312 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2332, allocations: 0 / 0.7312 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2332, allocations: 0 / 0.7312 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.79e-05/0.2333, allocations: 61.12 kB / 0.7313 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2334, allocations: 85.09 kB / 0.7313 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2334, allocations: 0 / 0.7313 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.2334, allocations: 0 / 0.7313 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.2334, allocations: 0 / 0.7313 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2335, allocations: 0 / 0.7313 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.2335, allocations: 75.28 kB / 0.7314 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2335, allocations: 4 kB / 0.7314 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002524/0.2338, allocations: 12 kB / 0.7314 GB, free: 6.297 MB / 0.5573 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.0004937/0.2343, allocations: 0.6124 MB / 0.732 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.2344, allocations: 7.984 kB / 0.732 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2344, allocations: 0 / 0.732 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.2344, allocations: 0 / 0.732 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.2345, allocations: 3.938 kB / 0.732 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.2348, allocations: 112.7 kB / 0.7321 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2351, allocations: 0.6809 MB / 0.7328 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.2351, allocations: 0 / 0.7328 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.2352, allocations: 7.438 kB / 0.7328 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of SimCode: time 7.31e-07/0.2352, allocations: 0 / 0.7328 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.2538, allocations: 0.9815 MB / 0.7338 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.2541, allocations: 196.6 kB / 0.734 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.529, allocations: 0.9844 kB / 0.734 GB, free: 3.652 MB / 0.5573 GB