Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 103.2 kB / 16.93 MB, free: 5.793 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.001177/0.001177, allocations: 187.3 kB / 17.87 MB, free: 5.156 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.306/1.306, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8082/0.8082, allocations: 122.8 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.4917 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3866, allocations: 77.92 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001945/0.3885, allocations: 0.5808 MB / 0.5684 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.3889, allocations: 55.84 kB / 0.5685 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3889, allocations: 0 / 0.5685 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.3889, allocations: 0.6875 kB / 0.5685 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.3889, allocations: 1.062 kB / 0.5685 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.3893, allocations: 20.78 kB / 0.5685 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.3894, allocations: 29.8 kB / 0.5685 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.3894, allocations: 2.953 kB / 0.5685 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.3894, allocations: 10.92 kB / 0.5685 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.586e-05/0.3895, allocations: 12.22 kB / 0.5685 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3895, allocations: 2.656 kB / 0.5685 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.3896, allocations: 18.66 kB / 0.5686 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.3896, allocations: 14.98 kB / 0.5686 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.3897, allocations: 14.11 kB / 0.5686 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3898, allocations: 32.58 kB / 0.5686 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3898, allocations: 0 / 0.5686 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3898, allocations: 1.812 kB / 0.5686 GB, free: 32.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3898, allocations: 0.5 kB / 0.5686 GB, free: 32.24 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003236/0.3902, allocations: 337.9 kB / 0.5689 GB, free: 31.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3902, allocations: 10.81 kB / 0.569 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3903, allocations: 8.406 kB / 0.569 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.3903, allocations: 168.2 kB / 0.5691 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3903, allocations: 4.188 kB / 0.5691 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3904, allocations: 2.781 kB / 0.5691 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3905, allocations: 70.25 kB / 0.5692 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3905, allocations: 192 / 0.5692 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3905, allocations: 9.094 kB / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3906, allocations: 2.156 kB / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.3908, allocations: 101.9 kB / 0.5693 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.391, allocations: 172.9 kB / 0.5695 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3912, allocations: 76.28 kB / 0.5695 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.3913, allocations: 31.08 kB / 0.5696 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.3917, allocations: 408.6 kB / 0.57 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3917, allocations: 35.81 kB / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3917, allocations: 0 / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002863/0.392, allocations: 126.8 kB / 0.5701 GB, free: 30.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3921, allocations: 52.59 kB / 0.5702 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.3921, allocations: 92.48 kB / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3921, allocations: 31.83 kB / 0.5703 GB, free: 30.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.3921, allocations: 80.14 kB / 0.5704 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3922, allocations: 21.19 kB / 0.5704 GB, free: 30.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3922, allocations: 28.06 kB / 0.5704 GB, free: 30.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.3923, allocations: 320.8 kB / 0.5707 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.3924, allocations: 19.23 kB / 0.5707 GB, free: 30.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/0.3924, allocations: 21.62 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.3925, allocations: 58.39 kB / 0.5708 GB, free: 30.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3926, allocations: 1.062 kB / 0.5708 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001661/0.3927, allocations: 95.58 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3928, allocations: 4.812 kB / 0.5709 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3928, allocations: 5 kB / 0.5709 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3928, allocations: 1.828 kB / 0.5709 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3929, allocations: 22.33 kB / 0.5709 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3929, allocations: 0.875 kB / 0.5709 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.393, allocations: 10.91 kB / 0.5709 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.393, allocations: 7.844 kB / 0.571 GB, free: 30.05 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001348/0.3931, allocations: 125.5 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.3931, allocations: 2.156 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.3934, allocations: 128.2 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3934, allocations: 2.25 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3934, allocations: 5.156 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3934, allocations: 0.8906 kB / 0.5712 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3935, allocations: 178 kB / 0.5714 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3935, allocations: 5.141 kB / 0.5714 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.3936, allocations: 18.27 kB / 0.5714 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3936, allocations: 4.938 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3936, allocations: 2.859 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3936, allocations: 0.8438 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3936, allocations: 5.938 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3938, allocations: 123.9 kB / 0.5715 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.3938, allocations: 89.23 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3938, allocations: 1.562 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.3939, allocations: 1.281 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3939, allocations: 11.05 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3939, allocations: 4.188 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.3939, allocations: 75.81 kB / 0.5717 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 4.688 kB / 0.5717 GB, free: 29.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.3942, allocations: 11.27 kB / 0.5717 GB, free: 29.37 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001764/0.3943, allocations: 117.9 kB / 0.5718 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3945, allocations: 71.72 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3945, allocations: 0.6875 kB / 0.5719 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.3946, allocations: 34.66 kB / 0.5719 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.3947, allocations: 8.047 kB / 0.5719 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.395, allocations: 172.7 kB / 0.5721 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3952, allocations: 0.6816 MB / 0.5728 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.3952, allocations: 20.34 kB / 0.5728 GB, free: 28.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3952, allocations: 0 / 0.5728 GB, free: 28.4 MB / 446.1 MB Notification: Performance of Templates: time 0.002928/0.3981, allocations: 0.9524 MB / 0.5737 GB, free: 28.36 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)