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.381/2.381, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 195.7 kB / 325.6 MB, free: 2.844 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.469/2.469, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.00115/0.00115, allocations: 94.31 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 12.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.4474, allocations: 131.4 MB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.4478, allocations: 71.95 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.473, allocations: 4.012 MB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4731, allocations: 4 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4731, allocations: 0 / 1.031 GB, free: 9.777 MB / 0.6823 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.0004521/0.4736, allocations: 339.4 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4737, allocations: 8.031 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.4737, allocations: 0 / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.4739, allocations: 163 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.4739, allocations: 4 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.474, allocations: 7.938 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4741, allocations: 29.69 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.4741, allocations: 4 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4741, allocations: 0 / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4741, allocations: 0 / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.4742, allocations: 4 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.4744, allocations: 149.6 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.4744, allocations: 18.52 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/0.4751, allocations: 433.5 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4751, allocations: 30.56 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.4751, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.4753, allocations: 37.69 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.4754, allocations: 55.41 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.4754, allocations: 85 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4755, allocations: 29.83 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4755, allocations: 80.14 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.4756, allocations: 3.906 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.4756, allocations: 0 / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4757, allocations: 314.8 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.4757, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.4758, allocations: 3.938 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.4758, allocations: 3.938 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4758, allocations: 7.953 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.835e-05/0.4759, allocations: 37.75 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4759, allocations: 4 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4759, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.476, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.476, allocations: 8 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.476, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.4761, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.4761, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 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 (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 8.567e-05/0.4762, allocations: 109.8 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.4762, allocations: 7.984 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4763, allocations: 40.75 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4763, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4764, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4764, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4765, allocations: 149.7 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4765, allocations: 3.984 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.4765, allocations: 7.938 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4766, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4766, allocations: 11.97 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4766, allocations: 0 / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4766, allocations: 0 / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.4767, allocations: 53.08 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.4768, allocations: 85.09 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4768, allocations: 7.953 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.4768, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.4768, allocations: 4.031 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.4768, allocations: 0 / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.4769, allocations: 75.28 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4769, allocations: 0 / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000254/0.4772, allocations: 15.94 kB / 1.034 GB, free: 6.988 MB / 0.6823 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 (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.0002123/0.4774, allocations: 115.2 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.4775, allocations: 4 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4775, allocations: 64 / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.4775, allocations: 8 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.4776, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.4778, allocations: 84.52 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4781, allocations: 0.677 MB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.4782, allocations: 3.938 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.4782, allocations: 7.438 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of SimCode: time 6.12e-07/0.4782, allocations: 0 / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of Templates: time 0.002936/0.4811, allocations: 417.5 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB