Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01278/0.01278, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001173/0.001172, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.814/3.814, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.367/4.367, allocations: 472.3 MB / 0.9017 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006769/0.0006771, allocations: 12 kB / 1.008 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7052, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001817/0.707, allocations: 1.146 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.7079, allocations: 357.4 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.708, allocations: 2.844 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.708, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.708, allocations: 3.938 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.7085, allocations: 74.44 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.7086, allocations: 24.75 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.7087, allocations: 3.469 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.7088, allocations: 7.078 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.7088, allocations: 17.78 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.7089, allocations: 0.9062 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.7094, allocations: 262.2 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.7094, allocations: 9.188 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.7095, allocations: 29.7 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.7097, allocations: 63.47 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7097, allocations: 3.125 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7097, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7097, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0005161/0.7102, allocations: 363.5 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.7103, allocations: 9.562 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.7103, allocations: 31.41 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.7104, allocations: 9.656 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.7105, allocations: 173.4 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.7106, allocations: 8.312 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7106, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.7108, allocations: 57.45 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7109, allocations: 1.094 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7109, allocations: 5.078 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.7109, allocations: 3.312 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.7112, allocations: 41.53 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.7115, allocations: 256 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.7117, allocations: 38.56 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.7119, allocations: 33.84 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009039/0.7128, allocations: 465.5 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.7129, allocations: 37.16 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.7129, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0005848/0.7135, allocations: 100.5 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7135, allocations: 55.36 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.7136, allocations: 110.7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.7136, allocations: 25.7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.7137, allocations: 82.2 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.7137, allocations: 7.906 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7137, allocations: 3.938 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.7138, allocations: 315.1 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7139, allocations: 29 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7141, allocations: 18.92 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.7142, allocations: 26.73 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7142, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003535/0.7146, allocations: 77.31 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7146, allocations: 5.344 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7147, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7147, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7148, allocations: 14.08 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.7148, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.7149, allocations: 16.22 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.715, allocations: 3.844 kB / 1.108 GB, free: 209.5 MB / 0.7292 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 6.513e-05/0.715, allocations: 113.6 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.7151, allocations: 2.625 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.7155, allocations: 91.92 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7155, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7155, allocations: 5.938 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7155, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.7157, allocations: 169.4 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7157, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.7158, allocations: 13.34 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7158, allocations: 1.922 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.7159, allocations: 1.5 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.7159, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7159, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.7163, allocations: 187.5 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.7163, allocations: 77.11 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.7163, allocations: 2.172 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.7165, allocations: 9 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.7165, allocations: 3.734 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.7166, allocations: 3.938 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.7166, allocations: 85.62 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7166, allocations: 0 / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003257/0.7169, allocations: 15.75 kB / 1.109 GB, free: 208.8 MB / 0.7292 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.0006626/0.7176, allocations: 0.7275 MB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.718, allocations: 47.61 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.718, allocations: 0 / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.7182, allocations: 26.2 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.7185, allocations: 7.375 kB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.719, allocations: 154.7 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.7192, allocations: 0.6794 MB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.7192, allocations: 3.672 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.7193, allocations: 12.56 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/0.7193, allocations: 3.938 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.7428, allocations: 1.329 MB / 1.112 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.7431, allocations: 185 kB / 1.112 GB, free: 207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.371, allocations: 2.953 kB / 1.112 GB, free: 207 MB / 0.7292 GB