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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 113.4 kB / 17.04 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 195 kB / 17.98 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.694/0.694, allocations: 115.1 MB / 406.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002436/0.3391, allocations: 1.524 MB / 0.5591 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.3395, allocations: 131 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.3395, allocations: 1.969 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.3395, allocations: 7.906 kB / 0.5592 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.3396, allocations: 3.938 kB / 0.5592 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.3399, allocations: 35.19 kB / 0.5592 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.3399, allocations: 39.2 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3401, allocations: 13.73 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.3401, allocations: 17.98 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.3402, allocations: 17.62 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3402, allocations: 3.938 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.3403, allocations: 21.2 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3403, allocations: 10.52 kB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.3403, allocations: 10.81 kB / 0.5594 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.3405, allocations: 48.06 kB / 0.5594 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3405, allocations: 5.266 kB / 0.5594 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3405, allocations: 0 / 0.5594 GB, free: 35.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3405, allocations: 0 / 0.5594 GB, free: 35.44 MB / 446.1 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.0004623/0.341, allocations: 350.2 kB / 0.5597 GB, free: 35.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.341, allocations: 9.844 kB / 0.5598 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3411, allocations: 2.75 kB / 0.5598 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.3412, allocations: 170.7 kB / 0.5599 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3412, allocations: 6.312 kB / 0.5599 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3412, allocations: 9.906 kB / 0.5599 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3414, allocations: 62.53 kB / 0.56 GB, free: 34.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3414, allocations: 1.172 kB / 0.56 GB, free: 34.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3414, allocations: 6.469 kB / 0.56 GB, free: 34.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3415, allocations: 0 / 0.56 GB, free: 34.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3416, allocations: 49.38 kB / 0.56 GB, free: 34.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.342, allocations: 274.2 kB / 0.5603 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3423, allocations: 63.17 kB / 0.5604 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.3424, allocations: 26.78 kB / 0.5604 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.3427, allocations: 402.2 kB / 0.5608 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.3427, allocations: 32.83 kB / 0.5608 GB, free: 33.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3427, allocations: 0 / 0.5608 GB, free: 33.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003715/0.3431, allocations: 103.5 kB / 0.5609 GB, free: 33.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3431, allocations: 53.41 kB / 0.561 GB, free: 33.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.3432, allocations: 108.5 kB / 0.5611 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3432, allocations: 29.64 kB / 0.5611 GB, free: 33.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.3433, allocations: 86.91 kB / 0.5612 GB, free: 33.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.3433, allocations: 5.094 kB / 0.5612 GB, free: 33.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.3433, allocations: 18.86 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.3434, allocations: 321.4 kB / 0.5615 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.3435, allocations: 20.33 kB / 0.5615 GB, free: 33.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.3436, allocations: 20.95 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3437, allocations: 50.73 kB / 0.5616 GB, free: 33.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3437, allocations: 0 / 0.5616 GB, free: 33.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001964/0.3439, allocations: 75.34 kB / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.344, allocations: 7.469 kB / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.344, allocations: 0 / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.344, allocations: 2.656 kB / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.3441, allocations: 11.09 kB / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3441, allocations: 1.156 kB / 0.5617 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.3441, allocations: 19 kB / 0.5617 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3441, allocations: 2.656 kB / 0.5617 GB, free: 33.23 MB / 446.1 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.3442, allocations: 111.8 kB / 0.5618 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3442, allocations: 4.391 kB / 0.5618 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.3445, allocations: 88.84 kB / 0.5619 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3445, allocations: 6.047 kB / 0.5619 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3445, allocations: 0 / 0.5619 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3445, allocations: 1.125 kB / 0.5619 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3447, allocations: 165.7 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3447, allocations: 2.25 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.3447, allocations: 11.16 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3447, allocations: 1.594 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3448, allocations: 5.125 kB / 0.5621 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3448, allocations: 0.5625 kB / 0.5621 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3448, allocations: 0 / 0.5621 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.345, allocations: 178 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.345, allocations: 77.91 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.345, allocations: 5.281 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.3451, allocations: 7.828 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3452, allocations: 18.31 kB / 0.5624 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3452, allocations: 0.75 kB / 0.5624 GB, free: 32.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.3452, allocations: 89.78 kB / 0.5624 GB, free: 32.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3452, allocations: 0 / 0.5624 GB, free: 32.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3454, allocations: 9.234 kB / 0.5625 GB, free: 32.52 MB / 446.1 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 (rea2Int.y,falFac.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000105/0.3456, allocations: 100.7 kB / 0.5626 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3458, allocations: 48.25 kB / 0.5626 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3458, allocations: 0 / 0.5626 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.3459, allocations: 28.88 kB / 0.5626 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.3461, allocations: 8.422 kB / 0.5626 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.3464, allocations: 129.9 kB / 0.5628 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3465, allocations: 0.6853 MB / 0.5634 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.673e-05/0.3465, allocations: 2.875 kB / 0.5634 GB, free: 31.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.3466, allocations: 13.02 kB / 0.5634 GB, free: 31.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3466, allocations: 0 / 0.5634 GB, free: 31.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003032/0.3496, allocations: 0.75 MB / 0.5642 GB, free: 31.54 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)