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.002527/0.002533, allocations: 357.1 kB / 16.59 MB, free: 5.57 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.417/1.417, allocations: 165.8 MB / 183.1 MB, free: 5.426 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.687/3.687, allocations: 410.8 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.00182/0.00182, allocations: 202 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004525, allocations: 16 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3951, allocations: 67.45 MB / 0.8088 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006589/0.3958, allocations: 303.3 kB / 0.809 GB, free: 28.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.3961, allocations: 51.83 kB / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.3961, allocations: 0 / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.3962, allocations: 0 / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.3962, allocations: 0 / 0.8091 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.3964, allocations: 11.98 kB / 0.8091 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.3965, allocations: 31.91 kB / 0.8091 GB, free: 28.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3965, allocations: 4 kB / 0.8091 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.3966, allocations: 8 kB / 0.8092 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.3966, allocations: 19.91 kB / 0.8092 GB, free: 28.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3966, allocations: 4 kB / 0.8092 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.3967, allocations: 15.98 kB / 0.8092 GB, free: 28.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.3968, allocations: 4 kB / 0.8092 GB, free: 28.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.3968, allocations: 29.7 kB / 0.8092 GB, free: 28.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.598e-05/0.3969, allocations: 23.95 kB / 0.8092 GB, free: 28.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3969, allocations: 0 / 0.8092 GB, free: 28.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3969, allocations: 0 / 0.8092 GB, free: 28.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3969, allocations: 0 / 0.8092 GB, free: 28.3 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.0002572/0.3972, allocations: 329.5 kB / 0.8096 GB, free: 27.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3972, allocations: 8.031 kB / 0.8096 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3973, allocations: 11.91 kB / 0.8096 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.761e-05/0.3973, allocations: 163 kB / 0.8097 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3973, allocations: 0 / 0.8097 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3974, allocations: 4 kB / 0.8097 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3975, allocations: 65.59 kB / 0.8098 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3976, allocations: 4 kB / 0.8098 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3976, allocations: 7.953 kB / 0.8098 GB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3976, allocations: 7.875 kB / 0.8098 GB, free: 27.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3978, allocations: 107.9 kB / 0.8099 GB, free: 27.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.398, allocations: 169.6 kB / 0.8101 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3981, allocations: 78.47 kB / 0.8102 GB, free: 27.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.3982, allocations: 24.84 kB / 0.8102 GB, free: 27.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.3984, allocations: 405.5 kB / 0.8106 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.3985, allocations: 34.56 kB / 0.8106 GB, free: 26.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3985, allocations: 0 / 0.8106 GB, free: 26.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002818/0.3988, allocations: 117.8 kB / 0.8107 GB, free: 26.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.3988, allocations: 67.34 kB / 0.8108 GB, free: 26.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.509e-05/0.3988, allocations: 89.86 kB / 0.8109 GB, free: 26.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3989, allocations: 25.7 kB / 0.8109 GB, free: 26.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.3989, allocations: 84.33 kB / 0.811 GB, free: 26.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3989, allocations: 19.66 kB / 0.811 GB, free: 26.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.3989, allocations: 4 kB / 0.811 GB, free: 26.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.399, allocations: 318.8 kB / 0.8113 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.3991, allocations: 23.98 kB / 0.8113 GB, free: 25.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.3991, allocations: 19.98 kB / 0.8113 GB, free: 25.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.3992, allocations: 24 kB / 0.8114 GB, free: 25.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3992, allocations: 0 / 0.8114 GB, free: 25.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001749/0.3994, allocations: 89.59 kB / 0.8114 GB, free: 25.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3994, allocations: 6.812 kB / 0.8115 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3994, allocations: 4 kB / 0.8115 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3995, allocations: 0 / 0.8115 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3996, allocations: 23.92 kB / 0.8115 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3996, allocations: 0 / 0.8115 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.3997, allocations: 19.86 kB / 0.8115 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3997, allocations: 4 kB / 0.8115 GB, free: 25.68 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.0001088/0.3998, allocations: 121.8 kB / 0.8116 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3998, allocations: 0 / 0.8116 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.4001, allocations: 122.3 kB / 0.8117 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4002, allocations: 0 / 0.8117 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4002, allocations: 8 kB / 0.8117 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.4002, allocations: 89.03 kB / 0.8118 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4002, allocations: 7.953 kB / 0.8118 GB, free: 25.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.4003, allocations: 0 / 0.8118 GB, free: 25.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.4003, allocations: 11.98 kB / 0.8118 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001918/0.4005, allocations: 177 kB / 0.812 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002032/0.4007, allocations: 274.6 kB / 0.8123 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.647e-05/0.4008, allocations: 31.92 kB / 0.8123 GB, free: 24.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.376e-05/0.4008, allocations: 75.28 kB / 0.8124 GB, free: 24.73 MB / 378.7 MB Notification: Performance of Backend: time 4.41e-07/0.4008, allocations: 0 / 0.8124 GB, free: 24.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.4013, allocations: 122.4 kB / 0.8125 GB, free: 24.6 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002917/0.4016, allocations: 0.5782 MB / 0.8131 GB, free: 23.97 MB / 378.7 MB Notification: Performance of Templates: time 0.003553/0.4052, allocations: 0.7547 MB / 0.8138 GB, free: 23.22 MB / 378.7 MB