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: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008984/0.008984, allocations: 112.4 kB / 15.06 MB, free: 5.961 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.001104/0.001104, allocations: 186 kB / 15.94 MB, free: 5.926 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 2.146/2.146, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.22/2.22, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5392, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.7229, allocations: 125.1 MB / 0.8055 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.7231, allocations: 71.97 kB / 0.8056 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01914/0.7423, allocations: 4.314 MB / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.402e-06/0.7424, allocations: 3.938 kB / 0.8098 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.297e-06/0.7424, allocations: 0 / 0.8098 GB, free: 12.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004912/0.7429, allocations: 379.2 kB / 0.8102 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7429, allocations: 8.031 kB / 0.8102 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.743, allocations: 7.844 kB / 0.8102 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.7432, allocations: 175 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.7432, allocations: 0 / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.7432, allocations: 0 / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.7434, allocations: 57.67 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.09e-06/0.7434, allocations: 0 / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7435, allocations: 7.984 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-06/0.7435, allocations: 0 / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.7437, allocations: 39.97 kB / 0.8105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7442, allocations: 280.8 kB / 0.8107 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.7444, allocations: 42.56 kB / 0.8108 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000719/0.7451, allocations: 457.5 kB / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.7451, allocations: 34.56 kB / 0.8112 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.167e-06/0.7451, allocations: 0 / 0.8112 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004688/0.7456, allocations: 101.6 kB / 0.8113 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.7457, allocations: 55.41 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.7458, allocations: 97.11 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.7458, allocations: 29.7 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.7459, allocations: 92.05 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.7459, allocations: 7.875 kB / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.7459, allocations: 0 / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7461, allocations: 318.8 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.7462, allocations: 23.98 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.7463, allocations: 19.98 kB / 0.8119 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.7464, allocations: 23.98 kB / 0.812 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-06/0.7464, allocations: 0 / 0.812 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003045/0.7468, allocations: 81.62 kB / 0.812 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7468, allocations: 8 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.623e-06/0.7468, allocations: 0 / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7468, allocations: 3.938 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.7469, allocations: 11.98 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.747, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.7471, allocations: 16.02 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.7471, allocations: 0 / 0.8121 GB, free: 10.13 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 () * 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 9.561e-05/0.7472, allocations: 113.8 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.7472, allocations: 4.25 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.7476, allocations: 85.19 kB / 0.8123 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.7476, allocations: 0 / 0.8123 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.7476, allocations: 7.938 kB / 0.8123 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-06/0.7476, allocations: 0 / 0.8123 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.7478, allocations: 165.6 kB / 0.8124 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-06/0.7479, allocations: 0 / 0.8124 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.7479, allocations: 15.92 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.619e-06/0.748, allocations: 4.031 kB / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-06/0.748, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-06/0.748, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-06/0.748, allocations: 4 kB / 0.8125 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.7483, allocations: 179.4 kB / 0.8126 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.7484, allocations: 77.11 kB / 0.8127 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.7484, allocations: 4 kB / 0.8127 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.7486, allocations: 7.984 kB / 0.8127 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.7486, allocations: 0 / 0.8127 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.7486, allocations: 4 kB / 0.8127 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.7487, allocations: 83.28 kB / 0.8128 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.148e-06/0.7487, allocations: 0 / 0.8128 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003288/0.749, allocations: 23.95 kB / 0.8128 GB, free: 9.266 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 () * 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.0001985/0.7493, allocations: 116.6 kB / 0.8129 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.7495, allocations: 51.89 kB / 0.813 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.52e-06/0.7495, allocations: 4.062 kB / 0.813 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.7497, allocations: 23.98 kB / 0.813 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.7499, allocations: 3.953 kB / 0.813 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.7502, allocations: 112.7 kB / 0.8131 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.7506, allocations: 0.681 MB / 0.8138 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.7506, allocations: 0 / 0.8138 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.7506, allocations: 11.44 kB / 0.8138 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of SimCode: time 1.338e-06/0.7507, allocations: 0 / 0.8138 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of Templates: time 0.003113/0.7538, allocations: 0.6086 MB / 0.8144 GB, free: 7.598 MB / 0.6355 GB