Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 253.2 MB / 260.6 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 177 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 92.58 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.191e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2541, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9182/1.172, allocations: 131.8 MB / 1.017 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.173, allocations: 86.45 kB / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02486/1.198, allocations: 5.038 MB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.827e-06/1.198, allocations: 4 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.198, allocations: 3.938 kB / 1.022 GB, free: 1.289 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004782/1.198, allocations: 357.8 kB / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.198, allocations: 16.02 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/1.198, allocations: 0 / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.198, allocations: 182.6 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.199, allocations: 0 / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/1.199, allocations: 4 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.105e-05/1.199, allocations: 15.3 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/1.199, allocations: 53.3 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.199, allocations: 3.906 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.199, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.199, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/1.199, allocations: 141.6 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/1.199, allocations: 56.88 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/1.199, allocations: 28.23 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009429/1.2, allocations: 457.5 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.2, allocations: 38.44 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.287e-06/1.2, allocations: 4 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001415/1.202, allocations: 0.513 MB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/1.202, allocations: 59.34 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/1.202, allocations: 88.75 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/1.202, allocations: 29.7 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/1.202, allocations: 84.14 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/1.202, allocations: 34.83 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/1.202, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.202, allocations: 318.6 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/1.202, allocations: 15.19 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/1.202, allocations: 19.19 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.202, allocations: 22.86 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.202, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002714/1.203, allocations: 93.02 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.203, allocations: 4.875 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.203, allocations: 7.938 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.203, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/1.203, allocations: 23.94 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.203, allocations: 0.5469 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/1.203, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/1.203, allocations: 11.55 kB / 1.025 GB, free: 14.39 MB / 0.6511 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 (13): * Single equations (assignments): 13 * 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.061e-05/1.203, allocations: 105.3 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/1.203, allocations: 7.906 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/1.204, allocations: 103.2 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.204, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.204, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.204, allocations: 7.984 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/1.204, allocations: 312.7 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.204, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.204, allocations: 23.98 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.204, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.204, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.204, allocations: 3.938 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.204, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/1.205, allocations: 213.9 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.205, allocations: 81.28 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/1.205, allocations: 4 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/1.205, allocations: 3.312 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/1.205, allocations: 15.91 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/1.205, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.962e-05/1.205, allocations: 79.34 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.205, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004366/1.206, allocations: 59.42 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003424/1.206, allocations: 151 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000183/1.206, allocations: 52.56 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.206, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/1.206, allocations: 34.81 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/1.207, allocations: 14.56 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/1.207, allocations: 139.1 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.207, allocations: 0.6903 MB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.979e-05/1.207, allocations: 11.95 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/1.207, allocations: 11.44 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.207, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.005244/1.213, allocations: 1.275 MB / 1.028 GB, free: 10.96 MB / 0.6511 GB