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.728/1.728, allocations: 289.7 MB / 302.3 MB, free: 2.199 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.001148/0.001148, allocations: 182 kB / 371.6 MB, free: 3.383 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.913/1.913, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008872/0.0008872, allocations: 87.66 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.305e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2864, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9831/1.27, allocations: 139.3 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.27, allocations: 76.2 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003204/1.273, allocations: 1.038 MB / 1.117 GB, free: 43.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.865e-06/1.273, allocations: 0 / 1.117 GB, free: 43.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.273, allocations: 0.5 kB / 1.117 GB, free: 43.74 MB / 0.7448 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.0003709/1.274, allocations: 355.6 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.274, allocations: 9.531 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.274, allocations: 2.531 kB / 1.117 GB, free: 43.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.274, allocations: 165.4 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/1.274, allocations: 5.031 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/1.274, allocations: 7.266 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/1.274, allocations: 51.97 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.274, allocations: 0 / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.274, allocations: 0.75 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/1.274, allocations: 0 / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/1.274, allocations: 25.02 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/1.275, allocations: 291.9 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/1.275, allocations: 48.56 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/1.275, allocations: 20.41 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/1.275, allocations: 400.2 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/1.275, allocations: 33.09 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/1.275, allocations: 0 / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/1.275, allocations: 49.52 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/1.275, allocations: 55.41 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/1.275, allocations: 100.9 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/1.275, allocations: 29.7 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/1.275, allocations: 84.02 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/1.275, allocations: 7.906 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.275, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.275, allocations: 323.2 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/1.276, allocations: 11.17 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/1.276, allocations: 4 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/1.276, allocations: 12.53 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.276, allocations: 0 / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.434e-05/1.276, allocations: 56.12 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.276, allocations: 8 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.276, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.276, allocations: 3.5 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/1.276, allocations: 12.16 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.276, allocations: 4.75 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/1.276, allocations: 7.516 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.276, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 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 6.337e-05/1.276, allocations: 120 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/1.276, allocations: 3.469 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/1.276, allocations: 64.06 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.276, allocations: 0 / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.276, allocations: 0.625 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.276, allocations: 0.6562 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/1.276, allocations: 172.3 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.276, allocations: 0 / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/1.276, allocations: 19.92 kB / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.276, allocations: 0 / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/1.276, allocations: 0 / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.277, allocations: 4.125 kB / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.277, allocations: 0.75 kB / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/1.277, allocations: 150.3 kB / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/1.277, allocations: 77.11 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/1.277, allocations: 4 kB / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/1.277, allocations: 11.38 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.277, allocations: 11.44 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.277, allocations: 0.625 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.277e-05/1.277, allocations: 91.8 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.277, allocations: 0.5625 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002519/1.277, allocations: 23.36 kB / 1.12 GB, free: 40.73 MB / 0.7448 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.0001646/1.277, allocations: 103.8 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/1.277, allocations: 31.23 kB / 1.12 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.277, allocations: 0 / 1.12 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.903e-05/1.277, allocations: 11.94 kB / 1.12 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/1.278, allocations: 4.594 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/1.278, allocations: 73.61 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/1.278, allocations: 0.6804 MB / 1.121 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.56e-05/1.278, allocations: 13.08 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/1.278, allocations: 7.438 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.278, allocations: 0 / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.002842/1.281, allocations: 0.6439 MB / 1.121 GB, free: 39.45 MB / 0.7448 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)