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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.717/4.717, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.385e-05, allocations: 6.781 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2317, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/0.4843, allocations: 123.7 MB / 0.7497 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4846, allocations: 71.95 kB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02093/0.5056, allocations: 3.988 MB / 0.7537 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5056, allocations: 0 / 0.7537 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5056, allocations: 0 / 0.7537 GB, free: 9.16 MB / 0.6355 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.0003904/0.506, allocations: 342.4 kB / 0.754 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5061, allocations: 12.03 kB / 0.754 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.5062, allocations: 7.953 kB / 0.754 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5063, allocations: 163.1 kB / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5063, allocations: 0 / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.5063, allocations: 0 / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.584e-05/0.5064, allocations: 4 kB / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.892e-05/0.5065, allocations: 25.7 kB / 0.7542 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5065, allocations: 3.984 kB / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5065, allocations: 0 / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5065, allocations: 0 / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.5067, allocations: 134.2 kB / 0.7544 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.5067, allocations: 22.52 kB / 0.7544 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.5068, allocations: 4.859 kB / 0.7544 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/0.5074, allocations: 425.6 kB / 0.7548 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5075, allocations: 34.56 kB / 0.7548 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.5075, allocations: 3.938 kB / 0.7548 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.5077, allocations: 29.7 kB / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.5077, allocations: 51.41 kB / 0.7549 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.5078, allocations: 89 kB / 0.755 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5078, allocations: 25.7 kB / 0.755 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.5078, allocations: 84.14 kB / 0.7551 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.5079, allocations: 0 / 0.7551 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.5079, allocations: 4.031 kB / 0.7551 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.508, allocations: 310.8 kB / 0.7554 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.5081, allocations: 7.922 kB / 0.7554 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.5081, allocations: 7.938 kB / 0.7554 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.5081, allocations: 0 / 0.7554 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.5081, allocations: 3.953 kB / 0.7554 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.545e-05/0.5082, allocations: 29.7 kB / 0.7554 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5083, allocations: 8 kB / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5083, allocations: 96 / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.5083, allocations: 4 kB / 0.7555 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.5084, allocations: 0 / 0.7555 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.5084, allocations: 0 / 0.7555 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.5084, allocations: 8 kB / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5084, allocations: 0 / 0.7555 GB, free: 7.062 MB / 0.6355 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 (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 0.0001079/0.5085, allocations: 106.3 kB / 0.7556 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.24e-05/0.5086, allocations: 37.59 kB / 0.7556 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5087, allocations: 4 kB / 0.7556 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.5088, allocations: 45.47 kB / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5088, allocations: 0 / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5088, allocations: 0 / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5089, allocations: 0 / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.509, allocations: 126.2 kB / 0.7558 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.509, allocations: 4 kB / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.509, allocations: 0 / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.509, allocations: 0 / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.509, allocations: 0 / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.509, allocations: 0 / 0.7558 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.509, allocations: 4.031 kB / 0.7558 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.5092, allocations: 65.06 kB / 0.7558 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.5092, allocations: 81.06 kB / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5093, allocations: 0 / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-06/0.5093, allocations: 0 / 0.7559 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.5093, allocations: 4 kB / 0.7559 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5093, allocations: 0 / 0.7559 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.5094, allocations: 79.31 kB / 0.756 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5094, allocations: 3.938 kB / 0.756 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002703/0.5096, allocations: 19.92 kB / 0.756 GB, free: 6.406 MB / 0.6355 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 (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.0005316/0.5102, allocations: 0.6132 MB / 0.7566 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.5103, allocations: 15.91 kB / 0.7566 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5103, allocations: 0 / 0.7566 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-06/0.5103, allocations: 0 / 0.7566 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.5104, allocations: 4 kB / 0.7566 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.5107, allocations: 77.66 kB / 0.7567 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.511, allocations: 0.6729 MB / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.5111, allocations: 0 / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.5111, allocations: 7.438 kB / 0.7574 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/0.5111, allocations: 4.125 kB / 0.7574 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.5466, allocations: 0.663 MB / 0.758 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.5469, allocations: 157.5 kB / 0.7582 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.768, allocations: 3.938 kB / 0.7582 GB, free: 4.066 MB / 0.6355 GB