Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006803/0.0006803, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004069/0.004069, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 252 MB / 0.5105 GB, free: 4.625 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004496, allocations: 20.5 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005995/0.3757, allocations: 328.6 kB / 0.729 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000239/0.376, allocations: 55.8 kB / 0.7291 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.376, allocations: 0 / 0.7291 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.376, allocations: 4 kB / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.376, allocations: 0 / 0.7291 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3762, allocations: 7.984 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.3763, allocations: 35.91 kB / 0.7291 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.3763, allocations: 7.984 kB / 0.7291 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.3764, allocations: 4 kB / 0.7291 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.585e-05/0.3764, allocations: 15.98 kB / 0.7292 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3764, allocations: 0 / 0.7292 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.3765, allocations: 15.98 kB / 0.7292 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.3765, allocations: 11.98 kB / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.3765, allocations: 45.56 kB / 0.7292 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.3766, allocations: 31.91 kB / 0.7293 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3766, allocations: 0 / 0.7293 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3766, allocations: 4 kB / 0.7293 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.3767, allocations: 0 / 0.7293 GB, free: 10.72 MB / 0.545 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.0002538/0.3769, allocations: 333.4 kB / 0.7296 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.377, allocations: 11.97 kB / 0.7296 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.377, allocations: 0.9375 kB / 0.7296 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.3771, allocations: 172.4 kB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3771, allocations: 4.375 kB / 0.7298 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3771, allocations: 8.375 kB / 0.7298 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3772, allocations: 58.23 kB / 0.7298 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3772, allocations: 192 / 0.7298 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3773, allocations: 3.938 kB / 0.7298 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.3773, allocations: 4 kB / 0.7298 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3774, allocations: 107.8 kB / 0.7299 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.3776, allocations: 173.5 kB / 0.7301 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.3777, allocations: 85.38 kB / 0.7302 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.3777, allocations: 32.84 kB / 0.7302 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.378, allocations: 397.5 kB / 0.7306 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.378, allocations: 38.56 kB / 0.7306 GB, free: 9.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.378, allocations: 0 / 0.7306 GB, free: 9.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002035/0.3783, allocations: 117.5 kB / 0.7307 GB, free: 8.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3783, allocations: 51.41 kB / 0.7308 GB, free: 8.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.061e-05/0.3783, allocations: 97.98 kB / 0.7309 GB, free: 8.777 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3784, allocations: 29.7 kB / 0.7309 GB, free: 8.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.3784, allocations: 88.08 kB / 0.731 GB, free: 8.652 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3784, allocations: 19.75 kB / 0.731 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.3784, allocations: 21.7 kB / 0.731 GB, free: 8.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.3785, allocations: 314.8 kB / 0.7313 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.102e-05/0.3786, allocations: 15.98 kB / 0.7314 GB, free: 8.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.3786, allocations: 19.98 kB / 0.7314 GB, free: 8.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.3787, allocations: 60.83 kB / 0.7314 GB, free: 8.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3787, allocations: 0 / 0.7314 GB, free: 8.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001232/0.3788, allocations: 101.5 kB / 0.7315 GB, free: 8.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3788, allocations: 12 kB / 0.7315 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3789, allocations: 3.938 kB / 0.7315 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.3789, allocations: 0 / 0.7315 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.379, allocations: 19.98 kB / 0.7316 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.379, allocations: 0 / 0.7316 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.379, allocations: 7.984 kB / 0.7316 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.379, allocations: 4 kB / 0.7316 GB, free: 8.039 MB / 0.545 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3791, allocations: 125.8 kB / 0.7317 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.3791, allocations: 7.906 kB / 0.7317 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3793, allocations: 126.3 kB / 0.7318 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3794, allocations: 3.938 kB / 0.7318 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3794, allocations: 3.984 kB / 0.7318 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3794, allocations: 3.938 kB / 0.7318 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3795, allocations: 173.6 kB / 0.732 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3795, allocations: 4 kB / 0.732 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.3796, allocations: 19.92 kB / 0.732 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3796, allocations: 11.94 kB / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3796, allocations: 0 / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3796, allocations: 0 / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3796, allocations: 0 / 0.732 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.3797, allocations: 125 kB / 0.7322 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.3798, allocations: 81.05 kB / 0.7322 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3798, allocations: 4 kB / 0.7322 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.3798, allocations: 0 / 0.7322 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.3798, allocations: 15.98 kB / 0.7323 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3798, allocations: 0 / 0.7323 GB, free: 7.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.3799, allocations: 75.28 kB / 0.7323 GB, free: 7.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3799, allocations: 3.938 kB / 0.7323 GB, free: 7.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001881/0.3801, allocations: 19.98 kB / 0.7323 GB, free: 7.145 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.3802, allocations: 115.2 kB / 0.7325 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3803, allocations: 59.95 kB / 0.7325 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3804, allocations: 4 kB / 0.7325 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.3804, allocations: 35.92 kB / 0.7326 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.3805, allocations: 8.688 kB / 0.7326 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.3807, allocations: 162.6 kB / 0.7327 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.3809, allocations: 0.6809 MB / 0.7334 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.771e-05/0.381, allocations: 43.8 kB / 0.7334 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.381, allocations: 15.42 kB / 0.7334 GB, free: 5.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.381, allocations: 0 / 0.7334 GB, free: 5.969 MB / 0.545 GB Notification: Performance of Templates: time 0.002126/0.3832, allocations: 0.5828 MB / 0.734 GB, free: 5.387 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: