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.295/2.295, 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.001452/0.001452, allocations: 185.5 kB / 325.6 MB, free: 2.852 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.431/2.431, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.00123/0.00123, allocations: 97.75 kB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004776, allocations: 16.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2506/0.4755, allocations: 131.5 MB / 1.027 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4759, allocations: 75.95 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02281/0.4987, allocations: 4.535 MB / 1.032 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4988, allocations: 0 / 1.032 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4988, allocations: 0 / 1.032 GB, free: 9.613 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004322/0.4993, allocations: 363.2 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4993, allocations: 8.031 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.4994, allocations: 0 / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4995, allocations: 167 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.4996, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.4996, allocations: 3.984 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4997, allocations: 37.69 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4997, allocations: 3.938 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4998, allocations: 4 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4998, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.4998, allocations: 7.938 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.5, allocations: 157.6 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.5001, allocations: 18.61 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000944/0.501, allocations: 465.5 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5011, allocations: 34.56 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.5011, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000664/0.5018, allocations: 250.5 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5018, allocations: 55.34 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.5019, allocations: 93 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5019, allocations: 25.7 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.502, allocations: 80.14 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.502, allocations: 15.88 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.502, allocations: 4 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5022, allocations: 319 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.5022, allocations: 4 kB / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.5023, allocations: 21.7 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.5023, allocations: 4 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5023, allocations: 0 / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.5025, allocations: 53.64 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5025, allocations: 4 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.5026, allocations: 12.05 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.5026, allocations: 0 / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.5027, allocations: 4 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5027, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5027, allocations: 8 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5027, allocations: 0 / 1.034 GB, free: 7.082 MB / 0.6823 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 () * Number of clocked 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 9.584e-05/0.5028, allocations: 113.8 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.5029, allocations: 3.906 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.5031, allocations: 65.11 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5031, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5031, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5031, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.5033, allocations: 153.6 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5033, allocations: 0 / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.5034, allocations: 12 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5034, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5034, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5034, allocations: 7.875 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5034, allocations: 4 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.5036, allocations: 77.23 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.5037, allocations: 93.12 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5037, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.5038, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.5038, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.5039, allocations: 4 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.5039, allocations: 83.33 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5039, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000325/0.5042, allocations: 35.94 kB / 1.035 GB, free: 6.336 MB / 0.6823 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 () * Number of clocked 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.0002713/0.5045, allocations: 131.2 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.5047, allocations: 19.98 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5047, allocations: 0 / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.5047, allocations: 8 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.5048, allocations: 4.219 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.5051, allocations: 120.9 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5055, allocations: 0.6809 MB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.5055, allocations: 3.938 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.5056, allocations: 11.44 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/0.5056, allocations: 0 / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of Templates: time 0.00451/0.5101, allocations: 0.798 MB / 1.036 GB, free: 4.512 MB / 0.6823 GB