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.291/2.291, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.001496/0.001495, allocations: 169.8 kB / 325.6 MB, free: 2.82 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.441/2.441, 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.001101/0.001101, allocations: 96.98 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004567, allocations: 14.78 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.4636, allocations: 131.7 MB / 1.027 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.464, allocations: 75.95 kB / 1.028 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0272/0.4912, allocations: 5.084 MB / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4913, allocations: 0 / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4913, allocations: 0 / 1.033 GB, free: 8.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004904/0.4918, allocations: 367.2 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4918, allocations: 8.031 kB / 1.033 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.4919, allocations: 4 kB / 1.033 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.492, allocations: 167 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4921, allocations: 8 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.4921, allocations: 7.891 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.4923, allocations: 49.69 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4923, allocations: 0 / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4923, allocations: 3.938 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4923, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.4924, allocations: 19.98 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.4926, allocations: 169.6 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4928, allocations: 66.53 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009214/0.4938, allocations: 453.5 kB / 1.034 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4938, allocations: 46.48 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.4938, allocations: 0 / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001779/0.4956, allocations: 0.5879 MB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4957, allocations: 59.41 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.4958, allocations: 85 kB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4958, allocations: 33.7 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.4959, allocations: 80.14 kB / 1.035 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.4959, allocations: 43.3 kB / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.4959, allocations: 4 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4961, allocations: 318.8 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.4961, allocations: 19.98 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.4962, allocations: 23.98 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.4963, allocations: 32 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4963, allocations: 0 / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002471/0.4966, allocations: 87.81 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4966, allocations: 7.938 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4966, allocations: 0 / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4967, allocations: 4.094 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4969, allocations: 27.92 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4969, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.4969, allocations: 4 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4969, allocations: 4 kB / 1.035 GB, free: 5.762 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 (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 0.0001106/0.4971, allocations: 125.8 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.4971, allocations: 7.906 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.4974, allocations: 101.6 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4974, allocations: 3.938 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4975, allocations: 4 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4975, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.498, allocations: 350.5 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.498, allocations: 4 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4983, allocations: 27.98 kB / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4983, allocations: 0 / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4983, allocations: 0 / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4983, allocations: 0 / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4983, allocations: 0 / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.4987, allocations: 227.6 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.4988, allocations: 85.12 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.4988, allocations: 12 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.499, allocations: 4 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.499, allocations: 3.984 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.499, allocations: 8 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.4991, allocations: 83.45 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4991, allocations: 0 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004316/0.4995, allocations: 59.92 kB / 1.036 GB, free: 4.57 MB / 0.6823 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 () * Number of clocked 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.000335/0.4999, allocations: 151.1 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.5001, allocations: 71.86 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5001, allocations: 0 / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.5002, allocations: 27.98 kB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.5004, allocations: 11.89 kB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.5009, allocations: 191 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5013, allocations: 0.6965 MB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.605e-05/0.5014, allocations: 15.92 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.5014, allocations: 11.44 kB / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of SimCode: time 6.62e-07/0.5014, allocations: 0 / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.005279/0.5067, allocations: 1.289 MB / 1.039 GB, free: 2.051 MB / 0.6823 GB