Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.127/4.127, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.443e-05, allocations: 8 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5533, allocations: 98.71 MB / 0.6289 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.7435, allocations: 124.4 MB / 0.7504 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.7438, allocations: 71.97 kB / 0.7504 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.7625, allocations: 4.29 MB / 0.7546 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.119e-06/0.7626, allocations: 0 / 0.7546 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.7626, allocations: 0 / 0.7546 GB, free: 14.71 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.0004751/0.7631, allocations: 378.2 kB / 0.755 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.7631, allocations: 12.02 kB / 0.755 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.7632, allocations: 4 kB / 0.755 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.7634, allocations: 163 kB / 0.7552 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.7634, allocations: 0 / 0.7552 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7634, allocations: 4 kB / 0.7552 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.468e-05/0.7635, allocations: 15.92 kB / 0.7552 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.336e-05/0.7636, allocations: 33.7 kB / 0.7552 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-06/0.7636, allocations: 0 / 0.7552 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7636, allocations: 7.984 kB / 0.7552 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7636, allocations: 4 kB / 0.7552 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.7641, allocations: 249.4 kB / 0.7555 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.654e-05/0.7642, allocations: 22.58 kB / 0.7555 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.7642, allocations: 8.922 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/0.765, allocations: 469.4 kB / 0.7559 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.765, allocations: 34.56 kB / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.052e-06/0.765, allocations: 0 / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002065/0.7652, allocations: 41.7 kB / 0.756 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.7653, allocations: 55.39 kB / 0.7561 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.7654, allocations: 93 kB / 0.7561 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7654, allocations: 25.7 kB / 0.7562 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.7655, allocations: 84.14 kB / 0.7562 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.7655, allocations: 7.906 kB / 0.7563 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-06/0.7655, allocations: 0 / 0.7563 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7657, allocations: 322.8 kB / 0.7566 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.7657, allocations: 4 kB / 0.7566 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.7657, allocations: 8 kB / 0.7566 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.7658, allocations: 4 kB / 0.7566 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7658, allocations: 0 / 0.7566 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001353/0.766, allocations: 45.58 kB / 0.7566 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.766, allocations: 8 kB / 0.7566 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.587e-06/0.766, allocations: 0 / 0.7566 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.766, allocations: 8.031 kB / 0.7566 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7662, allocations: 11.98 kB / 0.7566 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.176e-06/0.7662, allocations: 0 / 0.7566 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.7662, allocations: 11.98 kB / 0.7567 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-06/0.7663, allocations: 256 / 0.7567 GB, free: 12.33 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 (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.261e-05/0.7664, allocations: 104.9 kB / 0.7568 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.7664, allocations: 11.91 kB / 0.7568 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.7666, allocations: 53.59 kB / 0.7568 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-06/0.7666, allocations: 4 kB / 0.7568 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-06/0.7666, allocations: 4 kB / 0.7568 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7666, allocations: 0 / 0.7568 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.7668, allocations: 146.1 kB / 0.757 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7669, allocations: 0 / 0.757 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.7669, allocations: 8 kB / 0.757 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-06/0.767, allocations: 0 / 0.757 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.767, allocations: 4.016 kB / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-06/0.767, allocations: 4 kB / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-06/0.767, allocations: 4 kB / 0.757 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.7672, allocations: 131.6 kB / 0.7571 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.7673, allocations: 81.06 kB / 0.7572 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.7673, allocations: 3.984 kB / 0.7572 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7674, allocations: 4 kB / 0.7572 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.7675, allocations: 16.02 kB / 0.7572 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-06/0.7675, allocations: 0 / 0.7572 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.7675, allocations: 79.28 kB / 0.7573 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.87e-06/0.7676, allocations: 0 / 0.7573 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003196/0.7679, allocations: 19.84 kB / 0.7573 GB, free: 11.58 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 (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.0001941/0.7681, allocations: 120.3 kB / 0.7574 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.7682, allocations: 15.98 kB / 0.7574 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.42e-06/0.7682, allocations: 4.062 kB / 0.7574 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.7683, allocations: 8 kB / 0.7575 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.7685, allocations: 4 kB / 0.7575 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.7687, allocations: 59.94 kB / 0.7575 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.7691, allocations: 0.6846 MB / 0.7582 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.7691, allocations: 3.984 kB / 0.7582 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.7691, allocations: 11.44 kB / 0.7582 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of SimCode: time 1.369e-06/0.7692, allocations: 8 kB / 0.7582 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.002999/0.7722, allocations: 0.5786 MB / 0.7588 GB, free: 10.03 MB / 0.6355 GB