Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002219/0.002224, allocations: 186.9 kB / 15.77 MB, free: 5.996 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.8544/0.8544, allocations: 82.93 MB / 99.42 MB, free: 3.258 MB / 74.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 325.4 MB, free: 3.305 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.001062/0.001062, allocations: 106.8 kB / 393.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09087, allocations: 67.46 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001963/0.09287, allocations: 1.225 MB / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003601/0.09327, allocations: 131.7 kB / 0.5277 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.09333, allocations: 0 / 0.5277 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.09336, allocations: 3.938 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.09341, allocations: 0 / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.09364, allocations: 19.98 kB / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.09372, allocations: 27.91 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.09382, allocations: 15.97 kB / 0.5277 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.09386, allocations: 8 kB / 0.5277 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.09391, allocations: 15.92 kB / 0.5278 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.09394, allocations: 4 kB / 0.5278 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.09401, allocations: 7.984 kB / 0.5278 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.09404, allocations: 11.94 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.09408, allocations: 29.69 kB / 0.5278 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.09419, allocations: 31.94 kB / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.739e-06/0.09421, allocations: 0 / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.765e-06/0.09422, allocations: 0 / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.09424, allocations: 3.938 kB / 0.5278 GB, free: 13.5 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.0005138/0.09476, allocations: 356.5 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.09481, allocations: 12.03 kB / 0.5282 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.09486, allocations: 3.906 kB / 0.5282 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.09502, allocations: 167.1 kB / 0.5284 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.09505, allocations: 0 / 0.5284 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.09508, allocations: 4 kB / 0.5284 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.09533, allocations: 69.61 kB / 0.5284 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-06/0.09535, allocations: 0 / 0.5284 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.09538, allocations: 7.953 kB / 0.5284 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-06/0.09539, allocations: 4 kB / 0.5284 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.09565, allocations: 51.95 kB / 0.5285 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.09614, allocations: 276.8 kB / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.09655, allocations: 74.53 kB / 0.5288 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/0.09695, allocations: 401.6 kB / 0.5292 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.097, allocations: 34.56 kB / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.09701, allocations: 0 / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004914/0.09751, allocations: 113.5 kB / 0.5294 GB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.09758, allocations: 55.34 kB / 0.5294 GB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.0977, allocations: 109.8 kB / 0.5295 GB, free: 11.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.09773, allocations: 25.7 kB / 0.5295 GB, free: 11.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.67e-05/0.09781, allocations: 88.14 kB / 0.5296 GB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.09784, allocations: 3.906 kB / 0.5296 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-06/0.09785, allocations: 0 / 0.5296 GB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.09802, allocations: 314.8 kB / 0.5299 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.09815, allocations: 27.97 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.09827, allocations: 24.17 kB / 0.53 GB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.09841, allocations: 36.05 kB / 0.53 GB, free: 10.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.09843, allocations: 0 / 0.53 GB, free: 10.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003099/0.09874, allocations: 89.52 kB / 0.5301 GB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.09878, allocations: 11.94 kB / 0.5301 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-06/0.09879, allocations: 0 / 0.5301 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.09882, allocations: 4 kB / 0.5301 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.09894, allocations: 15.92 kB / 0.5301 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.03e-06/0.09897, allocations: 4 kB / 0.5301 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.09906, allocations: 7.984 kB / 0.5301 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.09908, allocations: 0 / 0.5301 GB, free: 10.86 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001057/0.09919, allocations: 109.8 kB / 0.5302 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.09925, allocations: 11.95 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.0996, allocations: 89.55 kB / 0.5303 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-06/0.09963, allocations: 4 kB / 0.5303 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.09964, allocations: 0 / 0.5303 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-06/0.09965, allocations: 3.938 kB / 0.5303 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.09991, allocations: 169.7 kB / 0.5305 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-06/0.09992, allocations: 0 / 0.5305 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1, allocations: 15.92 kB / 0.5305 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.841e-06/0.1001, allocations: 0 / 0.5305 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1001, allocations: 11.94 kB / 0.5305 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.443e-06/0.1001, allocations: 4 kB / 0.5305 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.809e-06/0.1001, allocations: 0 / 0.5305 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1005, allocations: 179.4 kB / 0.5307 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1005, allocations: 81.11 kB / 0.5308 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1006, allocations: 3.984 kB / 0.5308 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1007, allocations: 7.953 kB / 0.5308 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.1008, allocations: 15.98 kB / 0.5308 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-06/0.1008, allocations: 0 / 0.5308 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.1009, allocations: 91.27 kB / 0.5309 GB, free: 9.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.1009, allocations: 0 / 0.5309 GB, free: 9.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.1012, allocations: 11.94 kB / 0.5309 GB, free: 9.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001723/0.1014, allocations: 99.25 kB / 0.531 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1017, allocations: 63.89 kB / 0.5311 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.517e-06/0.1017, allocations: 0 / 0.5311 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1019, allocations: 31.97 kB / 0.5311 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1021, allocations: 0 / 0.5311 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1024, allocations: 128.6 kB / 0.5312 GB, free: 9.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1028, allocations: 0.6852 MB / 0.5319 GB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.1029, allocations: 4 kB / 0.5319 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1029, allocations: 15.44 kB / 0.5319 GB, free: 8.875 MB / 378.7 MB Notification: Performance of SimCode: time 1.296e-06/0.1029, allocations: 0 / 0.5319 GB, free: 8.875 MB / 378.7 MB Notification: Performance of Templates: time 0.003289/0.1062, allocations: 0.6436 MB / 0.5325 GB, free: 8.234 MB / 378.7 MB