Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009798/0.0009799, allocations: 92.16 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.001193/0.001193, allocations: 174.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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.328 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.014/1.014, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 12 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 83.4 MB / 0.5985 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001745/0.1665, allocations: 1.25 MB / 0.5997 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.1669, allocations: 132.5 kB / 0.5998 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.167, allocations: 0 / 0.5998 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.167, allocations: 4 kB / 0.5998 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.167, allocations: 7.922 kB / 0.5999 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1673, allocations: 23.97 kB / 0.5999 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.1674, allocations: 35.86 kB / 0.5999 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1675, allocations: 11.94 kB / 0.5999 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1675, allocations: 15.92 kB / 0.5999 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.1676, allocations: 19.91 kB / 0.6 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1676, allocations: 0 / 0.6 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.1677, allocations: 23.98 kB / 0.6 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.1677, allocations: 4 kB / 0.6 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.1677, allocations: 37.64 kB / 0.6 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.994e-05/0.1678, allocations: 27.92 kB / 0.6 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1679, allocations: 0 / 0.6 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.567e-06/0.1679, allocations: 0 / 0.6 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1679, allocations: 3.938 kB / 0.6001 GB, free: 6.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004713/0.1683, allocations: 355.7 kB / 0.6004 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1684, allocations: 12.03 kB / 0.6004 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1684, allocations: 0.9375 kB / 0.6004 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1686, allocations: 172.3 kB / 0.6006 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1686, allocations: 4.375 kB / 0.6006 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1686, allocations: 4.375 kB / 0.6006 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1688, allocations: 70.16 kB / 0.6006 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1689, allocations: 4.188 kB / 0.6006 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1689, allocations: 3.938 kB / 0.6006 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1689, allocations: 4 kB / 0.6007 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1691, allocations: 51.95 kB / 0.6007 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1695, allocations: 284.8 kB / 0.601 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.1698, allocations: 66.47 kB / 0.601 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.17, allocations: 32.91 kB / 0.6011 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.1703, allocations: 401.6 kB / 0.6015 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1703, allocations: 30.56 kB / 0.6015 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1703, allocations: 0 / 0.6015 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004393/0.1707, allocations: 125.6 kB / 0.6016 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1708, allocations: 51.41 kB / 0.6017 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.1709, allocations: 109.8 kB / 0.6018 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1709, allocations: 25.7 kB / 0.6018 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.171, allocations: 84.14 kB / 0.6019 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.171, allocations: 7.891 kB / 0.6019 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.171, allocations: 17.72 kB / 0.6019 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1711, allocations: 318.8 kB / 0.6022 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1713, allocations: 27.97 kB / 0.6022 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.1713, allocations: 23.98 kB / 0.6022 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1715, allocations: 56.81 kB / 0.6023 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1716, allocations: 3.938 kB / 0.6023 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002474/0.1718, allocations: 93.5 kB / 0.6024 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1718, allocations: 4 kB / 0.6024 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1719, allocations: 7.938 kB / 0.6024 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1719, allocations: 0 / 0.6024 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.172, allocations: 11.98 kB / 0.6024 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.172, allocations: 0 / 0.6024 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.172, allocations: 11.98 kB / 0.6024 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.1721, allocations: 0 / 0.6024 GB, free: 3.332 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.268e-05/0.1721, allocations: 121.8 kB / 0.6025 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1722, allocations: 0 / 0.6025 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.1725, allocations: 97.48 kB / 0.6026 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1725, allocations: 8 kB / 0.6026 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1725, allocations: 0 / 0.6026 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1725, allocations: 0 / 0.6026 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1727, allocations: 165.6 kB / 0.6028 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1727, allocations: 3.984 kB / 0.6028 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.1728, allocations: 8 kB / 0.6028 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1728, allocations: 0 / 0.6028 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1728, allocations: 7.984 kB / 0.6028 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1728, allocations: 0 / 0.6028 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1728, allocations: 4 kB / 0.6028 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1731, allocations: 187.4 kB / 0.603 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.1731, allocations: 81.11 kB / 0.6031 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1732, allocations: 3.984 kB / 0.6031 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.1733, allocations: 8 kB / 0.6031 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.1733, allocations: 11.98 kB / 0.6031 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1733, allocations: 3.938 kB / 0.6031 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.1734, allocations: 87.27 kB / 0.6032 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1734, allocations: 0 / 0.6032 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002447/0.1736, allocations: 12 kB / 0.6032 GB, free: 2.43 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001693/0.1738, allocations: 100.5 kB / 0.6033 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.1741, allocations: 59.94 kB / 0.6033 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1741, allocations: 0 / 0.6033 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1742, allocations: 35.97 kB / 0.6034 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1745, allocations: 21.86 kB / 0.6034 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.1748, allocations: 154.3 kB / 0.6035 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.1751, allocations: 0.6808 MB / 0.6042 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.1751, allocations: 15.44 kB / 0.6042 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1751, allocations: 0 / 0.6042 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.002042/0.1772, allocations: 0.788 MB / 0.605 GB, free: 0.5234 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)