Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.296, 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.001506/0.001505, allocations: 184.6 kB / 319.9 MB, free: 3.059 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.037/2.037, 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.001126/0.001126, allocations: 90.7 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.104e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9009/1.185, allocations: 131.7 MB / 1.017 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.185, allocations: 72.64 kB / 1.017 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0218/1.207, allocations: 4.52 MB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.207, allocations: 4 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.207, allocations: 0 / 1.022 GB, free: 1.738 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004052/1.207, allocations: 342.3 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.207, allocations: 19.95 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/1.207, allocations: 0 / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/1.208, allocations: 163 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.208, allocations: 4 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/1.208, allocations: 4 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.233e-05/1.208, allocations: 7.922 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/1.208, allocations: 37.62 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.208, allocations: 0 / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.208, allocations: 4 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.208, allocations: 0 / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/1.208, allocations: 130.2 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/1.208, allocations: 25.73 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/1.208, allocations: 8.922 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/1.209, allocations: 457.5 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.209, allocations: 37.75 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/1.209, allocations: 0 / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007108/1.21, allocations: 238.1 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.21, allocations: 51.41 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/1.21, allocations: 92.94 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.21, allocations: 29.83 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/1.21, allocations: 80.14 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/1.21, allocations: 11.89 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.21, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.21, allocations: 314 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/1.21, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/1.21, allocations: 21.03 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/1.21, allocations: 8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.21, allocations: 3.953 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001576/1.211, allocations: 49.12 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.211, allocations: 5.25 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.211, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.211, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/1.211, allocations: 7.938 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.211, allocations: 3.984 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/1.211, allocations: 3.938 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/1.211, allocations: 8.062 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.918e-05/1.211, allocations: 104.9 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/1.211, allocations: 11.86 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/1.211, allocations: 45.38 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.211, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.211, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.211, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/1.211, allocations: 138 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.211, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/1.211, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.212, allocations: 7.891 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.212, allocations: 7.984 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.212, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/1.212, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/1.212, allocations: 72.56 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/1.212, allocations: 77.41 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.212, allocations: 7.953 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/1.212, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/1.212, allocations: 8.016 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/1.212, allocations: 3.984 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.278e-05/1.212, allocations: 75.28 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.212, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003299/1.212, allocations: 31.94 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002795/1.213, allocations: 139.2 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/1.213, allocations: 15.25 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.213, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/1.213, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/1.213, allocations: 5.359 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/1.213, allocations: 77.08 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.214, allocations: 0.6807 MB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.836e-05/1.214, allocations: 8.062 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/1.214, allocations: 15.42 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.214, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of Templates: time 0.003879/1.218, allocations: 0.7924 MB / 1.026 GB, free: 12.86 MB / 0.6511 GB