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.724/1.724, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001145/0.001145, allocations: 189 kB / 371.9 MB, free: 10.28 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.759/1.759, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009355/0.0009355, allocations: 110.8 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004371, allocations: 24.27 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7391/0.9862, allocations: 138.4 MB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.9865, allocations: 74.08 kB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003392/0.9899, allocations: 1.041 MB / 1.116 GB, free: 32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9899, allocations: 3.844 kB / 1.116 GB, free: 32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.99, allocations: 0 / 1.116 GB, free: 32 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.0004068/0.9904, allocations: 362.2 kB / 1.116 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.9904, allocations: 15.45 kB / 1.116 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.9905, allocations: 1.781 kB / 1.116 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.9906, allocations: 174.3 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.9906, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9906, allocations: 3.75 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.9908, allocations: 71.16 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9909, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.9909, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9909, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.9911, allocations: 62.27 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.9915, allocations: 289.7 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.9918, allocations: 58.94 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.9921, allocations: 399 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.9921, allocations: 34.56 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9921, allocations: 0 / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000363/0.9925, allocations: 118 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.9925, allocations: 51.41 kB / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.9926, allocations: 103.6 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.9926, allocations: 29.64 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9927, allocations: 87.98 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.9927, allocations: 3.906 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.9927, allocations: 3.938 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9928, allocations: 321.3 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.9929, allocations: 29.02 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.993, allocations: 24.48 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/0.9931, allocations: 21.08 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9931, allocations: 4 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001977/0.9933, allocations: 86.31 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.9933, allocations: 7.656 kB / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.9933, allocations: 0 / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9933, allocations: 0 / 1.118 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.9934, allocations: 14.94 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.9934, allocations: 3.844 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.9935, allocations: 6.672 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.9935, allocations: 7.875 kB / 1.118 GB, free: 29.89 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.806e-05/0.9936, allocations: 113.4 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.9936, allocations: 7.75 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.9939, allocations: 99.48 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.9939, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9939, allocations: 2.688 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9939, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.9941, allocations: 170.8 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9941, allocations: 3.938 kB / 1.118 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.9941, allocations: 22.81 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.9942, allocations: 3.938 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.9942, allocations: 0 / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.9942, allocations: 0 / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9942, allocations: 3.906 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.9944, allocations: 182.6 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.9945, allocations: 84.89 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.9945, allocations: 48 / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.9946, allocations: 10.55 kB / 1.119 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.9947, allocations: 14.81 kB / 1.119 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.9947, allocations: 3.812 kB / 1.119 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.9947, allocations: 90.47 kB / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9947, allocations: 0 / 1.119 GB, free: 29.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002285/0.995, allocations: 9 kB / 1.119 GB, free: 29.2 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.0001871/0.9952, allocations: 112.4 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.9954, allocations: 58.44 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9954, allocations: 0 / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.9955, allocations: 30.48 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.9957, allocations: 10.36 kB / 1.119 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.996, allocations: 130.1 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.9963, allocations: 0.6825 MB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.9964, allocations: 7.609 kB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.9964, allocations: 7.438 kB / 1.12 GB, free: 28.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9964, allocations: 0 / 1.12 GB, free: 28.28 MB / 0.698 GB Notification: Performance of Templates: time 0.002572/0.999, allocations: 0.6352 MB / 1.12 GB, free: 28.22 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)