Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001236/0.001236, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.546/1.546, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0007998/0.0007997, allocations: 94.52 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.313e-05, allocations: 4 kB / 0.8517 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7473, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.9486, allocations: 137.6 MB / 1.099 GB, free: 2.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.9489, allocations: 71.95 kB / 1.099 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003291/0.9522, allocations: 1.056 MB / 1.1 GB, free: 1.125 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9522, allocations: 1.125 kB / 1.1 GB, free: 1.125 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.9522, allocations: 0.5 kB / 1.1 GB, free: 1.125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004409/0.9527, allocations: 344.1 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.9528, allocations: 9.781 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.9528, allocations: 8.938 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.953, allocations: 163 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.953, allocations: 11.92 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.9531, allocations: 3.094 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.9532, allocations: 20.59 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.9533, allocations: 50.25 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9533, allocations: 1.406 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.9533, allocations: 0 / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9533, allocations: 3.094 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.9538, allocations: 254.7 kB / 1.101 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.9541, allocations: 39.75 kB / 1.101 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.9541, allocations: 21.53 kB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.9545, allocations: 398.2 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.9545, allocations: 35.22 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.9545, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002515/0.9548, allocations: 50.31 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.9549, allocations: 52.12 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.9549, allocations: 93.88 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.955, allocations: 25.7 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.955, allocations: 92.56 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.9551, allocations: 8.594 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.9551, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9552, allocations: 319.4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.9552, allocations: 10.25 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.9553, allocations: 8 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.9553, allocations: 15.92 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9553, allocations: 0 / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001108/0.9555, allocations: 45.69 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9555, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9555, allocations: 5.75 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.9555, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.9556, allocations: 11.98 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.9557, allocations: 0.5312 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.9557, allocations: 12.86 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.9557, allocations: 1.5 kB / 1.102 GB, free: 14.79 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.31e-05/0.9558, allocations: 112 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.9559, allocations: 6.953 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.956, allocations: 57.73 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9561, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9561, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9561, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.9562, allocations: 162.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9563, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.9563, allocations: 12 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.9564, allocations: 3.984 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.9564, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.9564, allocations: 3.375 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9564, allocations: 3.625 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.9566, allocations: 146.1 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.9566, allocations: 81.06 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.9566, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.9567, allocations: 11.98 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.9568, allocations: 19.86 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.9568, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.9569, allocations: 83.28 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9569, allocations: 0 / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002305/0.9571, allocations: 11.94 kB / 1.103 GB, free: 14.02 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00021/0.9573, allocations: 115 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.51e-05/0.9574, allocations: 20 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9574, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.9575, allocations: 13.41 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.9577, allocations: 15.73 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.9579, allocations: 70.33 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.9583, allocations: 0.6807 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.9583, allocations: 6.578 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.9584, allocations: 11.42 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9584, allocations: 7.938 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.002893/0.9613, allocations: 0.5854 MB / 1.104 GB, free: 12.48 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)