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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 293 MB / 309 MB, free: 4.812 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.001074/0.001074, allocations: 176.2 kB / 378.7 MB, free: 1.02 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.455/1.455, allocations: 205.4 MB / 0.6383 GB, free: 9.102 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.0007499/0.0007498, allocations: 88.59 kB / 0.7527 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 20 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5783/0.7993, allocations: 139.4 MB / 1.127 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.7996, allocations: 72.03 kB / 1.127 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002601/0.8022, allocations: 1.057 MB / 1.128 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8023, allocations: 0 / 1.128 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8023, allocations: 1.062 kB / 1.128 GB, free: 33.67 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.000308/0.8026, allocations: 359.2 kB / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8026, allocations: 15.55 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.8027, allocations: 0.9375 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.734e-05/0.8027, allocations: 169.5 kB / 1.128 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8028, allocations: 4.375 kB / 1.128 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.8028, allocations: 5.188 kB / 1.128 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.8029, allocations: 68.72 kB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.803, allocations: 192 / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.803, allocations: 3.938 kB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.803, allocations: 4 kB / 1.128 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.8032, allocations: 62.52 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.8035, allocations: 278.5 kB / 1.129 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.8037, allocations: 65.16 kB / 1.129 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.8038, allocations: 36.05 kB / 1.129 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.804, allocations: 397.2 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.804, allocations: 32.53 kB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.804, allocations: 0 / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003429/0.8044, allocations: 118.4 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.8044, allocations: 51.41 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.8045, allocations: 106 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.8045, allocations: 29.7 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.8045, allocations: 92.08 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.8046, allocations: 7.844 kB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.8046, allocations: 0 / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.8046, allocations: 327 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.8047, allocations: 19.47 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.8048, allocations: 27.03 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.805, allocations: 55.97 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.805, allocations: 0 / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001977/0.8052, allocations: 92.16 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8052, allocations: 4.656 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8052, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8052, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.8053, allocations: 19.41 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8053, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.8054, allocations: 16.16 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.8054, allocations: 4 kB / 1.13 GB, free: 31.1 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 5.594e-05/0.8055, allocations: 118.8 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.8055, allocations: 4 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.8057, allocations: 95.69 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8057, allocations: 0 / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8057, allocations: 0 / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8058, allocations: 0 / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.8059, allocations: 177.1 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8059, allocations: 0 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.806, allocations: 19.27 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.806, allocations: 7.938 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.806, allocations: 1.266 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.806, allocations: 0 / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.806, allocations: 0 / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.8062, allocations: 193.8 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.8063, allocations: 78.41 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.8063, allocations: 3.422 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.8064, allocations: 8 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.8064, allocations: 3.469 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.8064, allocations: 4 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.641e-05/0.8065, allocations: 87.91 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8065, allocations: 0 / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002131/0.8067, allocations: 20.56 kB / 1.131 GB, free: 30.25 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.0001241/0.8068, allocations: 106.7 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.807, allocations: 54.95 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.807, allocations: 0 / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.8071, allocations: 34.84 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.8074, allocations: 15.27 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.8077, allocations: 125.7 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.8078, allocations: 0.6844 MB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.8078, allocations: 0 / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.8079, allocations: 11.44 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8079, allocations: 0 / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.002606/0.8105, allocations: 0.6424 MB / 1.132 GB, free: 28.86 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)