Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0007552/0.0007552, allocations: 92.78 kB / 16.02 MB, free: 80 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.0008555/0.0008555, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.022/1.022, allocations: 143.2 MB / 435.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 12 kB / 0.5171 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 83.41 MB / 0.5985 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007543/0.1639, allocations: 323 kB / 0.5988 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.1642, allocations: 51.86 kB / 0.5989 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1642, allocations: 0 / 0.5989 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.1643, allocations: 0 / 0.5989 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.1643, allocations: 0 / 0.5989 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1645, allocations: 15.91 kB / 0.5989 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.1646, allocations: 27.98 kB / 0.5989 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.1647, allocations: 4 kB / 0.5989 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.1647, allocations: 11.98 kB / 0.5989 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.1647, allocations: 11.98 kB / 0.5989 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1648, allocations: 7.938 kB / 0.5989 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.1648, allocations: 15.98 kB / 0.599 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.1649, allocations: 8 kB / 0.599 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.1649, allocations: 41.61 kB / 0.599 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.165, allocations: 23.97 kB / 0.599 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.165, allocations: 4 kB / 0.599 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.165, allocations: 0 / 0.599 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.165, allocations: 0 / 0.599 GB, free: 7.102 MB / 0.4981 GB 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.1653, allocations: 323.6 kB / 0.5993 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1654, allocations: 8.031 kB / 0.5994 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1654, allocations: 8.844 kB / 0.5994 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/0.1655, allocations: 172.6 kB / 0.5995 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1655, allocations: 384 / 0.5995 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1656, allocations: 12.25 kB / 0.5995 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1657, allocations: 62.22 kB / 0.5996 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1657, allocations: 192 / 0.5996 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1657, allocations: 11.94 kB / 0.5996 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1658, allocations: 0 / 0.5996 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1659, allocations: 103.9 kB / 0.5997 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1661, allocations: 181.6 kB / 0.5999 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1662, allocations: 74.48 kB / 0.6 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.1663, allocations: 24.84 kB / 0.6 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.1666, allocations: 405.5 kB / 0.6004 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1666, allocations: 34.56 kB / 0.6004 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1666, allocations: 4 kB / 0.6004 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002433/0.1669, allocations: 117.8 kB / 0.6005 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1669, allocations: 51.41 kB / 0.6006 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.486e-05/0.167, allocations: 93.86 kB / 0.6006 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.167, allocations: 29.7 kB / 0.6007 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.167, allocations: 88.12 kB / 0.6008 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1671, allocations: 19.66 kB / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1671, allocations: 21.66 kB / 0.6008 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1672, allocations: 318.8 kB / 0.6011 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.1672, allocations: 23.98 kB / 0.6011 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.1673, allocations: 23.98 kB / 0.6012 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.09e-05/0.1674, allocations: 56.78 kB / 0.6012 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1674, allocations: 0 / 0.6012 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000137/0.1675, allocations: 90.31 kB / 0.6013 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1676, allocations: 8 kB / 0.6013 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1676, allocations: 3.938 kB / 0.6013 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1676, allocations: 0 / 0.6013 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1677, allocations: 23.92 kB / 0.6013 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1677, allocations: 0 / 0.6013 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.1677, allocations: 11.91 kB / 0.6013 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1678, allocations: 7.938 kB / 0.6013 GB, free: 4.418 MB / 0.4981 GB 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.0001356/0.1679, allocations: 124 kB / 0.6015 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.1679, allocations: 0 / 0.6015 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.1681, allocations: 133.5 kB / 0.6016 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1681, allocations: 4 kB / 0.6016 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1682, allocations: 0 / 0.6016 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1682, allocations: 0 / 0.6016 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1683, allocations: 177.5 kB / 0.6018 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1683, allocations: 4 kB / 0.6018 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.1684, allocations: 15.98 kB / 0.6018 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.1684, allocations: 7.938 kB / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1684, allocations: 0 / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1684, allocations: 0 / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1684, allocations: 0 / 0.6018 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1686, allocations: 136.9 kB / 0.6019 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.1686, allocations: 88.94 kB / 0.602 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.1686, allocations: 0 / 0.602 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.1687, allocations: 0 / 0.602 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1687, allocations: 15.98 kB / 0.602 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1687, allocations: 4 kB / 0.602 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.1688, allocations: 75.28 kB / 0.6021 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1688, allocations: 0 / 0.6021 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002027/0.169, allocations: 16 kB / 0.6021 GB, free: 3.527 MB / 0.4981 GB 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.0001834/0.1692, allocations: 119.2 kB / 0.6022 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1693, allocations: 67.84 kB / 0.6023 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1693, allocations: 0 / 0.6023 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.1694, allocations: 31.98 kB / 0.6023 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1695, allocations: 7.938 kB / 0.6023 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.1698, allocations: 182.9 kB / 0.6025 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.17, allocations: 0.6809 MB / 0.6032 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1701, allocations: 23.42 kB / 0.6032 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.1701, allocations: 0 / 0.6032 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.002394/0.1725, allocations: 0.9664 MB / 0.6041 GB, free: 1.395 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)