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.002545/0.002549, allocations: 183.9 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7005/0.7005, allocations: 82.92 MB / 99.41 MB, free: 3.18 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 325.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001036, allocations: 95.77 kB / 393.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007448/0.0007451, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09489, allocations: 67.45 MB / 0.5264 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007102/0.09565, allocations: 330 kB / 0.5267 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.09638, allocations: 332.7 kB / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.09642, allocations: 0 / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.522e-06/0.09644, allocations: 0 / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.09648, allocations: 7.922 kB / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.0969, allocations: 75.78 kB / 0.5271 GB, free: 14.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.09696, allocations: 7.984 kB / 0.5271 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.09702, allocations: 4 kB / 0.5271 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.09707, allocations: 19.92 kB / 0.5271 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.09713, allocations: 11.98 kB / 0.5271 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.09716, allocations: 0 / 0.5271 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.09764, allocations: 259.7 kB / 0.5274 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.09767, allocations: 7.922 kB / 0.5274 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.09771, allocations: 29.7 kB / 0.5274 GB, free: 14.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.09787, allocations: 71.81 kB / 0.5275 GB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.34e-06/0.09789, allocations: 0 / 0.5275 GB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.0979, allocations: 0 / 0.5275 GB, free: 13.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.399e-06/0.09791, allocations: 0 / 0.5275 GB, free: 13.94 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.0004428/0.09836, allocations: 355.5 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.09842, allocations: 12.02 kB / 0.5278 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.09849, allocations: 4 kB / 0.5278 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.09865, allocations: 159.1 kB / 0.528 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.09868, allocations: 4 kB / 0.528 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.09872, allocations: 8 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.09886, allocations: 49.61 kB / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.09888, allocations: 3.906 kB / 0.528 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.09891, allocations: 3.953 kB / 0.528 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-06/0.09893, allocations: 8 kB / 0.528 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.099, allocations: 15.98 kB / 0.5281 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.09923, allocations: 169.7 kB / 0.5282 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.09938, allocations: 54.56 kB / 0.5283 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009157/0.1003, allocations: 457.5 kB / 0.5287 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1004, allocations: 42.48 kB / 0.5288 GB, free: 12.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.716e-06/0.1004, allocations: 4 kB / 0.5288 GB, free: 12.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001662/0.1021, allocations: 0.5956 MB / 0.5293 GB, free: 11.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1021, allocations: 55.41 kB / 0.5294 GB, free: 11.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.1022, allocations: 97.86 kB / 0.5295 GB, free: 11.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1023, allocations: 25.7 kB / 0.5295 GB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1023, allocations: 80.14 kB / 0.5296 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.1024, allocations: 39.45 kB / 0.5296 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-06/0.1024, allocations: 4 kB / 0.5296 GB, free: 11.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1026, allocations: 322.8 kB / 0.5299 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1027, allocations: 16 kB / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.1027, allocations: 23.98 kB / 0.53 GB, free: 10.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.843e-05/0.1028, allocations: 26.5 kB / 0.53 GB, free: 10.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-06/0.1028, allocations: 0 / 0.53 GB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002432/0.1031, allocations: 97.53 kB / 0.5301 GB, free: 10.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1031, allocations: 10.34 kB / 0.5301 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.494e-06/0.1031, allocations: 3.984 kB / 0.5301 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1032, allocations: 7.953 kB / 0.5301 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1033, allocations: 16 kB / 0.5301 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1033, allocations: 7.938 kB / 0.5301 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.1034, allocations: 0 / 0.5301 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1034, allocations: 8 kB / 0.5301 GB, free: 10.81 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.0001165/0.1035, allocations: 117.8 kB / 0.5303 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.1036, allocations: 7.906 kB / 0.5303 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1038, allocations: 97.62 kB / 0.5304 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.547e-06/0.1039, allocations: 8 kB / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.89e-06/0.1039, allocations: 3.953 kB / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.761e-06/0.1039, allocations: 3.984 kB / 0.5304 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1044, allocations: 350.5 kB / 0.5307 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.405e-06/0.1045, allocations: 7.984 kB / 0.5307 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1046, allocations: 16 kB / 0.5307 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.687e-06/0.1046, allocations: 0 / 0.5307 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1047, allocations: 3.953 kB / 0.5307 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.1047, allocations: 4 kB / 0.5307 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-06/0.1047, allocations: 4.094 kB / 0.5307 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1051, allocations: 223.2 kB / 0.531 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.1052, allocations: 89.12 kB / 0.531 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1052, allocations: 0 / 0.531 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1053, allocations: 7.953 kB / 0.531 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1054, allocations: 11.98 kB / 0.5311 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1054, allocations: 4 kB / 0.5311 GB, free: 9.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.382e-05/0.1055, allocations: 83.34 kB / 0.5311 GB, free: 9.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.1055, allocations: 0 / 0.5311 GB, free: 9.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.1059, allocations: 47.98 kB / 0.5312 GB, free: 9.641 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.0002905/0.1062, allocations: 139.2 kB / 0.5313 GB, free: 9.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1064, allocations: 59.92 kB / 0.5314 GB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.1064, allocations: 0 / 0.5314 GB, free: 9.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1065, allocations: 39.86 kB / 0.5314 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1067, allocations: 0 / 0.5314 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.1071, allocations: 198.9 kB / 0.5316 GB, free: 9.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.1075, allocations: 0.6887 MB / 0.5323 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.1076, allocations: 11.98 kB / 0.5323 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1076, allocations: 15.44 kB / 0.5323 GB, free: 8.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1076, allocations: 0 / 0.5323 GB, free: 8.43 MB / 378.7 MB Notification: Performance of Templates: time 0.004821/0.1125, allocations: 1.342 MB / 0.5336 GB, free: 7.09 MB / 378.7 MB