Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.972/4.972, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002543/0.002543, allocations: 354.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.201/4.201, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002477/0.002477, allocations: 191.2 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007628/0.000763, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7523, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007737/0.7531, allocations: 317.9 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.7533, allocations: 60.31 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.7534, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.7534, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/0.7534, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.7537, allocations: 11.98 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.7538, allocations: 25.41 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.7538, allocations: 4 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.7538, allocations: 15.92 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.7539, allocations: 11.98 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.7539, allocations: 0.9688 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.754, allocations: 15.98 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.754, allocations: 18.14 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.7541, allocations: 29.7 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.782e-05/0.7541, allocations: 15.97 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7542, allocations: 3.938 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7542, allocations: 0 / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7542, allocations: 0 / 1.462 GB, free: 283.8 MB / 0.8542 GB 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.0002724/0.7545, allocations: 326.8 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.7545, allocations: 11.62 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.7546, allocations: 11.91 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.7546, allocations: 172.1 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.7547, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.7547, allocations: 4.594 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.7549, allocations: 63.7 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7549, allocations: 0.7188 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7549, allocations: 0.5938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7549, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.7551, allocations: 105.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.7553, allocations: 173.6 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.7555, allocations: 82.52 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.7555, allocations: 30.16 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.7558, allocations: 401.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.7559, allocations: 39.66 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.7559, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000296/0.7562, allocations: 115 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.7562, allocations: 55.41 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.007e-05/0.7563, allocations: 97.8 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.7563, allocations: 25.92 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.844e-05/0.7563, allocations: 81.02 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.7563, allocations: 27.59 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-06/0.7564, allocations: 2.844 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.7564, allocations: 322.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.7565, allocations: 19.98 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.7566, allocations: 22.39 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.503e-05/0.7567, allocations: 23.98 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7567, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001755/0.7569, allocations: 97.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7569, allocations: 14.22 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7569, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7569, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.7571, allocations: 23.92 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7571, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.7572, allocations: 3.906 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.7572, allocations: 4.781 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB 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.0001335/0.7573, allocations: 130 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.7573, allocations: 5.203 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.7576, allocations: 122.6 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7577, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.7577, allocations: 0.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.7577, allocations: 81.05 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7577, allocations: 5.484 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.7578, allocations: 8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.7578, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001987/0.758, allocations: 183.2 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002092/0.7582, allocations: 273.8 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.049e-05/0.7583, allocations: 34.27 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.562e-05/0.7583, allocations: 75.28 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Backend: time 7.61e-07/0.7584, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004676/0.7588, allocations: 123.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003028/0.7592, allocations: 0.564 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.003523/0.7627, allocations: 0.7727 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB