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.001518/0.001518, allocations: 102.6 kB / 15.98 MB, free: 6.34 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.001764/0.001764, allocations: 194.8 kB / 16.91 MB, free: 6.184 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7416/0.7416, allocations: 122.9 MB / 413.6 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 67.91 kB / 0.4906 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4084, allocations: 77.91 MB / 0.5667 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001895/0.4103, allocations: 0.6381 MB / 0.5673 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.4106, allocations: 59.86 kB / 0.5674 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.4106, allocations: 1.125 kB / 0.5674 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.4106, allocations: 0 / 0.5674 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.4107, allocations: 0 / 0.5674 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.411, allocations: 14.98 kB / 0.5674 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.4111, allocations: 32.98 kB / 0.5674 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.4111, allocations: 3.5 kB / 0.5674 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.4111, allocations: 8.266 kB / 0.5674 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.919e-05/0.4112, allocations: 15.77 kB / 0.5675 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.4112, allocations: 3.938 kB / 0.5675 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.4113, allocations: 18.86 kB / 0.5675 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.4113, allocations: 11.36 kB / 0.5675 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.4113, allocations: 17.56 kB / 0.5675 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.4114, allocations: 31.66 kB / 0.5675 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4114, allocations: 2.156 kB / 0.5675 GB, free: 31.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4114, allocations: 1.656 kB / 0.5675 GB, free: 31.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.4114, allocations: 0 / 0.5675 GB, free: 31.42 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.0002742/0.4117, allocations: 329.7 kB / 0.5678 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4118, allocations: 10 kB / 0.5679 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.4118, allocations: 12.12 kB / 0.5679 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.591e-05/0.4119, allocations: 169.7 kB / 0.568 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4119, allocations: 1.719 kB / 0.568 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4119, allocations: 4.875 kB / 0.568 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4121, allocations: 68.62 kB / 0.5681 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4121, allocations: 0.8438 kB / 0.5681 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4121, allocations: 8.875 kB / 0.5681 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4121, allocations: 1.969 kB / 0.5681 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.4123, allocations: 104.9 kB / 0.5682 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.4124, allocations: 178.5 kB / 0.5684 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4126, allocations: 71.02 kB / 0.5685 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.4126, allocations: 28.62 kB / 0.5685 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.4129, allocations: 404.1 kB / 0.5689 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.4129, allocations: 32.56 kB / 0.5689 GB, free: 30.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4129, allocations: 1.062 kB / 0.5689 GB, free: 30.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002517/0.4132, allocations: 124.5 kB / 0.569 GB, free: 29.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4132, allocations: 56.56 kB / 0.5691 GB, free: 29.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.163e-05/0.4133, allocations: 92.31 kB / 0.5692 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.4133, allocations: 27.86 kB / 0.5692 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.4133, allocations: 84.14 kB / 0.5693 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4133, allocations: 16.72 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.4134, allocations: 34.23 kB / 0.5693 GB, free: 29.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.4134, allocations: 318 kB / 0.5696 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.4135, allocations: 19.45 kB / 0.5696 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.4135, allocations: 22.16 kB / 0.5697 GB, free: 29.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.4136, allocations: 62.47 kB / 0.5697 GB, free: 29.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4136, allocations: 0 / 0.5697 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001314/0.4138, allocations: 95.16 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4138, allocations: 4.688 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4138, allocations: 4.781 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4138, allocations: 1.719 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4139, allocations: 18.89 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4139, allocations: 5.688 kB / 0.5698 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.414, allocations: 8.906 kB / 0.5699 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.414, allocations: 5.234 kB / 0.5699 GB, free: 29.24 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.0001149/0.4141, allocations: 129.6 kB / 0.57 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.4141, allocations: 2.781 kB / 0.57 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.4143, allocations: 128.2 kB / 0.5701 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4143, allocations: 2.438 kB / 0.5701 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4143, allocations: 1.156 kB / 0.5701 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4144, allocations: 1.359 kB / 0.5701 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.4144, allocations: 177 kB / 0.5703 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4145, allocations: 2.031 kB / 0.5703 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.4145, allocations: 17.84 kB / 0.5703 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4145, allocations: 5.562 kB / 0.5703 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4145, allocations: 2.703 kB / 0.5703 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4145, allocations: 4.5 kB / 0.5703 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4146, allocations: 1.125 kB / 0.5703 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4147, allocations: 119.1 kB / 0.5704 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.4147, allocations: 92.02 kB / 0.5705 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4147, allocations: 9.031 kB / 0.5705 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.52e-05/0.4148, allocations: 2.172 kB / 0.5705 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4148, allocations: 8.391 kB / 0.5705 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4148, allocations: 6.812 kB / 0.5705 GB, free: 28.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.147e-05/0.4148, allocations: 75.98 kB / 0.5706 GB, free: 28.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4148, allocations: 1.625 kB / 0.5706 GB, free: 28.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.415, allocations: 15.28 kB / 0.5706 GB, free: 28.55 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.0001371/0.4152, allocations: 115.8 kB / 0.5707 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.4153, allocations: 75.06 kB / 0.5708 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4153, allocations: 0 / 0.5708 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.4154, allocations: 37.92 kB / 0.5708 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.4155, allocations: 6.281 kB / 0.5708 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.4158, allocations: 150.9 kB / 0.571 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.4159, allocations: 0.683 MB / 0.5717 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.416, allocations: 37.09 kB / 0.5717 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.416, allocations: 16.56 kB / 0.5717 GB, free: 27.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.416, allocations: 1.094 kB / 0.5717 GB, free: 27.6 MB / 446.1 MB Notification: Performance of Templates: time 0.002461/0.4185, allocations: 0.6069 MB / 0.5723 GB, free: 27.54 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)