Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008042/0.0008042, allocations: 97.33 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.005276/0.005276, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12.09 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007433/0.3009, allocations: 318.9 kB / 1.074 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.3013, allocations: 59.78 kB / 1.075 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.3013, allocations: 3.938 kB / 1.075 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.3013, allocations: 0 / 1.075 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.3013, allocations: 0 / 1.075 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3016, allocations: 15.98 kB / 1.075 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.3017, allocations: 27.97 kB / 1.075 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.3017, allocations: 4 kB / 1.075 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.3018, allocations: 11.98 kB / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.3018, allocations: 7.984 kB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3018, allocations: 7.938 kB / 1.075 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.3019, allocations: 15.98 kB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.3019, allocations: 11.98 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.302, allocations: 41.56 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3021, allocations: 35.89 kB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3021, allocations: 4 kB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3021, allocations: 0 / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3021, allocations: 0 / 1.075 GB, free: 7.027 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.0003611/0.3025, allocations: 323.6 kB / 1.075 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3026, allocations: 12.03 kB / 1.075 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3026, allocations: 4.844 kB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3027, allocations: 164.6 kB / 1.075 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3028, allocations: 8.375 kB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3028, allocations: 4.375 kB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3029, allocations: 66.22 kB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.303, allocations: 4.125 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.303, allocations: 7.875 kB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.303, allocations: 4 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3031, allocations: 95.88 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3034, allocations: 173.6 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3035, allocations: 70.55 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.3035, allocations: 35.02 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.3039, allocations: 409.5 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.304, allocations: 38.5 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.304, allocations: 4 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0002553/0.3042, allocations: 117.8 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3043, allocations: 55.41 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.286e-05/0.3043, allocations: 97.84 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3043, allocations: 25.7 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.3044, allocations: 80.14 kB / 1.076 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.3044, allocations: 27.66 kB / 1.076 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.3045, allocations: 21.72 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3046, allocations: 318.8 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.3046, allocations: 19.98 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.3047, allocations: 19.98 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-05/0.3048, allocations: 60.77 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3048, allocations: 0 / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001294/0.3049, allocations: 94.27 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3049, allocations: 4 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3049, allocations: 7.938 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.305, allocations: 4 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.3051, allocations: 15.98 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3051, allocations: 4 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.3051, allocations: 3.906 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3051, allocations: 4 kB / 1.077 GB, free: 4.355 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.0001421/0.3053, allocations: 125.8 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.3053, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.3055, allocations: 137.5 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3055, allocations: 7.984 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3055, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3055, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3057, allocations: 177.5 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3057, allocations: 0 / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.3057, allocations: 23.92 kB / 1.077 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3057, allocations: 3.938 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3058, allocations: 11.94 kB / 1.077 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3058, allocations: 4 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3058, allocations: 0 / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3059, allocations: 113.1 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.306, allocations: 88.95 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.306, allocations: 4 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.306, allocations: 3.938 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3061, allocations: 7.984 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.3061, allocations: 8 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.3061, allocations: 79.22 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3061, allocations: 0 / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001945/0.3063, allocations: 16 kB / 1.078 GB, free: 3.453 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.0001699/0.3065, allocations: 115.2 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3066, allocations: 55.97 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3066, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.3067, allocations: 43.92 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3068, allocations: 7.922 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.3071, allocations: 154.7 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3073, allocations: 0.6809 MB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.715e-05/0.3074, allocations: 47.56 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.3074, allocations: 15.44 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3074, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Templates: time 0.002673/0.3101, allocations: 0.579 MB / 1.079 GB, free: 1.699 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)