Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.0106/0.01061, allocations: 90.67 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.001235/0.001234, allocations: 173.8 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.012/2.012, 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.475/2.475, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007858/0.0007862, allocations: 11.47 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2892, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003111/0.2924, allocations: 1.16 MB / 0.7292 GB, free: 8.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2938, allocations: 360.7 kB / 0.7295 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.2939, allocations: 0 / 0.7295 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.2939, allocations: 0 / 0.7295 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.294, allocations: 3.984 kB / 0.7295 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.2947, allocations: 75.72 kB / 0.7296 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.2948, allocations: 11.98 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.295, allocations: 4 kB / 0.7296 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.295, allocations: 11.98 kB / 0.7296 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.2951, allocations: 11.92 kB / 0.7297 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2951, allocations: 0 / 0.7297 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.2957, allocations: 259.6 kB / 0.7299 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.2957, allocations: 4 kB / 0.7299 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2957, allocations: 29.7 kB / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2959, allocations: 75.81 kB / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.296, allocations: 0 / 0.73 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.338e-06/0.296, allocations: 4 kB / 0.73 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.296, allocations: 0 / 0.73 GB, free: 8.133 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000578/0.2966, allocations: 355.6 kB / 0.7304 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2966, allocations: 12.03 kB / 0.7304 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.2967, allocations: 38.5 kB / 0.7304 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.2967, allocations: 7.906 kB / 0.7304 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.2969, allocations: 167 kB / 0.7306 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2969, allocations: 0 / 0.7306 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2969, allocations: 0 / 0.7306 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.2972, allocations: 53.67 kB / 0.7306 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2972, allocations: 0 / 0.7306 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2972, allocations: 0 / 0.7306 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.2972, allocations: 4 kB / 0.7306 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.2976, allocations: 51.89 kB / 0.7307 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.298, allocations: 252.9 kB / 0.7309 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2982, allocations: 46.56 kB / 0.731 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.2992, allocations: 461.5 kB / 0.7314 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2993, allocations: 30.56 kB / 0.7314 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.2993, allocations: 3.938 kB / 0.7314 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0006034/0.2999, allocations: 101.6 kB / 0.7315 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3, allocations: 55.39 kB / 0.7316 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.3001, allocations: 105.8 kB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3001, allocations: 25.7 kB / 0.7317 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.3002, allocations: 96.02 kB / 0.7318 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3002, allocations: 4 kB / 0.7318 GB, free: 6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.3002, allocations: 0 / 0.7318 GB, free: 6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3004, allocations: 319 kB / 0.7321 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3005, allocations: 19.98 kB / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3007, allocations: 19.98 kB / 0.7321 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3008, allocations: 28.03 kB / 0.7322 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3009, allocations: 0 / 0.7322 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000367/0.3012, allocations: 81.52 kB / 0.7322 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3013, allocations: 12.03 kB / 0.7323 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3013, allocations: 3.984 kB / 0.7323 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3013, allocations: 0 / 0.7323 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3014, allocations: 8 kB / 0.7323 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3015, allocations: 0 / 0.7323 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.3016, allocations: 19.88 kB / 0.7323 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3016, allocations: 0 / 0.7323 GB, free: 5.484 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 (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 8.77e-05/0.3017, allocations: 109.8 kB / 0.7324 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.3017, allocations: 4 kB / 0.7324 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.3021, allocations: 93.06 kB / 0.7325 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3022, allocations: 3.984 kB / 0.7325 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3022, allocations: 0 / 0.7325 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3022, allocations: 8.016 kB / 0.7325 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3024, allocations: 161.9 kB / 0.7327 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3024, allocations: 7.938 kB / 0.7327 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3026, allocations: 11.98 kB / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3026, allocations: 0 / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.3026, allocations: 0 / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3026, allocations: 0 / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3026, allocations: 0 / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.303, allocations: 183.4 kB / 0.7328 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.3031, allocations: 77.11 kB / 0.7329 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3031, allocations: 7.938 kB / 0.7329 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3033, allocations: 16.02 kB / 0.7329 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3033, allocations: 0 / 0.7329 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3033, allocations: 7.938 kB / 0.7329 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.3034, allocations: 83.27 kB / 0.733 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3034, allocations: 0 / 0.733 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003104/0.3037, allocations: 12 kB / 0.733 GB, free: 4.613 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 (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.0007824/0.3045, allocations: 0.7242 MB / 0.7337 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.3049, allocations: 48 kB / 0.7338 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3049, allocations: 0 / 0.7338 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.305, allocations: 27.92 kB / 0.7338 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3053, allocations: 4.125 kB / 0.7338 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.3058, allocations: 146.3 kB / 0.734 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3061, allocations: 0.6809 MB / 0.7346 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.3062, allocations: 0 / 0.7346 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3062, allocations: 7.438 kB / 0.7346 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/0.3062, allocations: 0 / 0.7346 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3262, allocations: 1.325 MB / 0.7359 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.3266, allocations: 177 kB / 0.7361 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/2.933, allocations: 0 / 0.7361 GB, free: 1.441 MB / 0.5573 GB