Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.427/2.427, allocations: 287.5 MB / 303.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 181 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008538/0.0008536, allocations: 100.2 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 18.09 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9094/1.107, allocations: 137.2 MB / 1.113 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.108, allocations: 76.42 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002994/1.111, allocations: 0.8299 MB / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/1.111, allocations: 0 / 1.114 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.111, allocations: 0 / 1.114 GB, free: 31.45 MB / 0.698 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.0003131/1.111, allocations: 331.7 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.111, allocations: 7.781 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/1.111, allocations: 10.45 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/1.111, allocations: 164.3 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.111, allocations: 4.344 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/1.111, allocations: 8.922 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/1.111, allocations: 63.97 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.112, allocations: 192 / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.112, allocations: 7.438 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.112, allocations: 1.641 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/1.112, allocations: 102 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/1.112, allocations: 166.6 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/1.112, allocations: 73.39 kB / 1.115 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/1.112, allocations: 40.17 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/1.113, allocations: 406.8 kB / 1.115 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.113, allocations: 30.56 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/1.113, allocations: 0 / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003162/1.113, allocations: 117.8 kB / 1.116 GB, free: 30.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.113, allocations: 55.25 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/1.113, allocations: 95.03 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.113, allocations: 29.33 kB / 1.116 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/1.113, allocations: 84.14 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/1.113, allocations: 24.39 kB / 1.116 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/1.113, allocations: 3.781 kB / 1.116 GB, free: 29.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.113, allocations: 317 kB / 1.116 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/1.113, allocations: 19.16 kB / 1.116 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/1.114, allocations: 19.89 kB / 1.116 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/1.114, allocations: 59.33 kB / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.114, allocations: 0 / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001923/1.114, allocations: 93.02 kB / 1.116 GB, free: 29.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.114, allocations: 11.72 kB / 1.116 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.114, allocations: 3.938 kB / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.114, allocations: 1.625 kB / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/1.114, allocations: 18.34 kB / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.114, allocations: 0 / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/1.114, allocations: 12.8 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.114, allocations: 3.844 kB / 1.116 GB, free: 29.39 MB / 0.698 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.0001282/1.114, allocations: 120.1 kB / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/1.114, allocations: 13.3 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/1.115, allocations: 126.8 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.115, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.115, allocations: 3.969 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.115, allocations: 1.594 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/1.115, allocations: 178.6 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.115, allocations: 0 / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.115, allocations: 18.58 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.115, allocations: 8.812 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.115, allocations: 3.812 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.115, allocations: 1.594 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.115, allocations: 0 / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/1.115, allocations: 117.9 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/1.115, allocations: 88.89 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/1.115, allocations: 3.812 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/1.115, allocations: 1.672 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.116, allocations: 14.34 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.116, allocations: 5.438 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.089e-05/1.116, allocations: 75.28 kB / 1.117 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.116, allocations: 0 / 1.117 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002906/1.116, allocations: 23.31 kB / 1.117 GB, free: 28.77 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/1.116, allocations: 110.7 kB / 1.117 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001995/1.116, allocations: 67.12 kB / 1.117 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.116, allocations: 4 kB / 1.117 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/1.116, allocations: 35.8 kB / 1.117 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/1.117, allocations: 13.38 kB / 1.117 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/1.117, allocations: 140.9 kB / 1.118 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.117, allocations: 0.6886 MB / 1.118 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001718/1.118, allocations: 42.06 kB / 1.118 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/1.118, allocations: 20.48 kB / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.118, allocations: 0 / 1.118 GB, free: 27.82 MB / 0.698 GB Notification: Performance of Templates: time 0.003273/1.121, allocations: 0.5603 MB / 1.119 GB, free: 27.75 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)