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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01157/0.01157, allocations: 108.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001241/0.001241, allocations: 181.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.869/1.869, allocations: 194.6 MB / 211.3 MB, free: 10.96 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.311/2.311, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007487/0.000749, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6675, allocations: 98.73 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007596/0.6683, allocations: 309.7 kB / 0.6837 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.669, allocations: 302.4 kB / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.669, allocations: 0 / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.6691, allocations: 0 / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.6691, allocations: 0 / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.6695, allocations: 62.84 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 3.422e-05/0.6696, allocations: 1.594 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.6696, allocations: 0.75 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.6696, allocations: 1.219 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.581e-05/0.6697, allocations: 8 kB / 0.6841 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.6697, allocations: 3.984 kB / 0.6841 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.6703, allocations: 259.6 kB / 0.6844 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.6703, allocations: 0 / 0.6844 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.6703, allocations: 27.95 kB / 0.6844 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.6705, allocations: 51.41 kB / 0.6844 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6705, allocations: 0 / 0.6844 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6705, allocations: 0 / 0.6844 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6705, allocations: 0 / 0.6844 GB, free: 16.21 MB / 0.5261 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.0002494/0.6708, allocations: 330.3 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6708, allocations: 14 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.6709, allocations: 38.5 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.6709, allocations: 1.938 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.671, allocations: 164 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.671, allocations: 0 / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.6711, allocations: 1.344 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.6712, allocations: 27.67 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6712, allocations: 0.9375 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.6712, allocations: 0.9375 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6712, allocations: 4 kB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.6712, allocations: 6.062 kB / 0.685 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.6714, allocations: 156.9 kB / 0.6851 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.6714, allocations: 16.7 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.672, allocations: 424.4 kB / 0.6856 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.672, allocations: 36.17 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.672, allocations: 0 / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.6722, allocations: 37.64 kB / 0.6856 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.6722, allocations: 51.41 kB / 0.6857 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.058e-05/0.6723, allocations: 89.86 kB / 0.6858 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.6723, allocations: 25.7 kB / 0.6858 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.6723, allocations: 81.91 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.6723, allocations: 5.688 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.6723, allocations: 0 / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.6724, allocations: 320.2 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.6725, allocations: 1.281 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.6725, allocations: 1.281 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.971e-05/0.6725, allocations: 1.344 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6725, allocations: 0 / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.986e-05/0.6726, allocations: 37.55 kB / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6726, allocations: 8.844 kB / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6726, allocations: 0 / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6727, allocations: 1.281 kB / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.6727, allocations: 3.047 kB / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6727, allocations: 0 / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.6728, allocations: 1.312 kB / 0.6862 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.6728, allocations: 3.938 kB / 0.6862 GB, free: 14.14 MB / 0.5261 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 5.393e-05/0.6728, allocations: 111.5 kB / 0.6863 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.6729, allocations: 1.031 kB / 0.6863 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.673, allocations: 44.05 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.673, allocations: 1.406 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.673, allocations: 0 / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.673, allocations: 0.7031 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.6731, allocations: 147.9 kB / 0.6865 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.6731, allocations: 5.766 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.6732, allocations: 1.062 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6732, allocations: 2.375 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6732, allocations: 0 / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6732, allocations: 5.312 kB / 0.6865 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6732, allocations: 4 kB / 0.6866 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.6733, allocations: 60.97 kB / 0.6866 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.6733, allocations: 83.22 kB / 0.6867 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.6734, allocations: 0 / 0.6867 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.6734, allocations: 2.109 kB / 0.6867 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.6734, allocations: 3.938 kB / 0.6867 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.6734, allocations: 1.125 kB / 0.6867 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.517e-05/0.6734, allocations: 79.31 kB / 0.6868 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6735, allocations: 0 / 0.6868 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002577/0.6737, allocations: 10.05 kB / 0.6868 GB, free: 13.54 MB / 0.5261 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.0003586/0.6741, allocations: 0.6124 MB / 0.6874 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.6742, allocations: 13 kB / 0.6874 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6742, allocations: 0 / 0.6874 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.6742, allocations: 2.281 kB / 0.6874 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.6743, allocations: 1.375 kB / 0.6874 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.6747, allocations: 120.9 kB / 0.6875 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.6748, allocations: 0.6728 MB / 0.6882 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.6748, allocations: 6.234 kB / 0.6882 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.6749, allocations: 7.438 kB / 0.6882 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.6749, allocations: 0 / 0.6882 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.6978, allocations: 0.9683 MB / 0.6891 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.6981, allocations: 196.3 kB / 0.6893 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.004, allocations: 5.438 kB / 0.6893 GB, free: 11.65 MB / 0.5261 GB