Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.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.675/1.675, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001102/0.001102, allocations: 185 kB / 377.1 MB, free: 1.516 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.689/1.689, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.001117/0.001118, allocations: 96.77 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003526, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3098, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6931/1.003, allocations: 139.4 MB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.003, allocations: 74.31 kB / 1.125 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002866/1.006, allocations: 1.046 MB / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.323e-06/1.006, allocations: 0 / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.006, allocations: 4 kB / 1.126 GB, free: 34.44 MB / 0.7292 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.0003632/1.006, allocations: 357.7 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.007, allocations: 15.95 kB / 1.126 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/1.007, allocations: 8 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/1.007, allocations: 162.4 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.007, allocations: 4 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/1.007, allocations: 3.938 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.007, allocations: 75.34 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.007, allocations: 0.9375 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.007, allocations: 3.469 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.007, allocations: 4 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/1.007, allocations: 50.27 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/1.008, allocations: 283.8 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/1.008, allocations: 63.48 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/1.008, allocations: 400.6 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/1.008, allocations: 35.41 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/1.008, allocations: 0 / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003745/1.009, allocations: 110.7 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/1.009, allocations: 51.41 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/1.009, allocations: 113.1 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.009, allocations: 29.7 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/1.009, allocations: 83.47 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/1.009, allocations: 11.84 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/1.009, allocations: 0 / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/1.009, allocations: 319.4 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/1.009, allocations: 26.8 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/1.009, allocations: 31.36 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/1.009, allocations: 15.33 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.009, allocations: 4 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/1.009, allocations: 91.52 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.009, allocations: 4.562 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.009, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.009, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/1.009, allocations: 16.12 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.009, allocations: 0.7031 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/1.009, allocations: 16 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/1.01, allocations: 0.6562 kB / 1.128 GB, free: 31.95 MB / 0.7292 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 () * Number of clocked 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 6.44e-05/1.01, allocations: 117.3 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.01, allocations: 7.906 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/1.01, allocations: 96.05 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.01, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.01, allocations: 4.297 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.01, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/1.01, allocations: 177.2 kB / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.01, allocations: 0 / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/1.01, allocations: 15.56 kB / 1.128 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.01, allocations: 0.5625 kB / 1.128 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/1.01, allocations: 4 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.01, allocations: 0 / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.01, allocations: 3.938 kB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/1.01, allocations: 190.9 kB / 1.128 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/1.01, allocations: 84.91 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.01, allocations: 0 / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/1.011, allocations: 11.52 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/1.011, allocations: 4.5 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.011, allocations: 7.469 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.038e-05/1.011, allocations: 80.45 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0.5625 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002209/1.011, allocations: 20 kB / 1.129 GB, free: 31.1 MB / 0.7292 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 () * Number of clocked 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.0001685/1.011, allocations: 118.3 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002286/1.011, allocations: 54.06 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.011, allocations: 0 / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/1.011, allocations: 27.52 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/1.012, allocations: 15.94 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/1.012, allocations: 121.7 kB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/1.012, allocations: 0.6917 MB / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.523e-05/1.012, allocations: 5.625 kB / 1.13 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/1.012, allocations: 7.438 kB / 1.13 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.012, allocations: 0 / 1.13 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.002998/1.015, allocations: 0.6234 MB / 1.13 GB, free: 29.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)