Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.559/2.559, allocations: 253.2 MB / 260.6 MB, free: 7.453 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.001404/0.001403, allocations: 180.8 kB / 319.9 MB, free: 3.102 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.088/2.088, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001111/0.001111, allocations: 94.64 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.652e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9563/1.176, allocations: 131.6 MB / 1.017 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.177, allocations: 79.44 kB / 1.017 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01935/1.196, allocations: 3.985 MB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.258e-06/1.196, allocations: 3.984 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.196, allocations: 0 / 1.021 GB, free: 2.301 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.0003523/1.197, allocations: 334.2 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.197, allocations: 12.03 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/1.197, allocations: 0 / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/1.197, allocations: 163 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.197, allocations: 3.938 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/1.197, allocations: 0 / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.075e-05/1.197, allocations: 3.938 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.14e-05/1.197, allocations: 33.7 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.197, allocations: 3.938 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/1.197, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.197, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/1.197, allocations: 134.1 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/1.197, allocations: 21.3 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/1.197, allocations: 4.859 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/1.198, allocations: 428.7 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.198, allocations: 30.56 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/1.198, allocations: 0 / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000159/1.198, allocations: 33.64 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/1.198, allocations: 51.41 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86e-05/1.198, allocations: 89.03 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/1.198, allocations: 25.7 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/1.198, allocations: 86.95 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/1.198, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.198, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.199, allocations: 310.8 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/1.199, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-06/1.199, allocations: 3.984 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/1.199, allocations: 8.062 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.199, allocations: 0 / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.694e-05/1.199, allocations: 37.64 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.199, allocations: 8 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.199, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.199, allocations: 3.938 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/1.199, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.199, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/1.199, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/1.199, allocations: 6.625 kB / 1.023 GB, free: 232 kB / 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 7.819e-05/1.199, allocations: 109 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/1.199, allocations: 7.891 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/1.199, allocations: 37.41 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.199, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.199, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.199, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/1.199, allocations: 126.2 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.199, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/1.199, allocations: 4.031 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.199, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.199, allocations: 7.953 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.199, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.199, allocations: 3.938 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/1.2, allocations: 60.19 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/1.2, allocations: 81.11 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.2, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/1.2, allocations: 7.984 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/1.2, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/1.2, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.6e-05/1.2, allocations: 78.22 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.51e-07/1.2, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002713/1.2, allocations: 19.94 kB / 1.023 GB, free: 15.6 MB / 0.6511 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.0002166/1.2, allocations: 111.2 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.085e-05/1.2, allocations: 8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.2, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/1.2, allocations: 7.938 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/1.2, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/1.201, allocations: 48 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.201, allocations: 0.6729 MB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.617e-05/1.201, allocations: 8.875 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/1.201, allocations: 7.438 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.201, allocations: 4.125 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.002721/1.204, allocations: 415.4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB