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.00113/0.001129, allocations: 108 kB / 16.41 MB, free: 6.027 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.001042/0.001042, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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 0.8472/0.8472, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.41 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 82.03 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002838/0.165, allocations: 1.54 MB / 0.6778 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004215/0.1654, allocations: 144.4 kB / 0.6779 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.1655, allocations: 0 / 0.6779 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.1655, allocations: 3.938 kB / 0.6779 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.1656, allocations: 0 / 0.6779 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1659, allocations: 27.91 kB / 0.678 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.015e-05/0.166, allocations: 39.86 kB / 0.678 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1661, allocations: 15.97 kB / 0.678 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.1662, allocations: 12 kB / 0.678 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.1662, allocations: 19.92 kB / 0.6781 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1662, allocations: 4 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1663, allocations: 19.98 kB / 0.6781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.1664, allocations: 15.92 kB / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.1664, allocations: 19.92 kB / 0.6781 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1665, allocations: 39.88 kB / 0.6782 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1666, allocations: 0 / 0.6782 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1666, allocations: 3.938 kB / 0.6782 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.1666, allocations: 0 / 0.6782 GB, free: 8.402 MB / 0.5137 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.0004921/0.1671, allocations: 359.3 kB / 0.6785 GB, free: 8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1671, allocations: 16.02 kB / 0.6785 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1672, allocations: 0.9375 kB / 0.6785 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1673, allocations: 172.3 kB / 0.6787 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1673, allocations: 384 / 0.6787 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1673, allocations: 4.375 kB / 0.6787 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1676, allocations: 62.22 kB / 0.6787 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1676, allocations: 192 / 0.6787 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1676, allocations: 3.938 kB / 0.6788 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1676, allocations: 4 kB / 0.6788 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1678, allocations: 55.88 kB / 0.6788 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1682, allocations: 272.8 kB / 0.6791 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.1686, allocations: 58.53 kB / 0.6791 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.1687, allocations: 28.91 kB / 0.6792 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.169, allocations: 401.5 kB / 0.6795 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.169, allocations: 38.5 kB / 0.6796 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.169, allocations: 0 / 0.6796 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003971/0.1694, allocations: 89.55 kB / 0.6797 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1695, allocations: 59.39 kB / 0.6797 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1696, allocations: 121.8 kB / 0.6798 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1696, allocations: 25.7 kB / 0.6799 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1696, allocations: 80.14 kB / 0.6799 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1697, allocations: 11.91 kB / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1697, allocations: 13.72 kB / 0.68 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1698, allocations: 322.8 kB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.1699, allocations: 19.98 kB / 0.6803 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.17, allocations: 27.91 kB / 0.6803 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1702, allocations: 44.83 kB / 0.6804 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1702, allocations: 0 / 0.6804 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002327/0.1704, allocations: 77.64 kB / 0.6804 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1705, allocations: 4 kB / 0.6804 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1705, allocations: 7.938 kB / 0.6804 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1705, allocations: 0 / 0.6804 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.1706, allocations: 11.98 kB / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1706, allocations: 0 / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.1707, allocations: 7.906 kB / 0.6805 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1707, allocations: 4 kB / 0.6805 GB, free: 5.727 MB / 0.5137 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.465e-05/0.1708, allocations: 122.4 kB / 0.6806 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1708, allocations: 4 kB / 0.6806 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.1711, allocations: 81.55 kB / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1711, allocations: 0 / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1711, allocations: 0 / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1711, allocations: 4 kB / 0.6807 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1713, allocations: 169.7 kB / 0.6808 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1713, allocations: 4 kB / 0.6808 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.1714, allocations: 7.984 kB / 0.6808 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1714, allocations: 4.375 kB / 0.6808 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1714, allocations: 4 kB / 0.6808 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1714, allocations: 0 / 0.6808 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1714, allocations: 0 / 0.6808 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1717, allocations: 183.3 kB / 0.681 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1717, allocations: 81.05 kB / 0.6811 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1718, allocations: 8 kB / 0.6811 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.1719, allocations: 7.984 kB / 0.6811 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1719, allocations: 4 kB / 0.6811 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1719, allocations: 4 kB / 0.6811 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.172, allocations: 87.27 kB / 0.6812 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.172, allocations: 0 / 0.6812 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002308/0.1722, allocations: 8 kB / 0.6812 GB, free: 4.855 MB / 0.5137 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.000165/0.1724, allocations: 107.2 kB / 0.6813 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1727, allocations: 51.89 kB / 0.6814 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1727, allocations: 3.938 kB / 0.6814 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1728, allocations: 19.98 kB / 0.6814 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1731, allocations: 11.94 kB / 0.6814 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.1734, allocations: 143.1 kB / 0.6815 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1737, allocations: 0.6807 MB / 0.6822 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1737, allocations: 19.38 kB / 0.6822 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1737, allocations: 0 / 0.6822 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of Templates: time 0.002265/0.176, allocations: 0.8086 MB / 0.683 GB, free: 2.945 MB / 0.5137 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)