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.0024/0.0024, allocations: 354.1 kB / 15.94 MB, free: 6.207 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.463/1.463, allocations: 165.8 MB / 182.5 MB, free: 5.426 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.861/3.861, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001709/0.001709, allocations: 194.6 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 12 kB / 0.7423 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005793/0.328, allocations: 346.9 kB / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.3286, allocations: 311.2 kB / 0.8088 GB, free: 28.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.3286, allocations: 0 / 0.8088 GB, free: 28.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.747e-06/0.3287, allocations: 0 / 0.8088 GB, free: 28.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.3287, allocations: 4 kB / 0.8088 GB, free: 28.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.3291, allocations: 79.89 kB / 0.8089 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.3291, allocations: 23.92 kB / 0.8089 GB, free: 28.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.3292, allocations: 7.984 kB / 0.8089 GB, free: 28.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.3292, allocations: 8 kB / 0.8089 GB, free: 28.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.3293, allocations: 15.92 kB / 0.8089 GB, free: 28.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.3293, allocations: 0 / 0.8089 GB, free: 28.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.3297, allocations: 263.7 kB / 0.8092 GB, free: 27.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3297, allocations: 0 / 0.8092 GB, free: 27.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.3297, allocations: 41.58 kB / 0.8092 GB, free: 27.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3298, allocations: 63.88 kB / 0.8093 GB, free: 27.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.527e-06/0.3299, allocations: 0 / 0.8093 GB, free: 27.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.761e-06/0.3299, allocations: 0 / 0.8093 GB, free: 27.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.026e-06/0.3299, allocations: 4 kB / 0.8093 GB, free: 27.64 MB / 378.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.0003121/0.3302, allocations: 353.4 kB / 0.8096 GB, free: 27.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3303, allocations: 12.03 kB / 0.8096 GB, free: 27.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.3303, allocations: 0 / 0.8096 GB, free: 27.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.3304, allocations: 167.1 kB / 0.8098 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.3304, allocations: 0 / 0.8098 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.3305, allocations: 8 kB / 0.8098 GB, free: 27.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3306, allocations: 45.67 kB / 0.8098 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3306, allocations: 11.94 kB / 0.8099 GB, free: 26.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3306, allocations: 7.953 kB / 0.8099 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-06/0.3307, allocations: 0 / 0.8099 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.3307, allocations: 15.98 kB / 0.8099 GB, free: 26.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.3309, allocations: 169.5 kB / 0.81 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.331, allocations: 58.55 kB / 0.8101 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.3311, allocations: 25.09 kB / 0.8101 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.3317, allocations: 469.4 kB / 0.8106 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3317, allocations: 38.5 kB / 0.8106 GB, free: 26.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.981e-06/0.3317, allocations: 4 kB / 0.8106 GB, free: 26.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001354/0.3331, allocations: 0.5835 MB / 0.8112 GB, free: 25.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.3331, allocations: 51.41 kB / 0.8112 GB, free: 25.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.3332, allocations: 97.86 kB / 0.8113 GB, free: 25.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3332, allocations: 33.69 kB / 0.8113 GB, free: 25.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.3332, allocations: 88.12 kB / 0.8114 GB, free: 25.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.3333, allocations: 39.41 kB / 0.8115 GB, free: 25.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.3333, allocations: 0 / 0.8115 GB, free: 25.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.3333, allocations: 318.8 kB / 0.8118 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.3334, allocations: 19.98 kB / 0.8118 GB, free: 24.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.3335, allocations: 20 kB / 0.8118 GB, free: 24.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.3335, allocations: 24 kB / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-06/0.3336, allocations: 0 / 0.8118 GB, free: 24.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001971/0.3338, allocations: 109.5 kB / 0.8119 GB, free: 24.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3338, allocations: 7.938 kB / 0.8119 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-06/0.3338, allocations: 0 / 0.8119 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3338, allocations: 7.953 kB / 0.812 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.334, allocations: 19.98 kB / 0.812 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.955e-06/0.334, allocations: 0 / 0.812 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.334, allocations: 0 / 0.812 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.334, allocations: 8 kB / 0.812 GB, free: 24.48 MB / 378.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.0001077/0.3342, allocations: 114.9 kB / 0.8121 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.3342, allocations: 8.188 kB / 0.8121 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3345, allocations: 105.5 kB / 0.8122 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-06/0.3345, allocations: 7.938 kB / 0.8122 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-06/0.3345, allocations: 0 / 0.8122 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3345, allocations: 0 / 0.8122 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.335, allocations: 354.5 kB / 0.8125 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.335, allocations: 0 / 0.8125 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3352, allocations: 20.08 kB / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-06/0.3352, allocations: 15.89 kB / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3352, allocations: 0 / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-06/0.3352, allocations: 0 / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-06/0.3353, allocations: 0 / 0.8126 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3355, allocations: 223.3 kB / 0.8128 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3356, allocations: 89.12 kB / 0.8129 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.3356, allocations: 3.953 kB / 0.8129 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3358, allocations: 0 / 0.8129 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3358, allocations: 16.05 kB / 0.8129 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3358, allocations: 4 kB / 0.8129 GB, free: 23.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.498e-05/0.3358, allocations: 83.27 kB / 0.813 GB, free: 23.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3359, allocations: 0 / 0.813 GB, free: 23.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.3362, allocations: 40 kB / 0.813 GB, free: 23.32 MB / 378.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.0002412/0.3365, allocations: 143.2 kB / 0.8132 GB, free: 23.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.3366, allocations: 60.34 kB / 0.8132 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-06/0.3366, allocations: 3.938 kB / 0.8132 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.3367, allocations: 35.94 kB / 0.8132 GB, free: 23.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.337, allocations: 7.984 kB / 0.8133 GB, free: 23.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3374, allocations: 202.2 kB / 0.8135 GB, free: 22.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3375, allocations: 0.6887 MB / 0.8141 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.3376, allocations: 12 kB / 0.8141 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3376, allocations: 15.44 kB / 0.8141 GB, free: 22.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.385e-06/0.3376, allocations: 0 / 0.8141 GB, free: 22.1 MB / 378.7 MB Notification: Performance of Templates: time 0.00417/0.3418, allocations: 1.339 MB / 0.8155 GB, free: 20.76 MB / 378.7 MB