Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4555/0.4555, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007979/0.0007979, allocations: 101.6 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.816e-05, allocations: 4 kB / 0.4896 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3249, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.4379, allocations: 101.9 MB / 0.6597 GB, free: 2.465 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4382, allocations: 74.72 kB / 0.6598 GB, free: 2.395 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002799/0.441, allocations: 1.063 MB / 0.6608 GB, free: 1.348 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.441, allocations: 0 / 0.6608 GB, free: 1.348 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.441, allocations: 0 / 0.6608 GB, free: 1.348 MB / 474.7 MB 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.0003728/0.4414, allocations: 354.3 kB / 0.6611 GB, free: 0.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4414, allocations: 19.98 kB / 0.6612 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.4415, allocations: 3.953 kB / 0.6612 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.4416, allocations: 167 kB / 0.6613 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4416, allocations: 0 / 0.6613 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.4417, allocations: 4 kB / 0.6613 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4418, allocations: 49.69 kB / 0.6614 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4418, allocations: 0 / 0.6614 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4418, allocations: 0 / 0.6614 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4418, allocations: 3.984 kB / 0.6614 GB, free: 0.668 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.4419, allocations: 23.95 kB / 0.6614 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.4423, allocations: 284.7 kB / 0.6617 GB, free: 324 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4425, allocations: 42.56 kB / 0.6617 GB, free: 272 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.4425, allocations: 21 kB / 0.6617 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.4429, allocations: 401.6 kB / 0.6621 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4429, allocations: 38.52 kB / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4429, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.4431, allocations: 57.53 kB / 0.6622 GB, free: 15.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4431, allocations: 51.97 kB / 0.6622 GB, free: 15.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.4432, allocations: 105 kB / 0.6624 GB, free: 15.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4432, allocations: 25.7 kB / 0.6624 GB, free: 15.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.4433, allocations: 84.14 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.4433, allocations: 7.906 kB / 0.6625 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.4433, allocations: 0 / 0.6625 GB, free: 15.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4434, allocations: 321.4 kB / 0.6628 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.4435, allocations: 4 kB / 0.6628 GB, free: 15.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.4435, allocations: 11.98 kB / 0.6628 GB, free: 15.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.4435, allocations: 4 kB / 0.6628 GB, free: 15.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4435, allocations: 0 / 0.6628 GB, free: 15.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.516e-05/0.4436, allocations: 57.62 kB / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4436, allocations: 4 kB / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4437, allocations: 4 kB / 0.6629 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4437, allocations: 3.953 kB / 0.6629 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.4438, allocations: 15.98 kB / 0.6629 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4438, allocations: 0 / 0.6629 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.4439, allocations: 15.92 kB / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4439, allocations: 0 / 0.6629 GB, free: 14.91 MB / 490.7 MB 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.278e-05/0.444, allocations: 109 kB / 0.663 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.444, allocations: 3.906 kB / 0.663 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.4441, allocations: 73.81 kB / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4441, allocations: 3.953 kB / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4441, allocations: 0 / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4441, allocations: 0 / 0.6631 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4443, allocations: 161.7 kB / 0.6632 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4443, allocations: 0 / 0.6632 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.4444, allocations: 15.98 kB / 0.6632 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4444, allocations: 4 kB / 0.6632 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4444, allocations: 0 / 0.6632 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4444, allocations: 0 / 0.6632 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4445, allocations: 15.47 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.4446, allocations: 143.5 kB / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.4446, allocations: 81.86 kB / 0.6635 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4447, allocations: 3.984 kB / 0.6635 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.4448, allocations: 8 kB / 0.6635 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.4448, allocations: 11.92 kB / 0.6635 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.4448, allocations: 7.953 kB / 0.6635 GB, free: 14.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.4449, allocations: 87.28 kB / 0.6636 GB, free: 14.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4449, allocations: 0 / 0.6636 GB, free: 14.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.4451, allocations: 23.92 kB / 0.6636 GB, free: 14.07 MB / 490.7 MB 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.0001697/0.4453, allocations: 110.2 kB / 0.6637 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.229e-05/0.4454, allocations: 18.06 kB / 0.6637 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4454, allocations: 0 / 0.6637 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.4454, allocations: 19.92 kB / 0.6637 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.4456, allocations: 8 kB / 0.6638 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.4458, allocations: 72.92 kB / 0.6638 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.4461, allocations: 0.6848 MB / 0.6645 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.4461, allocations: 7.859 kB / 0.6645 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.4462, allocations: 11.44 kB / 0.6645 GB, free: 13.09 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.4462, allocations: 0 / 0.6645 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Templates: time 0.002701/0.4489, allocations: 0.63 MB / 0.6651 GB, free: 12.48 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)