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.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.01052/0.01053, allocations: 88.14 kB / 15.04 MB, free: 5.582 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.001286/0.001286, allocations: 178.2 kB / 15.92 MB, free: 5.555 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.497/2.497, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.35/2.35, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 13.62 kB / 0.6243 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2273, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000873/0.2282, allocations: 368.9 kB / 0.7284 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.229, allocations: 316.8 kB / 0.7287 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.2291, allocations: 0 / 0.7287 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.2291, allocations: 0 / 0.7287 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.2291, allocations: 3.984 kB / 0.7287 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.2296, allocations: 71.78 kB / 0.7288 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.2297, allocations: 15.98 kB / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.2298, allocations: 8 kB / 0.7288 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.2298, allocations: 11.94 kB / 0.7288 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.2299, allocations: 15.91 kB / 0.7289 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2299, allocations: 0 / 0.7289 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.2305, allocations: 263.6 kB / 0.7291 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2305, allocations: 7.984 kB / 0.7291 GB, free: 9.102 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.2306, allocations: 29.7 kB / 0.7291 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2307, allocations: 63.89 kB / 0.7292 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2308, allocations: 0 / 0.7292 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2308, allocations: 4 kB / 0.7292 GB, free: 9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2308, allocations: 0 / 0.7292 GB, free: 9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004702/0.2313, allocations: 339.7 kB / 0.7295 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2313, allocations: 8.031 kB / 0.7295 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.2314, allocations: 46.48 kB / 0.7296 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.2314, allocations: 3.906 kB / 0.7296 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2316, allocations: 178.9 kB / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2316, allocations: 0 / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.2316, allocations: 8 kB / 0.7298 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2318, allocations: 45.69 kB / 0.7298 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2318, allocations: 7.984 kB / 0.7298 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2318, allocations: 0 / 0.7298 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2319, allocations: 0 / 0.7298 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.2319, allocations: 23.92 kB / 0.7298 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.2322, allocations: 169.6 kB / 0.73 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.2323, allocations: 54.56 kB / 0.7301 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.2334, allocations: 469.4 kB / 0.7305 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2334, allocations: 34.56 kB / 0.7305 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.2334, allocations: 4 kB / 0.7305 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.001824/0.2353, allocations: 0.5838 MB / 0.7311 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2354, allocations: 51.41 kB / 0.7312 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.2354, allocations: 97.86 kB / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2355, allocations: 29.7 kB / 0.7313 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2355, allocations: 88.08 kB / 0.7314 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.2356, allocations: 39.45 kB / 0.7314 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.2356, allocations: 0 / 0.7314 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2357, allocations: 322.8 kB / 0.7317 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.2358, allocations: 16.09 kB / 0.7317 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.2359, allocations: 27.92 kB / 0.7318 GB, free: 6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.236, allocations: 24 kB / 0.7318 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.236, allocations: 0 / 0.7318 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.2363, allocations: 101.7 kB / 0.7319 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2363, allocations: 4 kB / 0.7319 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2363, allocations: 0 / 0.7319 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2363, allocations: 0 / 0.7319 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2365, allocations: 23.94 kB / 0.7319 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2365, allocations: 0 / 0.7319 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.2366, allocations: 3.984 kB / 0.7319 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2366, allocations: 8 kB / 0.7319 GB, free: 5.832 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 (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.899e-05/0.2367, allocations: 117.8 kB / 0.732 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.2368, allocations: 7.906 kB / 0.732 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.2371, allocations: 113.6 kB / 0.7321 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2371, allocations: 192 / 0.7321 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2371, allocations: 0 / 0.7321 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.2371, allocations: 7.969 kB / 0.7321 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.2376, allocations: 354.5 kB / 0.7325 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2377, allocations: 0 / 0.7325 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.2379, allocations: 19.94 kB / 0.7325 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2379, allocations: 0 / 0.7325 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2379, allocations: 8 kB / 0.7325 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.238, allocations: 3.984 kB / 0.7325 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.238, allocations: 0 / 0.7325 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.2383, allocations: 215.4 kB / 0.7327 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.2384, allocations: 93 kB / 0.7328 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.2385, allocations: 4 kB / 0.7328 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2386, allocations: 4 kB / 0.7328 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.2387, allocations: 12.05 kB / 0.7328 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2387, allocations: 4 kB / 0.7328 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.2387, allocations: 75.28 kB / 0.7329 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2387, allocations: 0 / 0.7329 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004047/0.2392, allocations: 55.88 kB / 0.733 GB, free: 4.648 MB / 0.5573 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 () * Number of clocked 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.0008411/0.24, allocations: 0.7906 MB / 0.7337 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2402, allocations: 64.22 kB / 0.7338 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2403, allocations: 0 / 0.7338 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.2404, allocations: 35.98 kB / 0.7338 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2406, allocations: 3.938 kB / 0.7338 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2417, allocations: 0.5092 MB / 0.7343 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.242, allocations: 0.6888 MB / 0.735 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.421e-05/0.2421, allocations: 11.94 kB / 0.735 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.2421, allocations: 15.69 kB / 0.735 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.2421, allocations: 64 / 0.735 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.2621, allocations: 2.238 MB / 0.7372 GB, free: 328 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/0.2624, allocations: 211.9 kB / 0.7374 GB, free: 84 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.723, allocations: 0 / 0.7374 GB, free: 84 kB / 0.5573 GB