Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7926/0.7926, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 168.9 kB / 182.2 MB, free: 9.484 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008905, allocations: 90.52 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 276.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.771e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3513, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4785, allocations: 108.3 MB / 0.8631 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.4787, allocations: 71.84 kB / 0.8632 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002955/0.4817, allocations: 1.053 MB / 0.8642 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4817, allocations: 0 / 0.8642 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.4817, allocations: 0 / 0.8642 GB, free: 2.453 MB / 0.5261 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.0003289/0.4821, allocations: 350.4 kB / 0.8646 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4821, allocations: 8.031 kB / 0.8646 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.4821, allocations: 11.84 kB / 0.8646 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.942e-05/0.4822, allocations: 159.1 kB / 0.8647 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4823, allocations: 7.953 kB / 0.8647 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4823, allocations: 0 / 0.8647 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.988e-05/0.4824, allocations: 23.98 kB / 0.8648 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.4824, allocations: 57.59 kB / 0.8648 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4825, allocations: 4 kB / 0.8648 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4825, allocations: 0 / 0.8648 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.4825, allocations: 0 / 0.8648 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.4828, allocations: 253.3 kB / 0.8651 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.483, allocations: 42.56 kB / 0.8651 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.4831, allocations: 21.02 kB / 0.8651 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.4833, allocations: 401.5 kB / 0.8655 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4834, allocations: 34.56 kB / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4834, allocations: 0 / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001775/0.4836, allocations: 53.62 kB / 0.8656 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.4836, allocations: 51.41 kB / 0.8656 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.4837, allocations: 93 kB / 0.8657 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4837, allocations: 25.7 kB / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.4837, allocations: 96.03 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.4837, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4837, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.4838, allocations: 318.8 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.4839, allocations: 4 kB / 0.8662 GB, free: 200 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.4839, allocations: 8 kB / 0.8662 GB, free: 192 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.4839, allocations: 15.94 kB / 0.8662 GB, free: 176 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.484, allocations: 0 / 0.8662 GB, free: 176 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.233e-05/0.484, allocations: 49.59 kB / 0.8662 GB, free: 120 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4841, allocations: 12 kB / 0.8662 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4841, allocations: 3.938 kB / 0.8662 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.4841, allocations: 0 / 0.8662 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.4842, allocations: 11.98 kB / 0.8663 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.4842, allocations: 0 / 0.8663 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.4843, allocations: 8 kB / 0.8663 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4843, allocations: 3.984 kB / 0.8663 GB, free: 80 kB / 0.5261 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 () * 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 8.339e-05/0.4844, allocations: 116.9 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.4844, allocations: 0 / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.4846, allocations: 57.17 kB / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4846, allocations: 0 / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4846, allocations: 7.984 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4846, allocations: 0 / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.4848, allocations: 134.2 kB / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4848, allocations: 0 / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.4849, allocations: 28.17 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4849, allocations: 3.953 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4849, allocations: 8.172 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4849, allocations: 0 / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4849, allocations: 3.938 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4851, allocations: 147.4 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.4851, allocations: 81.11 kB / 0.8668 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4851, allocations: 7.953 kB / 0.8668 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.4852, allocations: 11.98 kB / 0.8668 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.4853, allocations: 7.984 kB / 0.8669 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4853, allocations: 0 / 0.8669 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.4853, allocations: 83.28 kB / 0.8669 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4853, allocations: 0 / 0.8669 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002359/0.4856, allocations: 19.94 kB / 0.867 GB, free: 15.29 MB / 0.5417 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 () * 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.0001402/0.4857, allocations: 107.1 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.4858, allocations: 23.98 kB / 0.8671 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4858, allocations: 0 / 0.8671 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.4859, allocations: 12 kB / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.486, allocations: 4 kB / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.4862, allocations: 67.92 kB / 0.8672 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4864, allocations: 0.6807 MB / 0.8678 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.4865, allocations: 8 kB / 0.8678 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.4865, allocations: 11.44 kB / 0.8678 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.4865, allocations: 0 / 0.8678 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.002265/0.4888, allocations: 0.5965 MB / 0.8684 GB, free: 13.73 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)