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.007019/0.007027, allocations: 357.5 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.487/1.487, allocations: 165.8 MB / 183.1 MB, free: 5.508 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.723/3.723, allocations: 410.8 MB / 0.6001 GB, free: 15.39 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.001817/0.001817, allocations: 192.4 kB / 0.6668 GB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004559, allocations: 15.94 kB / 0.7429 GB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4004, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001685/0.4021, allocations: 1.225 MB / 0.8099 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.4025, allocations: 123.7 kB / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.4025, allocations: 0 / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.4026, allocations: 4 kB / 0.8101 GB, free: 27.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.4026, allocations: 11.81 kB / 0.8101 GB, free: 27.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.4029, allocations: 19.95 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.047e-05/0.4029, allocations: 31.92 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.403, allocations: 12 kB / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.4031, allocations: 15.92 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.979e-05/0.4031, allocations: 15.92 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.4032, allocations: 7.984 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.4032, allocations: 7.984 kB / 0.8102 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.4033, allocations: 8 kB / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.4033, allocations: 29.64 kB / 0.8102 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.4034, allocations: 27.95 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4034, allocations: 0 / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4034, allocations: 4 kB / 0.8102 GB, free: 27.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.4034, allocations: 4 kB / 0.8102 GB, free: 27.25 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.0004524/0.4039, allocations: 353.3 kB / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4039, allocations: 8.031 kB / 0.8106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.404, allocations: 0 / 0.8106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.359e-05/0.4041, allocations: 170.9 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.4041, allocations: 0 / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4041, allocations: 12 kB / 0.8108 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4044, allocations: 65.64 kB / 0.8108 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4044, allocations: 0 / 0.8108 GB, free: 26.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4044, allocations: 7.953 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4044, allocations: 4 kB / 0.8108 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.4048, allocations: 55.89 kB / 0.8109 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4052, allocations: 272.9 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.4057, allocations: 66.48 kB / 0.8112 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4058, allocations: 32.84 kB / 0.8112 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.4061, allocations: 405.5 kB / 0.8116 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.4061, allocations: 30.56 kB / 0.8117 GB, free: 25.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.4061, allocations: 0 / 0.8117 GB, free: 25.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000591/0.4067, allocations: 117.5 kB / 0.8118 GB, free: 25.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.57e-05/0.4067, allocations: 51.41 kB / 0.8118 GB, free: 25.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.4068, allocations: 121.8 kB / 0.8119 GB, free: 25.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4068, allocations: 25.7 kB / 0.812 GB, free: 25.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.4069, allocations: 88.14 kB / 0.812 GB, free: 25.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.4069, allocations: 7.844 kB / 0.8121 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.4069, allocations: 0 / 0.8121 GB, free: 25.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.407, allocations: 314.8 kB / 0.8124 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4072, allocations: 27.91 kB / 0.8124 GB, free: 24.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.4073, allocations: 27.98 kB / 0.8124 GB, free: 24.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4075, allocations: 27.97 kB / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4075, allocations: 3.938 kB / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003909/0.4079, allocations: 97.55 kB / 0.8125 GB, free: 24.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.408, allocations: 4 kB / 0.8125 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.408, allocations: 0 / 0.8125 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.408, allocations: 0 / 0.8125 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4082, allocations: 15.98 kB / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4082, allocations: 0 / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4083, allocations: 15.89 kB / 0.8126 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4083, allocations: 4 kB / 0.8126 GB, free: 24.56 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 9.789e-05/0.4084, allocations: 109.8 kB / 0.8127 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.4085, allocations: 11.95 kB / 0.8127 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.4089, allocations: 93.55 kB / 0.8128 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4089, allocations: 0 / 0.8128 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4089, allocations: 0 / 0.8128 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.409, allocations: 77.11 kB / 0.8129 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.409, allocations: 7.984 kB / 0.8129 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4092, allocations: 8 kB / 0.8129 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.4093, allocations: 11.98 kB / 0.8129 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004705/0.4097, allocations: 172.9 kB / 0.813 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000407/0.4102, allocations: 266.6 kB / 0.8133 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001714/0.4103, allocations: 24.45 kB / 0.8133 GB, free: 23.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.4104, allocations: 87.34 kB / 0.8134 GB, free: 23.65 MB / 378.7 MB Notification: Performance of Backend: time 8.51e-07/0.4104, allocations: 8 kB / 0.8134 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.411, allocations: 115.6 kB / 0.8135 GB, free: 23.52 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004034/0.4114, allocations: 0.5643 MB / 0.8141 GB, free: 22.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003467/0.4149, allocations: 0.735 MB / 0.8148 GB, free: 22.18 MB / 378.7 MB