Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7729/0.7729, allocations: 127.4 MB / 134.9 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 183.4 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 399.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009228, allocations: 92.11 kB / 476.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.663e-05, allocations: 6.031 kB / 0.5466 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 76.77 MB / 0.6215 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.2807, allocations: 102.2 MB / 0.7214 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.281, allocations: 75.95 kB / 0.7214 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002937/0.2839, allocations: 1.055 MB / 0.7225 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2839, allocations: 0 / 0.7225 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.284, allocations: 3.938 kB / 0.7225 GB, free: 3.531 MB / 0.4948 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.0003349/0.2843, allocations: 338.5 kB / 0.7228 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2843, allocations: 8.031 kB / 0.7228 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.2844, allocations: 15.86 kB / 0.7228 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2845, allocations: 171 kB / 0.723 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2845, allocations: 0 / 0.723 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2845, allocations: 0 / 0.723 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.949e-05/0.2846, allocations: 20 kB / 0.723 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.2847, allocations: 49.67 kB / 0.7231 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2847, allocations: 0 / 0.7231 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2848, allocations: 0 / 0.7231 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2848, allocations: 4 kB / 0.7231 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.2851, allocations: 261.3 kB / 0.7233 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.2853, allocations: 42.56 kB / 0.7234 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.2854, allocations: 16.92 kB / 0.7234 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.2856, allocations: 393.6 kB / 0.7237 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2857, allocations: 38.56 kB / 0.7238 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2857, allocations: 0 / 0.7238 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000174/0.2859, allocations: 61.48 kB / 0.7238 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.2859, allocations: 51.41 kB / 0.7239 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.286, allocations: 96.98 kB / 0.724 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.286, allocations: 25.7 kB / 0.724 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2861, allocations: 84.14 kB / 0.7241 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2861, allocations: 11.84 kB / 0.7241 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2861, allocations: 0 / 0.7241 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2862, allocations: 318.8 kB / 0.7244 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.2862, allocations: 11.98 kB / 0.7244 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.2862, allocations: 4 kB / 0.7244 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.2863, allocations: 8 kB / 0.7244 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2863, allocations: 0 / 0.7244 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.2864, allocations: 49.59 kB / 0.7245 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2864, allocations: 8 kB / 0.7245 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2864, allocations: 0 / 0.7245 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2864, allocations: 3.938 kB / 0.7245 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.2865, allocations: 19.92 kB / 0.7245 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2866, allocations: 7.938 kB / 0.7245 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.2866, allocations: 11.98 kB / 0.7245 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2866, allocations: 0 / 0.7245 GB, free: 1.152 MB / 0.4948 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 6.437e-05/0.2867, allocations: 112.9 kB / 0.7246 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.2867, allocations: 192 / 0.7246 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.2869, allocations: 57.78 kB / 0.7247 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2869, allocations: 4 kB / 0.7247 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2869, allocations: 4 kB / 0.7247 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.287, allocations: 3.953 kB / 0.7247 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.2871, allocations: 142.2 kB / 0.7248 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2871, allocations: 0 / 0.7248 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.2872, allocations: 15.98 kB / 0.7248 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2872, allocations: 0 / 0.7248 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2872, allocations: 0 / 0.7248 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2872, allocations: 3.938 kB / 0.7248 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2872, allocations: 4 kB / 0.7249 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2874, allocations: 153.6 kB / 0.725 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.2874, allocations: 77.11 kB / 0.7251 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2874, allocations: 4 kB / 0.7251 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.2875, allocations: 7.984 kB / 0.7251 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2876, allocations: 8.234 kB / 0.7251 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2876, allocations: 0 / 0.7251 GB, free: 492 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.2876, allocations: 91.28 kB / 0.7252 GB, free: 400 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2877, allocations: 0 / 0.7252 GB, free: 400 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002213/0.2879, allocations: 19.94 kB / 0.7252 GB, free: 380 kB / 0.4948 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.0001521/0.288, allocations: 107.2 kB / 0.7253 GB, free: 264 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.2881, allocations: 19.94 kB / 0.7253 GB, free: 244 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2881, allocations: 0 / 0.7253 GB, free: 244 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.2882, allocations: 15.98 kB / 0.7253 GB, free: 228 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.2884, allocations: 11.95 kB / 0.7253 GB, free: 216 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2886, allocations: 67.94 kB / 0.7254 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.2889, allocations: 0.6807 MB / 0.7261 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.289, allocations: 7.984 kB / 0.7261 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.289, allocations: 7.438 kB / 0.7261 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.289, allocations: 0 / 0.7261 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.002619/0.2916, allocations: 0.5996 MB / 0.7267 GB, free: 14.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)