Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.961/2.961, allocations: 287.5 MB / 302.4 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002179, allocations: 171.9 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 90.8 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006712/0.0006711, allocations: 11.55 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2379, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9262/1.164, allocations: 138.2 MB / 1.113 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.165, allocations: 72 kB / 1.113 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004822/1.169, allocations: 1.047 MB / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.169, allocations: 0 / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.169, allocations: 4 kB / 1.114 GB, free: 31.37 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.0005536/1.17, allocations: 356.4 kB / 1.115 GB, free: 31.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.17, allocations: 11.67 kB / 1.115 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/1.17, allocations: 11.73 kB / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.17, allocations: 168.6 kB / 1.115 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/1.17, allocations: 6.781 kB / 1.115 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/1.17, allocations: 3.938 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/1.171, allocations: 71.08 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.171, allocations: 0 / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.171, allocations: 3.562 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/1.171, allocations: 0 / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/1.171, allocations: 55.89 kB / 1.115 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/1.172, allocations: 286.8 kB / 1.115 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/1.172, allocations: 63.17 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/1.172, allocations: 398.9 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.172, allocations: 35.12 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/1.172, allocations: 0 / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000618/1.173, allocations: 112.2 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.173, allocations: 56.89 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/1.173, allocations: 106.9 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.173, allocations: 25.7 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/1.173, allocations: 87.39 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/1.173, allocations: 13.2 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/1.173, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.174, allocations: 316.3 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.174, allocations: 20.12 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/1.174, allocations: 25.75 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/1.174, allocations: 30.91 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.174, allocations: 0 / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003834/1.174, allocations: 87.59 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.174, allocations: 7.906 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.175, allocations: 5.031 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.175, allocations: 0 / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/1.175, allocations: 11.83 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.175, allocations: 0 / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.175, allocations: 9.5 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.175, allocations: 9.406 kB / 1.117 GB, free: 29.26 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 0.0001033/1.175, allocations: 116.9 kB / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/1.175, allocations: 3.906 kB / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/1.176, allocations: 97.67 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.176, allocations: 2.766 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.176, allocations: 4 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.176, allocations: 4.031 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.176, allocations: 172.2 kB / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.176, allocations: 0 / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.176, allocations: 14.55 kB / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/1.176, allocations: 0 / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.176, allocations: 0 / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.176, allocations: 3.938 kB / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.176, allocations: 0 / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/1.176, allocations: 190.9 kB / 1.117 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/1.176, allocations: 84.95 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.177, allocations: 10.08 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.177, allocations: 7.844 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/1.177, allocations: 6.641 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.177, allocations: 2.812 kB / 1.117 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.92e-05/1.177, allocations: 93.12 kB / 1.118 GB, free: 28.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.177, allocations: 0 / 1.118 GB, free: 28.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003419/1.177, allocations: 17.16 kB / 1.118 GB, free: 28.56 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.0001907/1.177, allocations: 102.5 kB / 1.118 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003845/1.178, allocations: 58.33 kB / 1.118 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.178, allocations: 0 / 1.118 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/1.178, allocations: 34.5 kB / 1.118 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/1.178, allocations: 11.86 kB / 1.118 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/1.179, allocations: 125.7 kB / 1.118 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.179, allocations: 0.6821 MB / 1.119 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.032e-05/1.179, allocations: 3.812 kB / 1.119 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/1.179, allocations: 15.31 kB / 1.119 GB, free: 27.64 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.179, allocations: 0 / 1.119 GB, free: 27.64 MB / 0.698 GB Notification: Performance of Templates: time 0.003451/1.183, allocations: 0.6346 MB / 1.119 GB, free: 27.58 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)