Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001799/0.001799, allocations: 192.3 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.88 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3167, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001931/0.3187, allocations: 0.6511 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000276/0.319, allocations: 63.72 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.319, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.3191, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.3191, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.3194, allocations: 19.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.3195, allocations: 23.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.3195, allocations: 8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.3196, allocations: 8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.3196, allocations: 23.91 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3196, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.3197, allocations: 11.98 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.3197, allocations: 15.94 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.3198, allocations: 19.91 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.3199, allocations: 35.89 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8262 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.000318/0.3202, allocations: 331.6 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3203, allocations: 8.031 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3203, allocations: 8.844 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.3204, allocations: 172.6 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3204, allocations: 8.375 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3204, allocations: 4.375 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3206, allocations: 60.41 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3206, allocations: 4.125 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3206, allocations: 3.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3206, allocations: 4 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3208, allocations: 107.8 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3209, allocations: 165.7 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3211, allocations: 74.53 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.3211, allocations: 40.78 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.3214, allocations: 397.5 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3215, allocations: 42.5 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3215, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0002347/0.3217, allocations: 121.8 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3218, allocations: 55.41 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.3218, allocations: 93.86 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3218, allocations: 25.7 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.3219, allocations: 80.14 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3219, allocations: 27.64 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3219, allocations: 33.7 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3221, allocations: 318.8 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.3221, allocations: 19.98 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.3221, allocations: 19.98 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.3222, allocations: 60.78 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3222, allocations: 0 / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001318/0.3224, allocations: 98.25 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3224, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3224, allocations: 7.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3224, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.3225, allocations: 23.98 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3225, allocations: 0 / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.3226, allocations: 3.906 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3226, allocations: 7.938 kB / 1.071 GB, free: 7.23 MB / 0.8262 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.0001242/0.3227, allocations: 125.2 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.3227, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3229, allocations: 137.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3229, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.323, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.323, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3231, allocations: 169.6 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3231, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.3232, allocations: 23.94 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3232, allocations: 7.922 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3232, allocations: 8 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3232, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3232, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3234, allocations: 121 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.3234, allocations: 88.95 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3234, allocations: 4 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.3234, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.3235, allocations: 7.984 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3235, allocations: 7.938 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.3235, allocations: 79.22 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3235, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000197/0.3237, allocations: 16 kB / 1.072 GB, free: 6.34 MB / 0.8262 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.0001886/0.3239, allocations: 115.2 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.3241, allocations: 71.91 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3241, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.3242, allocations: 35.98 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3243, allocations: 0 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3246, allocations: 176.7 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3248, allocations: 0.6807 MB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.061e-05/0.3249, allocations: 47.56 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3249, allocations: 11.44 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3249, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Templates: time 0.003282/0.3282, allocations: 0.6119 MB / 1.073 GB, free: 4.539 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)