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.001069/0.001069, allocations: 103 kB / 16.27 MB, free: 6.371 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.001077/0.001077, allocations: 186.6 kB / 17.2 MB, free: 5.949 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.776/0.776, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 63.91 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4106, allocations: 77.92 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001963/0.4126, allocations: 0.5749 MB / 0.5678 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.4129, allocations: 56.5 kB / 0.5678 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.413, allocations: 4.719 kB / 0.5678 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.413, allocations: 0 / 0.5678 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.413, allocations: 1.906 kB / 0.5678 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.4133, allocations: 9.656 kB / 0.5678 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4135, allocations: 29.23 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.4135, allocations: 7.234 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.4135, allocations: 12.61 kB / 0.5679 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.4136, allocations: 10.52 kB / 0.5679 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4136, allocations: 1.031 kB / 0.5679 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.4137, allocations: 23.98 kB / 0.5679 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.4137, allocations: 18.86 kB / 0.5679 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.4138, allocations: 13.66 kB / 0.5679 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.4139, allocations: 32.08 kB / 0.568 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4139, allocations: 0.7031 kB / 0.568 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4139, allocations: 1 kB / 0.568 GB, free: 32.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4139, allocations: 1 kB / 0.568 GB, free: 32.18 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.000292/0.4142, allocations: 334.2 kB / 0.5683 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4143, allocations: 10.58 kB / 0.5683 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.4143, allocations: 8.469 kB / 0.5683 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.623e-05/0.4144, allocations: 164.7 kB / 0.5685 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4144, allocations: 10.59 kB / 0.5685 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4144, allocations: 3.781 kB / 0.5685 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.4146, allocations: 68.66 kB / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4146, allocations: 192 / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4146, allocations: 5.5 kB / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4146, allocations: 5.562 kB / 0.5686 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.4148, allocations: 105.8 kB / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.415, allocations: 174.3 kB / 0.5688 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4151, allocations: 70.59 kB / 0.5689 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.4151, allocations: 33.03 kB / 0.5689 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.4154, allocations: 404 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.4155, allocations: 37.25 kB / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.4155, allocations: 0 / 0.5693 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002847/0.4157, allocations: 122.8 kB / 0.5695 GB, free: 30.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.4158, allocations: 54.95 kB / 0.5695 GB, free: 30.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.757e-05/0.4158, allocations: 95.98 kB / 0.5696 GB, free: 30.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4158, allocations: 27.86 kB / 0.5696 GB, free: 30.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.223e-05/0.4158, allocations: 80.64 kB / 0.5697 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.4159, allocations: 21.78 kB / 0.5697 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.4159, allocations: 33 kB / 0.5698 GB, free: 30.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.416, allocations: 313.9 kB / 0.5701 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.416, allocations: 20.61 kB / 0.5701 GB, free: 30.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.4161, allocations: 21.88 kB / 0.5701 GB, free: 30.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.4162, allocations: 67.11 kB / 0.5702 GB, free: 30.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4162, allocations: 0 / 0.5702 GB, free: 30.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001347/0.4164, allocations: 88.22 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4164, allocations: 6.281 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4164, allocations: 3.938 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4164, allocations: 2.625 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4165, allocations: 22.72 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4166, allocations: 0 / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.4166, allocations: 9 kB / 0.5703 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4166, allocations: 9.484 kB / 0.5703 GB, free: 29.99 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.0001554/0.4168, allocations: 126.2 kB / 0.5704 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.4168, allocations: 1.922 kB / 0.5704 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.417, allocations: 135.6 kB / 0.5706 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.417, allocations: 1.844 kB / 0.5706 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.417, allocations: 2.094 kB / 0.5706 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4171, allocations: 0 / 0.5706 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.4172, allocations: 178.8 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4172, allocations: 0 / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.4173, allocations: 25.83 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4173, allocations: 5.312 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4173, allocations: 4.188 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4173, allocations: 1.469 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4173, allocations: 0 / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.4175, allocations: 118.8 kB / 0.5709 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.4175, allocations: 87.11 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4175, allocations: 1.875 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.4176, allocations: 8.312 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.4176, allocations: 5.812 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.4176, allocations: 3.281 kB / 0.571 GB, free: 29.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.4176, allocations: 76.03 kB / 0.5711 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.4177, allocations: 0.5938 kB / 0.5711 GB, free: 29.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.4179, allocations: 20.25 kB / 0.5711 GB, free: 29.31 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.0001867/0.4181, allocations: 114.5 kB / 0.5712 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.4183, allocations: 71.95 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4183, allocations: 0.5312 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.4183, allocations: 38.14 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4185, allocations: 2.656 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.4188, allocations: 148.8 kB / 0.5714 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.419, allocations: 0.6875 MB / 0.5721 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.4191, allocations: 36.86 kB / 0.5721 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.4191, allocations: 15.44 kB / 0.5722 GB, free: 28.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4191, allocations: 0 / 0.5722 GB, free: 28.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003092/0.4222, allocations: 0.6022 MB / 0.5727 GB, free: 28.3 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)