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.0009233/0.0009236, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.319/1.319, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6684/0.6684, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 8 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 77.16 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0005927/0.1325, allocations: 295.1 kB / 0.5571 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.1327, allocations: 51.89 kB / 0.5572 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1328, allocations: 4 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.1328, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.1328, allocations: 3.938 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.1331, allocations: 11.98 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.1332, allocations: 23.92 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.1332, allocations: 4 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.1333, allocations: 11.92 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.1333, allocations: 11.98 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1333, allocations: 4 kB / 0.5573 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1334, allocations: 15.98 kB / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.1334, allocations: 7.984 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1335, allocations: 29.64 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.1336, allocations: 27.97 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1336, allocations: 0 / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1336, allocations: 4 kB / 0.5573 GB, free: 11.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1336, allocations: 0 / 0.5573 GB, free: 11.09 MB / 430.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.0003064/0.1339, allocations: 319.4 kB / 0.5576 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1339, allocations: 12.02 kB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.134, allocations: 11.91 kB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.1341, allocations: 167.3 kB / 0.5578 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1341, allocations: 0 / 0.5578 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1341, allocations: 4 kB / 0.5578 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1342, allocations: 61.61 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1343, allocations: 7.953 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1343, allocations: 4 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1343, allocations: 7.984 kB / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1344, allocations: 104.9 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.1346, allocations: 173.7 kB / 0.5582 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1347, allocations: 70.53 kB / 0.5582 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.1351, allocations: 397.5 kB / 0.5586 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1352, allocations: 42.5 kB / 0.5587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1352, allocations: 0 / 0.5587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002351/0.1354, allocations: 122.8 kB / 0.5588 GB, free: 9.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.1354, allocations: 55.41 kB / 0.5588 GB, free: 9.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.993e-05/0.1355, allocations: 89.86 kB / 0.5589 GB, free: 9.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1355, allocations: 29.7 kB / 0.5589 GB, free: 9.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.1355, allocations: 80.33 kB / 0.559 GB, free: 9.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1356, allocations: 23.66 kB / 0.559 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1356, allocations: 0 / 0.559 GB, free: 9.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.1357, allocations: 330.8 kB / 0.5594 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.1357, allocations: 19.98 kB / 0.5594 GB, free: 8.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.1358, allocations: 19.98 kB / 0.5594 GB, free: 8.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.1358, allocations: 31.2 kB / 0.5594 GB, free: 8.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1358, allocations: 0 / 0.5594 GB, free: 8.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001264/0.1359, allocations: 89.61 kB / 0.5595 GB, free: 8.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.136, allocations: 11.94 kB / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.136, allocations: 0 / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.136, allocations: 0 / 0.5595 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1361, allocations: 19.98 kB / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1361, allocations: 7.953 kB / 0.5595 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.1362, allocations: 0 / 0.5595 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1362, allocations: 4 kB / 0.5595 GB, free: 8.52 MB / 430.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 (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 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 0.0001349/0.1363, allocations: 125.8 kB / 0.5597 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1363, allocations: 3.906 kB / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.1365, allocations: 129.6 kB / 0.5598 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1366, allocations: 8 kB / 0.5598 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1366, allocations: 0 / 0.5598 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1366, allocations: 3.953 kB / 0.5598 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1367, allocations: 169.6 kB / 0.56 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1367, allocations: 0 / 0.56 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.1368, allocations: 27.92 kB / 0.56 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1368, allocations: 0 / 0.56 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1368, allocations: 4 kB / 0.56 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1368, allocations: 0 / 0.56 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1368, allocations: 0 / 0.56 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1369, allocations: 125.3 kB / 0.5601 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.137, allocations: 81.11 kB / 0.5602 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.137, allocations: 4 kB / 0.5602 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.137, allocations: 0 / 0.5602 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1371, allocations: 11.92 kB / 0.5602 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1371, allocations: 4 kB / 0.5602 GB, free: 7.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.173e-05/0.1371, allocations: 77.42 kB / 0.5603 GB, free: 7.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1371, allocations: 0 / 0.5603 GB, free: 7.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002/0.1373, allocations: 20 kB / 0.5603 GB, free: 7.641 MB / 430.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 (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.0001896/0.1375, allocations: 119.8 kB / 0.5604 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1376, allocations: 52.84 kB / 0.5605 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1377, allocations: 0 / 0.5605 GB, free: 7.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.1377, allocations: 35.92 kB / 0.5605 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.1378, allocations: 11.94 kB / 0.5605 GB, free: 7.418 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.1381, allocations: 152.1 kB / 0.5607 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.1383, allocations: 0.6848 MB / 0.5613 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.1384, allocations: 35.95 kB / 0.5614 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.1384, allocations: 15.44 kB / 0.5614 GB, free: 6.484 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1384, allocations: 0 / 0.5614 GB, free: 6.484 MB / 430.1 MB Notification: Performance of Templates: time 0.002379/0.1408, allocations: 0.5699 MB / 0.5619 GB, free: 5.914 MB / 430.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)