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.581/1.581, allocations: 288.4 MB / 304.3 MB, free: 8.184 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.0009069/0.0009069, allocations: 184.5 kB / 372.9 MB, free: 10.14 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.367/1.367, allocations: 205.4 MB / 0.6317 GB, free: 9.902 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.0006843/0.0006843, allocations: 96.19 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003447, allocations: 13.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1967, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.8434, allocations: 138.4 MB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.8437, allocations: 77.25 kB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003152/0.8468, allocations: 1.053 MB / 1.117 GB, free: 32.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8468, allocations: 0 / 1.117 GB, free: 32.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.8469, allocations: 4 kB / 1.117 GB, free: 32.01 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.0004043/0.8473, allocations: 363.6 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.8473, allocations: 7.688 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.8474, allocations: 4.781 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.8475, allocations: 167.4 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.8475, allocations: 4.344 kB / 1.118 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.8476, allocations: 8.125 kB / 1.118 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.8478, allocations: 70.67 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8478, allocations: 192 / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.8478, allocations: 7.75 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8478, allocations: 0 / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.848, allocations: 56.56 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.8485, allocations: 276.6 kB / 1.118 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.8488, allocations: 69.83 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.8489, allocations: 28.77 kB / 1.118 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.8492, allocations: 398.3 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.8493, allocations: 33.56 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8493, allocations: 0 / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003924/0.8497, allocations: 114.6 kB / 1.119 GB, free: 30.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8497, allocations: 57.5 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.8498, allocations: 115.2 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.8499, allocations: 25.7 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.8499, allocations: 94.02 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.8499, allocations: 3.906 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.8499, allocations: 0 / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8501, allocations: 320.4 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.8502, allocations: 25.27 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.8503, allocations: 27.55 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.8504, allocations: 53.42 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8504, allocations: 4 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001983/0.8506, allocations: 93.77 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8507, allocations: 5.469 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8507, allocations: 3.938 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.8507, allocations: 0 / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.031e-05/0.8508, allocations: 19.72 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.8508, allocations: 0 / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.8509, allocations: 14.7 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8509, allocations: 0 / 1.119 GB, free: 29.87 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: 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 7.926e-05/0.851, allocations: 121.4 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.851, allocations: 3.938 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.8512, allocations: 96.53 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8513, allocations: 0 / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8513, allocations: 0 / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8513, allocations: 1.734 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.8514, allocations: 177.8 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8514, allocations: 0 / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.8515, allocations: 22.52 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8515, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.8515, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8515, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8515, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.8518, allocations: 191.6 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.8518, allocations: 79.83 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.8518, allocations: 3.906 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.8519, allocations: 6.062 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.852, allocations: 6.812 kB / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.852, allocations: 0 / 1.12 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.852, allocations: 93.72 kB / 1.12 GB, free: 29.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.852, allocations: 0 / 1.12 GB, free: 29.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002137/0.8523, allocations: 7.75 kB / 1.12 GB, free: 29.19 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: 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.0001842/0.8524, allocations: 117.6 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.8527, allocations: 53.53 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8527, allocations: 7.781 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.8528, allocations: 29.14 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.8531, allocations: 10.14 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.8534, allocations: 125.6 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.8536, allocations: 0.6801 MB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.8537, allocations: 7.594 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.8537, allocations: 11.28 kB / 1.121 GB, free: 28.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8537, allocations: 0 / 1.121 GB, free: 28.26 MB / 0.698 GB Notification: Performance of Templates: time 0.002616/0.8563, allocations: 0.6523 MB / 1.122 GB, free: 28.2 MB / 0.698 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)