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.0008055/0.0008055, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009179/0.0009179, allocations: 172.2 kB / 16.58 MB, free: 6.852 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.351/1.351, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7752/0.7752, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003164, allocations: 12 kB / 495.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 77.53 MB / 0.5593 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006252/0.133, allocations: 299.8 kB / 0.5596 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.1333, allocations: 62.34 kB / 0.5597 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.1333, allocations: 0 / 0.5597 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1333, allocations: 0 / 0.5597 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.1333, allocations: 3.938 kB / 0.5597 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1335, allocations: 11.98 kB / 0.5597 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.1336, allocations: 19.98 kB / 0.5597 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1337, allocations: 11.97 kB / 0.5597 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.1337, allocations: 12 kB / 0.5597 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.1337, allocations: 15.92 kB / 0.5598 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1337, allocations: 0 / 0.5598 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.1338, allocations: 15.98 kB / 0.5598 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.1338, allocations: 11.98 kB / 0.5598 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1339, allocations: 29.7 kB / 0.5598 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.995e-05/0.1339, allocations: 19.97 kB / 0.5598 GB, free: 8.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.134, allocations: 0 / 0.5598 GB, free: 8.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.134, allocations: 0 / 0.5598 GB, free: 8.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.134, allocations: 0 / 0.5598 GB, free: 8.926 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.0002669/0.1342, allocations: 327.4 kB / 0.5601 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1343, allocations: 8.031 kB / 0.5602 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1343, allocations: 7.906 kB / 0.5602 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.1344, allocations: 167.2 kB / 0.5603 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1344, allocations: 4 kB / 0.5603 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1344, allocations: 8 kB / 0.5603 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1346, allocations: 61.66 kB / 0.5604 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1346, allocations: 3.953 kB / 0.5604 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1346, allocations: 0 / 0.5604 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1346, allocations: 0 / 0.5604 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1348, allocations: 107.8 kB / 0.5605 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1349, allocations: 177.6 kB / 0.5607 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1351, allocations: 74.48 kB / 0.5607 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.1351, allocations: 36.84 kB / 0.5608 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.1354, allocations: 401.5 kB / 0.5612 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1355, allocations: 30.56 kB / 0.5612 GB, free: 7.285 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1355, allocations: 4 kB / 0.5612 GB, free: 7.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002382/0.1357, allocations: 129.7 kB / 0.5613 GB, free: 7.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1358, allocations: 51.41 kB / 0.5614 GB, free: 7.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.1358, allocations: 89.86 kB / 0.5614 GB, free: 6.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1359, allocations: 29.7 kB / 0.5615 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1359, allocations: 88.31 kB / 0.5616 GB, free: 6.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1359, allocations: 23.66 kB / 0.5616 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.1359, allocations: 0 / 0.5616 GB, free: 6.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1361, allocations: 314.8 kB / 0.5619 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.1361, allocations: 23.98 kB / 0.5619 GB, free: 6.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.1361, allocations: 19.98 kB / 0.5619 GB, free: 6.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.1362, allocations: 25.08 kB / 0.5619 GB, free: 6.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1362, allocations: 0 / 0.5619 GB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001314/0.1363, allocations: 97.55 kB / 0.562 GB, free: 6.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1364, allocations: 4 kB / 0.562 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1364, allocations: 3.984 kB / 0.562 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.1364, allocations: 0 / 0.562 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1365, allocations: 16 kB / 0.5621 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1365, allocations: 3.953 kB / 0.5621 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1365, allocations: 7.906 kB / 0.5621 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1365, allocations: 7.984 kB / 0.5621 GB, free: 6.309 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.0001079/0.1366, allocations: 117.8 kB / 0.5622 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1367, allocations: 4 kB / 0.5622 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1369, allocations: 139.4 kB / 0.5623 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1369, allocations: 4 kB / 0.5623 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1369, allocations: 0 / 0.5623 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1369, allocations: 3.953 kB / 0.5623 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.137, allocations: 173.7 kB / 0.5625 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.137, allocations: 3.984 kB / 0.5625 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.1371, allocations: 12 kB / 0.5625 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1371, allocations: 4 kB / 0.5625 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1371, allocations: 0 / 0.5625 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1371, allocations: 3.984 kB / 0.5625 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1372, allocations: 0 / 0.5625 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1373, allocations: 125.3 kB / 0.5626 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.1373, allocations: 85.05 kB / 0.5627 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1374, allocations: 11.92 kB / 0.5627 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.1374, allocations: 0 / 0.5627 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1374, allocations: 4 kB / 0.5627 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1374, allocations: 7.984 kB / 0.5627 GB, free: 5.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.1375, allocations: 75.28 kB / 0.5628 GB, free: 5.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1375, allocations: 0 / 0.5628 GB, free: 5.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000199/0.1377, allocations: 16 kB / 0.5628 GB, free: 5.434 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.0001611/0.1378, allocations: 119.1 kB / 0.5629 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.138, allocations: 64.44 kB / 0.563 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.138, allocations: 0 / 0.563 GB, free: 5.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.138, allocations: 31.92 kB / 0.563 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1382, allocations: 11.27 kB / 0.5631 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.1384, allocations: 150.9 kB / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1387, allocations: 0.6809 MB / 0.5639 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.565e-05/0.1387, allocations: 39.95 kB / 0.5639 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.1388, allocations: 15.44 kB / 0.5639 GB, free: 4.273 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1388, allocations: 0 / 0.5639 GB, free: 4.273 MB / 430.1 MB Notification: Performance of Templates: time 0.002419/0.1412, allocations: 0.5639 MB / 0.5645 GB, free: 3.715 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)