Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002516/0.002516, allocations: 356.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.436/1.436, allocations: 165.8 MB / 183.1 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.703/3.703, allocations: 410.7 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001783, allocations: 198.3 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006232/0.0006235, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3991, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.5748, allocations: 98.45 MB / 0.9049 GB, free: 10.21 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5752, allocations: 79.95 kB / 0.905 GB, free: 10.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02886/0.6041, allocations: 5.071 MB / 0.9099 GB, free: 5.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6041, allocations: 0 / 0.9099 GB, free: 5.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.6042, allocations: 4 kB / 0.9099 GB, free: 5.051 MB / 458.7 MB 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.0004959/0.6047, allocations: 367.1 kB / 0.9103 GB, free: 4.645 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6047, allocations: 8.031 kB / 0.9103 GB, free: 4.637 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.6048, allocations: 4 kB / 0.9103 GB, free: 4.633 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6049, allocations: 167 kB / 0.9104 GB, free: 4.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.605, allocations: 8 kB / 0.9104 GB, free: 4.422 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.605, allocations: 8 kB / 0.9105 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6052, allocations: 49.67 kB / 0.9105 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.6052, allocations: 0 / 0.9105 GB, free: 4.359 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.6052, allocations: 3.953 kB / 0.9105 GB, free: 4.355 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.6053, allocations: 4 kB / 0.9105 GB, free: 4.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.6053, allocations: 15.98 kB / 0.9105 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.6056, allocations: 169.6 kB / 0.9107 GB, free: 4.121 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.6057, allocations: 58.5 kB / 0.9107 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.6058, allocations: 28.84 kB / 0.9108 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009364/0.6068, allocations: 457.5 kB / 0.9112 GB, free: 3.484 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6068, allocations: 38.56 kB / 0.9112 GB, free: 3.438 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.6068, allocations: 0 / 0.9112 GB, free: 3.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001824/0.6086, allocations: 0.5995 MB / 0.9118 GB, free: 2.746 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.6087, allocations: 59.41 kB / 0.9119 GB, free: 2.676 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.6088, allocations: 97.84 kB / 0.912 GB, free: 2.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6089, allocations: 29.7 kB / 0.912 GB, free: 2.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.6089, allocations: 80.14 kB / 0.9121 GB, free: 2.453 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.609, allocations: 35.47 kB / 0.9121 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.609, allocations: 0 / 0.9121 GB, free: 2.418 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6091, allocations: 318.8 kB / 0.9124 GB, free: 2.098 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.6092, allocations: 27.92 kB / 0.9125 GB, free: 2.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.6093, allocations: 16 kB / 0.9125 GB, free: 2.055 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.6094, allocations: 32 kB / 0.9125 GB, free: 2.023 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6094, allocations: 0 / 0.9125 GB, free: 2.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002537/0.6096, allocations: 98.7 kB / 0.9126 GB, free: 1.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6097, allocations: 4 kB / 0.9126 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6097, allocations: 0 / 0.9126 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6097, allocations: 3.953 kB / 0.9126 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.6099, allocations: 27.92 kB / 0.9126 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6099, allocations: 0 / 0.9126 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.61, allocations: 7.938 kB / 0.9126 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.61, allocations: 4 kB / 0.9126 GB, free: 1.875 MB / 458.7 MB 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.0001054/0.6101, allocations: 118.9 kB / 0.9127 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.6102, allocations: 0 / 0.9127 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.6105, allocations: 109.8 kB / 0.9129 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6105, allocations: 3.953 kB / 0.9129 GB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6105, allocations: 3.938 kB / 0.9129 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6105, allocations: 0 / 0.9129 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.6111, allocations: 350.5 kB / 0.9132 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6111, allocations: 4 kB / 0.9132 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6113, allocations: 19.98 kB / 0.9132 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.6113, allocations: 7.953 kB / 0.9132 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6114, allocations: 3.938 kB / 0.9132 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.6114, allocations: 3.984 kB / 0.9132 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6114, allocations: 0 / 0.9132 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.6118, allocations: 219.4 kB / 0.9134 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.6119, allocations: 81.19 kB / 0.9135 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.6119, allocations: 15.98 kB / 0.9135 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.612, allocations: 7.984 kB / 0.9135 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.6121, allocations: 8 kB / 0.9136 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.6121, allocations: 4 kB / 0.9136 GB, free: 0.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.6122, allocations: 79.27 kB / 0.9136 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6122, allocations: 4 kB / 0.9136 GB, free: 0.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.6126, allocations: 55.88 kB / 0.9137 GB, free: 0.6953 MB / 458.7 MB 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.0003424/0.6129, allocations: 159.1 kB / 0.9138 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.6132, allocations: 61.34 kB / 0.9139 GB, free: 480 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6132, allocations: 0 / 0.9139 GB, free: 480 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.6133, allocations: 43.86 kB / 0.9139 GB, free: 436 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6136, allocations: 9.969 kB / 0.9139 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.614, allocations: 187 kB / 0.9141 GB, free: 212 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6144, allocations: 0.6926 MB / 0.9148 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.6145, allocations: 8.328 kB / 0.9148 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.6145, allocations: 11.44 kB / 0.9148 GB, free: 15.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6145, allocations: 0 / 0.9148 GB, free: 15.47 MB / 474.7 MB Notification: Performance of Templates: time 0.00517/0.6197, allocations: 1.318 MB / 0.9161 GB, free: 14.15 MB / 474.7 MB