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.00253/0.002536, allocations: 358 kB / 16.59 MB, free: 5.562 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.412/1.412, allocations: 165.8 MB / 183.1 MB, free: 5.461 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.904/3.904, allocations: 410.7 MB / 0.6001 GB, free: 15.11 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.001759/0.001759, allocations: 195.4 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 15.94 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4399, allocations: 67.43 MB / 0.8088 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007185/0.4406, allocations: 339.2 kB / 0.8091 GB, free: 28.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.4413, allocations: 307.2 kB / 0.8094 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.4414, allocations: 3.938 kB / 0.8094 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.4414, allocations: 0 / 0.8094 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.4414, allocations: 0 / 0.8094 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.4419, allocations: 89.39 kB / 0.8095 GB, free: 28.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.4419, allocations: 19.92 kB / 0.8095 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.442, allocations: 4 kB / 0.8095 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.442, allocations: 8 kB / 0.8095 GB, free: 28.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.4421, allocations: 15.91 kB / 0.8095 GB, free: 28.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4421, allocations: 0 / 0.8095 GB, free: 28.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.4426, allocations: 263.7 kB / 0.8098 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.4426, allocations: 7.938 kB / 0.8098 GB, free: 27.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.4427, allocations: 33.64 kB / 0.8098 GB, free: 27.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.4428, allocations: 71.81 kB / 0.8099 GB, free: 27.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4428, allocations: 4 kB / 0.8099 GB, free: 27.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4428, allocations: 0 / 0.8099 GB, free: 27.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.4428, allocations: 0 / 0.8099 GB, free: 27.66 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.0003688/0.4432, allocations: 349.4 kB / 0.8102 GB, free: 27.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4433, allocations: 8.031 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.4433, allocations: 8 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.4434, allocations: 167 kB / 0.8104 GB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4435, allocations: 4 kB / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.4435, allocations: 4 kB / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.4436, allocations: 53.67 kB / 0.8104 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4437, allocations: 0 / 0.8104 GB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4437, allocations: 7.891 kB / 0.8104 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4437, allocations: 4 kB / 0.8104 GB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.4438, allocations: 15.98 kB / 0.8105 GB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4439, allocations: 173.5 kB / 0.8106 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4441, allocations: 58.55 kB / 0.8107 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.4441, allocations: 28.86 kB / 0.8107 GB, free: 26.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008549/0.445, allocations: 457.5 kB / 0.8111 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.445, allocations: 42.5 kB / 0.8112 GB, free: 26.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.445, allocations: 0 / 0.8112 GB, free: 26.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00154/0.4466, allocations: 0.5873 MB / 0.8118 GB, free: 25.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.4466, allocations: 51.41 kB / 0.8118 GB, free: 25.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.4467, allocations: 105.8 kB / 0.8119 GB, free: 25.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4467, allocations: 29.7 kB / 0.8119 GB, free: 25.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.4468, allocations: 80.14 kB / 0.812 GB, free: 25.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.4468, allocations: 39.39 kB / 0.8121 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.4468, allocations: 8 kB / 0.8121 GB, free: 25.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.4469, allocations: 310.8 kB / 0.8124 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.447, allocations: 23.98 kB / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.447, allocations: 16.09 kB / 0.8124 GB, free: 24.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.4471, allocations: 36.92 kB / 0.8124 GB, free: 24.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4471, allocations: 0 / 0.8124 GB, free: 24.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002074/0.4473, allocations: 104.3 kB / 0.8125 GB, free: 24.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4474, allocations: 4 kB / 0.8125 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4474, allocations: 3.938 kB / 0.8125 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4474, allocations: 3.953 kB / 0.8125 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4476, allocations: 31.98 kB / 0.8126 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4476, allocations: 0 / 0.8126 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.4476, allocations: 0 / 0.8126 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4477, allocations: 4 kB / 0.8126 GB, free: 24.5 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 7.09e-05/0.4477, allocations: 121.3 kB / 0.8127 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.4478, allocations: 0 / 0.8127 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.448, allocations: 113.5 kB / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4481, allocations: 0 / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4481, allocations: 3.953 kB / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.4481, allocations: 85.09 kB / 0.8129 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.4482, allocations: 4 kB / 0.8129 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.4483, allocations: 0 / 0.8129 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.4483, allocations: 7.984 kB / 0.8129 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002939/0.4486, allocations: 184.8 kB / 0.8131 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003445/0.449, allocations: 302.6 kB / 0.8134 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.214e-05/0.4491, allocations: 32.02 kB / 0.8134 GB, free: 23.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.4491, allocations: 75.28 kB / 0.8135 GB, free: 23.54 MB / 378.7 MB Notification: Performance of Backend: time 8.21e-07/0.4491, allocations: 64 / 0.8135 GB, free: 23.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006561/0.4498, allocations: 163.9 kB / 0.8136 GB, free: 23.37 MB / 378.7 MB Notification: Performance of SimCode: time 0.000465/0.4503, allocations: 0.6172 MB / 0.8142 GB, free: 22.71 MB / 378.7 MB Notification: Performance of Templates: time 0.00506/0.4553, allocations: 1.512 MB / 0.8157 GB, free: 21.2 MB / 378.7 MB