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.0008108/0.0008108, allocations: 93.98 kB / 16.67 MB, free: 6.09 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.0009002/0.0009002, allocations: 183.4 kB / 17.58 MB, free: 5.82 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.285/1.285, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6984/0.6984, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3752, allocations: 77.51 MB / 0.5606 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001561/0.3769, allocations: 1.248 MB / 0.5618 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.3772, allocations: 130.7 kB / 0.5619 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3773, allocations: 0.875 kB / 0.5619 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.3773, allocations: 4.453 kB / 0.5619 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.3774, allocations: 3.422 kB / 0.5619 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.3776, allocations: 35.08 kB / 0.562 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.3777, allocations: 35.03 kB / 0.562 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.3778, allocations: 14.11 kB / 0.562 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.3778, allocations: 10.52 kB / 0.562 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.3779, allocations: 13.34 kB / 0.562 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3779, allocations: 1.5 kB / 0.562 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.378, allocations: 20.38 kB / 0.5621 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.378, allocations: 10.39 kB / 0.5621 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.378, allocations: 38.42 kB / 0.5621 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.3781, allocations: 23.06 kB / 0.5621 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3781, allocations: 0 / 0.5621 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3781, allocations: 0.9688 kB / 0.5621 GB, free: 35.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3781, allocations: 0 / 0.5621 GB, free: 35.05 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.0003899/0.3785, allocations: 352.3 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3786, allocations: 14.09 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3786, allocations: 3.25 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.3787, allocations: 175.1 kB / 0.5626 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.3787, allocations: 6.25 kB / 0.5626 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3788, allocations: 3.469 kB / 0.5627 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.379, allocations: 70.44 kB / 0.5627 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.379, allocations: 4.125 kB / 0.5627 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.379, allocations: 4.641 kB / 0.5627 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.379, allocations: 2.656 kB / 0.5627 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3792, allocations: 54.06 kB / 0.5628 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3796, allocations: 280.6 kB / 0.563 GB, free: 34.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.3799, allocations: 71.48 kB / 0.5631 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.38, allocations: 37.5 kB / 0.5632 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.3802, allocations: 396.6 kB / 0.5635 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3803, allocations: 33.08 kB / 0.5636 GB, free: 33.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3803, allocations: 0 / 0.5636 GB, free: 33.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003988/0.3807, allocations: 116.5 kB / 0.5637 GB, free: 33.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3807, allocations: 52.97 kB / 0.5637 GB, free: 33.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.3808, allocations: 108 kB / 0.5638 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3808, allocations: 29.64 kB / 0.5639 GB, free: 33.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.3808, allocations: 88.89 kB / 0.5639 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.3809, allocations: 5.547 kB / 0.5639 GB, free: 33.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.3809, allocations: 16.17 kB / 0.564 GB, free: 33.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.3809, allocations: 317.4 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.381, allocations: 25.98 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.3811, allocations: 26.84 kB / 0.5643 GB, free: 32.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3813, allocations: 55.53 kB / 0.5644 GB, free: 32.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3813, allocations: 0 / 0.5644 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000225/0.3816, allocations: 90.7 kB / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3816, allocations: 4.375 kB / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3816, allocations: 0 / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3816, allocations: 2.594 kB / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.3817, allocations: 17.69 kB / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3817, allocations: 2.156 kB / 0.5645 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.3818, allocations: 12.45 kB / 0.5645 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3818, allocations: 5.797 kB / 0.5645 GB, free: 32.82 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.995e-05/0.3819, allocations: 117.8 kB / 0.5646 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3819, allocations: 9.141 kB / 0.5646 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3822, allocations: 90.89 kB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3822, allocations: 1.062 kB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3822, allocations: 0.7031 kB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3822, allocations: 1.062 kB / 0.5647 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.3824, allocations: 174.8 kB / 0.5649 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3824, allocations: 0.6562 kB / 0.5649 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.3824, allocations: 18.61 kB / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3825, allocations: 0 / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3825, allocations: 7.406 kB / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3825, allocations: 0 / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3825, allocations: 0 / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3827, allocations: 187.2 kB / 0.5651 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.3828, allocations: 84.44 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3828, allocations: 1.25 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.3829, allocations: 9.281 kB / 0.5652 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3829, allocations: 11.86 kB / 0.5652 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.3829, allocations: 1.5 kB / 0.5652 GB, free: 32.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.383, allocations: 87.33 kB / 0.5653 GB, free: 32.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.383, allocations: 0.5 kB / 0.5653 GB, free: 32.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.3832, allocations: 14.08 kB / 0.5653 GB, free: 32.11 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.0001359/0.3834, allocations: 100.6 kB / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3836, allocations: 58.78 kB / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3836, allocations: 0 / 0.5654 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3838, allocations: 30.67 kB / 0.5655 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.384, allocations: 12.22 kB / 0.5655 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.3843, allocations: 154.1 kB / 0.5656 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3845, allocations: 0.6794 MB / 0.5663 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3845, allocations: 10.67 kB / 0.5663 GB, free: 31.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3845, allocations: 1.906 kB / 0.5663 GB, free: 31.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002556/0.3871, allocations: 0.7982 MB / 0.5671 GB, free: 31.12 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)