Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001578/0.001578, allocations: 180.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007721/0.0007722, allocations: 93.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.97e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6584, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.8509, allocations: 137.6 MB / 1.108 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.8512, allocations: 80.47 kB / 1.108 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001942/0.8531, allocations: 0.8171 MB / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8531, allocations: 4.562 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8532, allocations: 4 kB / 1.108 GB, free: 11.75 MB / 0.7136 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.0003164/0.8535, allocations: 326 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8535, allocations: 8.031 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.8536, allocations: 8.906 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.8537, allocations: 166.6 kB / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.8537, allocations: 0 / 1.109 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.8537, allocations: 4.719 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001705/0.8539, allocations: 99.88 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.854, allocations: 62.23 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.854, allocations: 0.5 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.8541, allocations: 0 / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.8541, allocations: 4.516 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.8542, allocations: 142.8 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.8543, allocations: 71.38 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.8544, allocations: 33.47 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.8547, allocations: 402 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.8548, allocations: 31.56 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.8548, allocations: 1.312 kB / 1.11 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003159/0.8551, allocations: 98.39 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.8551, allocations: 56.19 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.695e-05/0.8552, allocations: 85 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.8552, allocations: 26.77 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.8552, allocations: 84.33 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8553, allocations: 20.28 kB / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.8553, allocations: 0 / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8554, allocations: 323.6 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.8554, allocations: 16.91 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.8555, allocations: 15.98 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.8556, allocations: 36.77 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8556, allocations: 0 / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000217/0.8559, allocations: 81.61 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.8559, allocations: 14.95 kB / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.8559, allocations: 0 / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.8559, allocations: 0 / 1.111 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.856, allocations: 25.39 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.856, allocations: 0 / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.8561, allocations: 3.906 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8561, allocations: 4 kB / 1.111 GB, free: 9.277 MB / 0.7136 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 () * 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 7.012e-05/0.8561, allocations: 115.9 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.8562, allocations: 4 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.8565, allocations: 124.9 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8565, allocations: 1.312 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8565, allocations: 0 / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8565, allocations: 7.984 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.139e-05/0.8566, allocations: 139.5 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8566, allocations: 0 / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.8567, allocations: 19.98 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8567, allocations: 0 / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.8567, allocations: 4.75 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8567, allocations: 0 / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8567, allocations: 5.141 kB / 1.111 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.857, allocations: 122.6 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.857, allocations: 84.36 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.857, allocations: 0 / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.857, allocations: 3.938 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.8571, allocations: 7.984 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.8571, allocations: 7.953 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.8571, allocations: 75.28 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8571, allocations: 0.7812 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002033/0.8573, allocations: 31.86 kB / 1.111 GB, free: 8.465 MB / 0.7136 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 () * 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.0001799/0.8575, allocations: 108.7 kB / 1.111 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.8576, allocations: 56.66 kB / 1.112 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8576, allocations: 0 / 1.112 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.8577, allocations: 33.47 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.8578, allocations: 4 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.858, allocations: 100.8 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.8583, allocations: 0.6846 MB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.8584, allocations: 38.98 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.8584, allocations: 19.38 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8584, allocations: 0 / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of Templates: time 0.002428/0.8608, allocations: 0.5439 MB / 1.113 GB, free: 6.875 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)