Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.979/3.979, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002143/0.002143, allocations: 183.2 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.074/4.074, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 97.91 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007858/0.0007857, allocations: 12.52 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3434, allocations: 106.3 MB / 0.8995 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.683, allocations: 131.9 MB / 1.028 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004245/0.6835, allocations: 83.89 kB / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006689/0.6902, allocations: 1.052 MB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6903, allocations: 0 / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6903, allocations: 0 / 1.029 GB, free: 12.85 MB / 0.6823 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.0008025/0.6912, allocations: 355.4 kB / 1.03 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.6913, allocations: 8.031 kB / 1.03 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.6913, allocations: 12.84 kB / 1.03 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.6916, allocations: 168.3 kB / 1.03 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.6916, allocations: 4.375 kB / 1.03 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.6916, allocations: 4.312 kB / 1.03 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.6921, allocations: 74.2 kB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6921, allocations: 192 / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.6922, allocations: 3.938 kB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.6922, allocations: 4 kB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.693, allocations: 55.95 kB / 1.03 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/0.6938, allocations: 292.6 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.6946, allocations: 62.55 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.6949, allocations: 32.89 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.6955, allocations: 401.5 kB / 1.031 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6955, allocations: 30.56 kB / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 4.438e-06/0.6956, allocations: 0 / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009672/0.6965, allocations: 117.6 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6966, allocations: 51.41 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.6968, allocations: 105.8 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.6969, allocations: 25.7 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.697, allocations: 88.14 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.697, allocations: 3.906 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.697, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.6973, allocations: 322.8 kB / 1.032 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.6975, allocations: 27.98 kB / 1.032 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.6978, allocations: 23.97 kB / 1.032 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.6981, allocations: 27.98 kB / 1.032 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.6981, allocations: 3.938 kB / 1.032 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006434/0.6987, allocations: 89.5 kB / 1.032 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6988, allocations: 8 kB / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-06/0.6988, allocations: 0 / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.6989, allocations: 0 / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6991, allocations: 19.98 kB / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.6991, allocations: 0 / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.6993, allocations: 7.984 kB / 1.032 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.6993, allocations: 4 kB / 1.032 GB, free: 10.16 MB / 0.6823 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.0001622/0.6995, allocations: 113.8 kB / 1.032 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.6996, allocations: 7.938 kB / 1.032 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.7003, allocations: 97.48 kB / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.7003, allocations: 4 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.7003, allocations: 3.984 kB / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7004, allocations: 0 / 1.032 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.7008, allocations: 169.6 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7008, allocations: 4 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.701, allocations: 11.98 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.701, allocations: 4 kB / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7011, allocations: 0 / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7011, allocations: 0 / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7011, allocations: 0 / 1.032 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.7018, allocations: 191.7 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.7019, allocations: 85.14 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.7019, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.7022, allocations: 8 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.7023, allocations: 7.922 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.7023, allocations: 8 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001068/0.7025, allocations: 91.2 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.52e-07/0.7025, allocations: 0 / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000598/0.7031, allocations: 19.94 kB / 1.033 GB, free: 9.242 MB / 0.6823 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.0003211/0.7035, allocations: 115.3 kB / 1.033 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.7041, allocations: 55.95 kB / 1.033 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7041, allocations: 0 / 1.033 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.7044, allocations: 27.98 kB / 1.033 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.705, allocations: 10 kB / 1.033 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.7056, allocations: 140.4 kB / 1.033 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.7061, allocations: 0.6809 MB / 1.034 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.245e-05/0.7062, allocations: 4 kB / 1.034 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.7063, allocations: 15.38 kB / 1.034 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/0.7064, allocations: 0 / 1.034 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of Templates: time 0.005781/0.7122, allocations: 0.6383 MB / 1.034 GB, free: 7.5 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)