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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 177.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4724/0.4724, allocations: 90.92 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 106 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.773e-05, allocations: 8 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 72.32 MB / 0.5535 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5196, allocations: 100.1 MB / 0.6513 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.5198, allocations: 73.64 kB / 0.6514 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001717/0.5215, allocations: 0.8313 MB / 0.6522 GB, free: 9.305 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5215, allocations: 0 / 0.6522 GB, free: 9.305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.5216, allocations: 4 kB / 0.6522 GB, free: 9.301 MB / 458.7 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.0002297/0.5218, allocations: 328.9 kB / 0.6525 GB, free: 8.941 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5218, allocations: 12.03 kB / 0.6525 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.5219, allocations: 3.953 kB / 0.6525 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.522, allocations: 159.1 kB / 0.6527 GB, free: 8.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.522, allocations: 4 kB / 0.6527 GB, free: 8.727 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.522, allocations: 4 kB / 0.6527 GB, free: 8.723 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001418/0.5221, allocations: 99.19 kB / 0.6528 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.424e-05/0.5222, allocations: 53.3 kB / 0.6528 GB, free: 8.582 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5222, allocations: 4 kB / 0.6528 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.5223, allocations: 0.75 kB / 0.6528 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5223, allocations: 3.953 kB / 0.6528 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.5224, allocations: 157.5 kB / 0.653 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.5225, allocations: 62.25 kB / 0.653 GB, free: 8.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.5225, allocations: 26.42 kB / 0.6531 GB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.5228, allocations: 405.3 kB / 0.6535 GB, free: 7.824 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5228, allocations: 42.44 kB / 0.6535 GB, free: 7.773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.5228, allocations: 0 / 0.6535 GB, free: 7.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002736/0.5231, allocations: 95.36 kB / 0.6536 GB, free: 7.684 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5232, allocations: 51.41 kB / 0.6536 GB, free: 7.621 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.044e-05/0.5232, allocations: 92.88 kB / 0.6537 GB, free: 7.527 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.5232, allocations: 25.7 kB / 0.6537 GB, free: 7.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.5232, allocations: 80.33 kB / 0.6538 GB, free: 7.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.5233, allocations: 19.53 kB / 0.6538 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5233, allocations: 0 / 0.6538 GB, free: 7.395 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5234, allocations: 322.8 kB / 0.6541 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.5234, allocations: 15.88 kB / 0.6542 GB, free: 7.059 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.5235, allocations: 23.8 kB / 0.6542 GB, free: 7.039 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5236, allocations: 23.86 kB / 0.6542 GB, free: 7.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5236, allocations: 0 / 0.6542 GB, free: 7.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000211/0.5238, allocations: 93.36 kB / 0.6543 GB, free: 6.934 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5239, allocations: 5.094 kB / 0.6543 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5239, allocations: 0 / 0.6543 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5239, allocations: 0 / 0.6543 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.524, allocations: 19.98 kB / 0.6543 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.524, allocations: 4 kB / 0.6543 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.524, allocations: 11.84 kB / 0.6543 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.524, allocations: 0 / 0.6543 GB, free: 6.895 MB / 458.7 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 (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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.5241, allocations: 116.2 kB / 0.6544 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.5241, allocations: 4 kB / 0.6545 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.5244, allocations: 125.4 kB / 0.6546 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5244, allocations: 4 kB / 0.6546 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5244, allocations: 0 / 0.6546 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.5244, allocations: 0 / 0.6546 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.5245, allocations: 158 kB / 0.6547 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5246, allocations: 3.438 kB / 0.6547 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.5246, allocations: 19.95 kB / 0.6547 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5246, allocations: 3.984 kB / 0.6548 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5246, allocations: 0 / 0.6548 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5247, allocations: 0 / 0.6548 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5247, allocations: 0 / 0.6548 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.5249, allocations: 124.6 kB / 0.6549 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.5249, allocations: 77.11 kB / 0.6549 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.5249, allocations: 3.953 kB / 0.6549 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.525, allocations: 7.938 kB / 0.655 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.525, allocations: 7.984 kB / 0.655 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.525, allocations: 0 / 0.655 GB, free: 6.211 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.525, allocations: 75.28 kB / 0.655 GB, free: 6.137 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.525, allocations: 3.938 kB / 0.655 GB, free: 6.133 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.5252, allocations: 23.94 kB / 0.6551 GB, free: 6.109 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.5254, allocations: 112.4 kB / 0.6552 GB, free: 5.988 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.5255, allocations: 59.3 kB / 0.6552 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5255, allocations: 0 / 0.6552 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.5255, allocations: 31.86 kB / 0.6553 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.444e-05/0.5256, allocations: 4 kB / 0.6553 GB, free: 5.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.5258, allocations: 91.8 kB / 0.6553 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.526, allocations: 0.6885 MB / 0.656 GB, free: 5.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.5261, allocations: 39.92 kB / 0.6561 GB, free: 5.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.5261, allocations: 11.44 kB / 0.6561 GB, free: 5.039 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5261, allocations: 0 / 0.6561 GB, free: 5.039 MB / 458.7 MB Notification: Performance of Templates: time 0.002082/0.5282, allocations: 0.553 MB / 0.6566 GB, free: 4.496 MB / 458.7 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)