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.001453/0.001454, allocations: 105.2 kB / 16.64 MB, free: 6.824 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.001669/0.001669, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.343/1.343, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7467/0.7467, allocations: 122.9 MB / 414.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 75.86 kB / 0.4912 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 77.92 MB / 0.5673 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002464/0.3209, allocations: 1.578 MB / 0.5689 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003402/0.3212, allocations: 131.2 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.3213, allocations: 1.188 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3213, allocations: 6.031 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.143e-05/0.3214, allocations: 0.75 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3217, allocations: 30.5 kB / 0.569 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.3217, allocations: 39.25 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3218, allocations: 18.34 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.3219, allocations: 11.34 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.3219, allocations: 18.27 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3219, allocations: 3.344 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-05/0.322, allocations: 18.19 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.322, allocations: 15.44 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.3221, allocations: 17.77 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.3222, allocations: 23.95 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3222, allocations: 1.062 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3222, allocations: 0 / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3222, allocations: 0.5156 kB / 0.5692 GB, free: 31.2 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.0004092/0.3226, allocations: 352.4 kB / 0.5695 GB, free: 30.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3227, allocations: 18.16 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.3227, allocations: 11.67 kB / 0.5696 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3228, allocations: 171.7 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3229, allocations: 2.969 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3229, allocations: 2.625 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3231, allocations: 67.56 kB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3231, allocations: 1.125 kB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3231, allocations: 8.969 kB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3232, allocations: 1.281 kB / 0.5698 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.3234, allocations: 44.3 kB / 0.5698 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3238, allocations: 281.7 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3241, allocations: 63.97 kB / 0.5702 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3243, allocations: 27.22 kB / 0.5702 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.3245, allocations: 398.7 kB / 0.5706 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.3245, allocations: 32.42 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3245, allocations: 1.062 kB / 0.5706 GB, free: 29.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.3249, allocations: 95.59 kB / 0.5707 GB, free: 29.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3249, allocations: 53.06 kB / 0.5708 GB, free: 29.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.325, allocations: 110.3 kB / 0.5709 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.325, allocations: 27.61 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.325, allocations: 86.25 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.325, allocations: 11.06 kB / 0.571 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3251, allocations: 14.81 kB / 0.571 GB, free: 29.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.3251, allocations: 322.6 kB / 0.5713 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.3252, allocations: 17.86 kB / 0.5713 GB, free: 29.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.3253, allocations: 20.34 kB / 0.5713 GB, free: 29.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3255, allocations: 55.42 kB / 0.5714 GB, free: 29.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3255, allocations: 0 / 0.5714 GB, free: 29.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/0.3257, allocations: 79.56 kB / 0.5715 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3257, allocations: 7.375 kB / 0.5715 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3257, allocations: 1.812 kB / 0.5715 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3258, allocations: 2.094 kB / 0.5715 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.3258, allocations: 14.84 kB / 0.5715 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3258, allocations: 3.938 kB / 0.5715 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.3259, allocations: 11.27 kB / 0.5715 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.3259, allocations: 1.719 kB / 0.5715 GB, free: 28.96 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 4.852e-05/0.326, allocations: 114.6 kB / 0.5716 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.326, allocations: 7 kB / 0.5716 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.3263, allocations: 81.25 kB / 0.5717 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3263, allocations: 1.688 kB / 0.5717 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3263, allocations: 0 / 0.5717 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3263, allocations: 1.219 kB / 0.5717 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3264, allocations: 182.8 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3264, allocations: 0 / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.3265, allocations: 16.89 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3265, allocations: 1.312 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3265, allocations: 0.7031 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3265, allocations: 1.062 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3265, allocations: 0 / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3268, allocations: 172.3 kB / 0.5721 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.3268, allocations: 78.89 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3268, allocations: 3.781 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.3269, allocations: 9.906 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3269, allocations: 4.656 kB / 0.5722 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3269, allocations: 2.984 kB / 0.5722 GB, free: 28.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.327, allocations: 88 kB / 0.5722 GB, free: 28.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.327, allocations: 0 / 0.5722 GB, free: 28.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3272, allocations: 12.08 kB / 0.5722 GB, free: 28.26 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.0001393/0.3274, allocations: 99.91 kB / 0.5723 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3276, allocations: 51.67 kB / 0.5724 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.3276, allocations: 0 / 0.5724 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.3277, allocations: 24.34 kB / 0.5724 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3279, allocations: 8.719 kB / 0.5724 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.3282, allocations: 158.9 kB / 0.5726 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.3283, allocations: 0.6808 MB / 0.5732 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3284, allocations: 12.44 kB / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3284, allocations: 4.906 kB / 0.5733 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002319/0.3307, allocations: 0.7954 MB / 0.574 GB, free: 27.27 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)