Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002173/0.002172, allocations: 188.9 kB / 15.77 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.7879/0.7879, allocations: 82.92 MB / 99.41 MB, free: 3.266 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.264/2.264, allocations: 205.4 MB / 325.4 MB, free: 3.406 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.00103/0.00103, allocations: 90.8 kB / 393.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.0935, allocations: 67.46 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007157/0.09426, allocations: 300.3 kB / 0.5267 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.09451, allocations: 49.55 kB / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.09454, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.09458, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.0946, allocations: 0 / 0.5267 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.09481, allocations: 19.91 kB / 0.5267 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.0949, allocations: 27.92 kB / 0.5267 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.09495, allocations: 0 / 0.5267 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.09498, allocations: 15.98 kB / 0.5268 GB, free: 14.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.09503, allocations: 7.984 kB / 0.5268 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.09505, allocations: 0 / 0.5268 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.09512, allocations: 15.98 kB / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.09516, allocations: 15.98 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.09521, allocations: 29.64 kB / 0.5268 GB, free: 14.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.424e-05/0.09531, allocations: 19.97 kB / 0.5268 GB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09532, allocations: 0 / 0.5268 GB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.09533, allocations: 0 / 0.5268 GB, free: 14.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.286e-06/0.09535, allocations: 4 kB / 0.5268 GB, free: 14.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003417/0.0957, allocations: 328.5 kB / 0.5272 GB, free: 14.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.09575, allocations: 12.03 kB / 0.5272 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.09579, allocations: 3.938 kB / 0.5272 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.09592, allocations: 163 kB / 0.5273 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.09595, allocations: 4 kB / 0.5273 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.09597, allocations: 8 kB / 0.5273 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.09615, allocations: 65.59 kB / 0.5274 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-06/0.09617, allocations: 0 / 0.5274 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.09619, allocations: 7.953 kB / 0.5274 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.276e-06/0.09621, allocations: 0 / 0.5274 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.09641, allocations: 107.8 kB / 0.5275 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.09665, allocations: 165.7 kB / 0.5277 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.09681, allocations: 70.55 kB / 0.5277 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004239/0.09724, allocations: 405.5 kB / 0.5281 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.0973, allocations: 42.5 kB / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.09732, allocations: 4 kB / 0.5282 GB, free: 12.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003065/0.09763, allocations: 114.2 kB / 0.5283 GB, free: 12.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.09769, allocations: 55.36 kB / 0.5283 GB, free: 12.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.09777, allocations: 101.8 kB / 0.5284 GB, free: 12.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.0978, allocations: 25.7 kB / 0.5285 GB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.09786, allocations: 80.33 kB / 0.5285 GB, free: 12.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.09791, allocations: 23.66 kB / 0.5286 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-06/0.09792, allocations: 0 / 0.5286 GB, free: 12.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.09811, allocations: 318.8 kB / 0.5289 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.09817, allocations: 19.98 kB / 0.5289 GB, free: 12.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/0.09824, allocations: 24.03 kB / 0.5289 GB, free: 12.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.09833, allocations: 31.92 kB / 0.5289 GB, free: 12.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-06/0.09834, allocations: 0 / 0.5289 GB, free: 12.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001949/0.09854, allocations: 93.59 kB / 0.529 GB, free: 12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.09858, allocations: 4.625 kB / 0.529 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.645e-06/0.09859, allocations: 0 / 0.529 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.09861, allocations: 0 / 0.529 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.09875, allocations: 19.98 kB / 0.529 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.09877, allocations: 0 / 0.529 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.09882, allocations: 15.86 kB / 0.5291 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.09884, allocations: 8 kB / 0.5291 GB, free: 11.95 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001638/0.09902, allocations: 121.8 kB / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.09905, allocations: 4 kB / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.09933, allocations: 125.6 kB / 0.5293 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-06/0.09936, allocations: 4 kB / 0.5293 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-06/0.09937, allocations: 4 kB / 0.5293 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-06/0.09939, allocations: 3.938 kB / 0.5293 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.09958, allocations: 181.5 kB / 0.5295 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-06/0.09959, allocations: 0 / 0.5295 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.0997, allocations: 23.92 kB / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-06/0.09971, allocations: 0 / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-06/0.09973, allocations: 0 / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.027e-06/0.09974, allocations: 4 kB / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-06/0.09976, allocations: 0 / 0.5295 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.09998, allocations: 129.4 kB / 0.5296 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.1001, allocations: 81.05 kB / 0.5297 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1001, allocations: 4 kB / 0.5297 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.1001, allocations: 0 / 0.5297 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1002, allocations: 15.92 kB / 0.5297 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1002, allocations: 4 kB / 0.5297 GB, free: 11.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.316e-05/0.1002, allocations: 75.28 kB / 0.5298 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.1003, allocations: 0 / 0.5298 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.1005, allocations: 8 kB / 0.5298 GB, free: 11.08 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * 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.000219/0.1008, allocations: 127 kB / 0.5299 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.101, allocations: 51.97 kB / 0.53 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.75e-06/0.101, allocations: 0 / 0.53 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.1011, allocations: 40.69 kB / 0.53 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.1012, allocations: 3.953 kB / 0.53 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.1015, allocations: 154.7 kB / 0.5302 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1019, allocations: 0.6848 MB / 0.5309 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.102, allocations: 35.95 kB / 0.5309 GB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1021, allocations: 15.42 kB / 0.5309 GB, free: 9.914 MB / 378.7 MB Notification: Performance of SimCode: time 1.419e-06/0.1021, allocations: 0 / 0.5309 GB, free: 9.914 MB / 378.7 MB Notification: Performance of Templates: time 0.00311/0.1052, allocations: 0.5678 MB / 0.5315 GB, free: 9.348 MB / 378.7 MB