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.001222/0.001222, allocations: 118.2 kB / 17.09 MB, free: 6.008 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.001147/0.001147, allocations: 190.8 kB / 18.02 MB, free: 5.094 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.21/1.21, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6615/0.6615, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 68.84 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 76.19 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001522/0.1116, allocations: 0.565 MB / 0.6333 GB, free: 3.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.1118, allocations: 51.8 kB / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.1119, allocations: 0 / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.1119, allocations: 0 / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1119, allocations: 0 / 0.6334 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1121, allocations: 23.92 kB / 0.6334 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.1122, allocations: 35.95 kB / 0.6335 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.1123, allocations: 0 / 0.6335 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.1123, allocations: 8 kB / 0.6335 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.1123, allocations: 19.91 kB / 0.6335 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1123, allocations: 0 / 0.6335 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.1124, allocations: 15.98 kB / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.1124, allocations: 16 kB / 0.6335 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.1125, allocations: 15.91 kB / 0.6335 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.1126, allocations: 31.89 kB / 0.6336 GB, free: 3.598 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1126, allocations: 0 / 0.6336 GB, free: 3.598 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1126, allocations: 0 / 0.6336 GB, free: 3.598 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1126, allocations: 0 / 0.6336 GB, free: 3.598 MB / 478.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.0002763/0.1129, allocations: 335.6 kB / 0.6339 GB, free: 3.219 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1129, allocations: 12.03 kB / 0.6339 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.113, allocations: 4.844 kB / 0.6339 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.113, allocations: 176.2 kB / 0.6341 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1131, allocations: 8.375 kB / 0.6341 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1131, allocations: 12.31 kB / 0.6341 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1132, allocations: 58.58 kB / 0.6341 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1132, allocations: 192 / 0.6341 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1132, allocations: 3.938 kB / 0.6341 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1132, allocations: 4 kB / 0.6341 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1134, allocations: 99.86 kB / 0.6342 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.1135, allocations: 165.7 kB / 0.6344 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1136, allocations: 82.47 kB / 0.6345 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.1137, allocations: 32.84 kB / 0.6345 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.114, allocations: 397.5 kB / 0.6349 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.114, allocations: 30.56 kB / 0.6349 GB, free: 1.949 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.114, allocations: 0 / 0.6349 GB, free: 1.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002132/0.1142, allocations: 130 kB / 0.635 GB, free: 1.816 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.1143, allocations: 55.41 kB / 0.6351 GB, free: 1.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.1143, allocations: 89.86 kB / 0.6352 GB, free: 1.652 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1143, allocations: 33.7 kB / 0.6352 GB, free: 1.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.1143, allocations: 80.14 kB / 0.6353 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.1144, allocations: 27.64 kB / 0.6353 GB, free: 1.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1144, allocations: 37.7 kB / 0.6353 GB, free: 1.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.1145, allocations: 318.8 kB / 0.6356 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.1146, allocations: 15.98 kB / 0.6357 GB, free: 1.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.1146, allocations: 31.97 kB / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.1147, allocations: 56.84 kB / 0.6357 GB, free: 1.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1147, allocations: 4 kB / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001256/0.1148, allocations: 89.59 kB / 0.6358 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1149, allocations: 8 kB / 0.6358 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1149, allocations: 0 / 0.6358 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1149, allocations: 3.938 kB / 0.6358 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.115, allocations: 16 kB / 0.6359 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.115, allocations: 3.984 kB / 0.6359 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.115, allocations: 15.84 kB / 0.6359 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.115, allocations: 4 kB / 0.6359 GB, free: 0.8867 MB / 478.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 9.901e-05/0.1151, allocations: 121.8 kB / 0.636 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1151, allocations: 3.984 kB / 0.636 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1153, allocations: 125.4 kB / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1153, allocations: 0 / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1153, allocations: 0 / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1154, allocations: 84.95 kB / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1154, allocations: 8 kB / 0.6362 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.1154, allocations: 4 kB / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1155, allocations: 11.98 kB / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001486/0.1156, allocations: 172.9 kB / 0.6364 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001752/0.1158, allocations: 275.2 kB / 0.6367 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.571e-05/0.1159, allocations: 32.05 kB / 0.6367 GB, free: 16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.1159, allocations: 79.28 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Backend: time 1.6e-07/0.1159, allocations: 0 / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.1163, allocations: 130.3 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003058/0.1166, allocations: 0.5683 MB / 0.6374 GB, free: 15.17 MB / 494.1 MB Notification: Performance of Templates: time 0.002436/0.119, allocations: 0.8162 MB / 0.6382 GB, free: 14.36 MB / 494.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)