Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001351/0.00135, allocations: 181.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0008641/0.0008639, allocations: 94.39 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 20.95 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8869/1.092, allocations: 138.2 MB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.093, allocations: 74.03 kB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004632/1.097, allocations: 1.053 MB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/1.097, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.097, allocations: 0 / 1.115 GB, free: 31.54 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.0004929/1.098, allocations: 363.7 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.098, allocations: 7.688 kB / 1.116 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/1.098, allocations: 8.781 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.098, allocations: 166 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/1.098, allocations: 4.25 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.098, allocations: 7.312 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/1.098, allocations: 69.97 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.098, allocations: 4.188 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.098, allocations: 3.938 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.098, allocations: 0 / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/1.099, allocations: 58.59 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/1.099, allocations: 279.9 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/1.1, allocations: 59.05 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/1.1, allocations: 37.25 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/1.1, allocations: 398.5 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.1, allocations: 34.41 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/1.1, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005933/1.101, allocations: 116 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.101, allocations: 51.41 kB / 1.117 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/1.101, allocations: 111.7 kB / 1.117 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/1.101, allocations: 25.7 kB / 1.117 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/1.101, allocations: 84.69 kB / 1.117 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/1.101, allocations: 11.69 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/1.101, allocations: 6.75 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.101, allocations: 320 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.102, allocations: 25.47 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/1.102, allocations: 23.91 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/1.102, allocations: 57.47 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.102, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003946/1.102, allocations: 92.3 kB / 1.118 GB, free: 29.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.102, allocations: 3.875 kB / 1.118 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.102, allocations: 3.984 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.102, allocations: 3.875 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.103, allocations: 12.19 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.103, allocations: 0.5469 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.103, allocations: 18.92 kB / 1.118 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.103, allocations: 4 kB / 1.118 GB, free: 29.39 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 9.174e-05/1.103, allocations: 117.6 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/1.103, allocations: 1.594 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/1.103, allocations: 101.5 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.103, allocations: 0 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.103, allocations: 0 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.103, allocations: 1.453 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.104, allocations: 176.6 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.104, allocations: 4 kB / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.104, allocations: 15.23 kB / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.104, allocations: 0 / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/1.104, allocations: 0 / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.104, allocations: 0 / 1.118 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.104, allocations: 7.938 kB / 1.118 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/1.104, allocations: 188.6 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/1.104, allocations: 78.38 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/1.104, allocations: 7.844 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.104, allocations: 10.27 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/1.105, allocations: 10.92 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/1.105, allocations: 0 / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.877e-05/1.105, allocations: 91.67 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.105, allocations: 0 / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003226/1.105, allocations: 16.53 kB / 1.119 GB, free: 28.7 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.0001893/1.105, allocations: 107.1 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003611/1.106, allocations: 55.23 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.106, allocations: 0 / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/1.106, allocations: 36.36 kB / 1.119 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.106, allocations: 7.875 kB / 1.119 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/1.107, allocations: 127.5 kB / 1.119 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.107, allocations: 0.681 MB / 1.12 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.387e-05/1.107, allocations: 8.062 kB / 1.12 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/1.107, allocations: 8.625 kB / 1.12 GB, free: 27.77 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.107, allocations: 1.312 kB / 1.12 GB, free: 27.77 MB / 0.698 GB Notification: Performance of Templates: time 0.003491/1.11, allocations: 0.6355 MB / 1.12 GB, free: 27.72 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)