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.008401/0.008401, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001524/0.001524, allocations: 190.5 kB / 16.79 MB, free: 5.805 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.539 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 0.9904/0.9904, allocations: 143 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.89 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1657, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002855/0.1686, allocations: 1.593 MB / 0.5958 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.169, allocations: 132.4 kB / 0.5959 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1691, allocations: 4 kB / 0.5959 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.877e-05/0.1691, allocations: 3.938 kB / 0.5959 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.1692, allocations: 7.984 kB / 0.596 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1694, allocations: 27.92 kB / 0.596 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.1695, allocations: 27.92 kB / 0.596 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1696, allocations: 15.98 kB / 0.596 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1696, allocations: 19.91 kB / 0.596 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.1697, allocations: 15.92 kB / 0.5961 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1697, allocations: 4 kB / 0.5961 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1698, allocations: 19.98 kB / 0.5961 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1698, allocations: 4 kB / 0.5961 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.1698, allocations: 15.88 kB / 0.5961 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.971e-05/0.1699, allocations: 31.94 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1699, allocations: 0 / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1699, allocations: 0 / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1699, allocations: 4 kB / 0.5961 GB, free: 8.105 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.0005089/0.1705, allocations: 355.6 kB / 0.5965 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1705, allocations: 8.031 kB / 0.5965 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.1705, allocations: 4.938 kB / 0.5965 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1707, allocations: 172.3 kB / 0.5967 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1707, allocations: 4.375 kB / 0.5967 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1707, allocations: 384 / 0.5967 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1709, allocations: 66.22 kB / 0.5967 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1709, allocations: 4.125 kB / 0.5967 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1709, allocations: 3.938 kB / 0.5967 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.171, allocations: 0 / 0.5967 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1712, allocations: 47.95 kB / 0.5968 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1716, allocations: 288.7 kB / 0.597 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.1719, allocations: 58.48 kB / 0.5971 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.172, allocations: 28.89 kB / 0.5971 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.1723, allocations: 397.5 kB / 0.5975 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1723, allocations: 34.56 kB / 0.5975 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1723, allocations: 0 / 0.5975 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.1727, allocations: 93.62 kB / 0.5976 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1728, allocations: 51.41 kB / 0.5977 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.1729, allocations: 109.8 kB / 0.5978 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1729, allocations: 41.58 kB / 0.5978 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.1729, allocations: 80.14 kB / 0.5979 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.1729, allocations: 3.906 kB / 0.5979 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.173, allocations: 21.7 kB / 0.5979 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1731, allocations: 322.8 kB / 0.5982 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.1732, allocations: 11.98 kB / 0.5982 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.1733, allocations: 27.97 kB / 0.5983 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.1735, allocations: 45.09 kB / 0.5983 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1735, allocations: 4 kB / 0.5983 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.1737, allocations: 77.55 kB / 0.5984 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.1737, allocations: 10.5 kB / 0.5984 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1737, allocations: 0 / 0.5984 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1738, allocations: 0 / 0.5984 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1739, allocations: 19.92 kB / 0.5984 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1739, allocations: 0 / 0.5984 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.1739, allocations: 7.984 kB / 0.5984 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1739, allocations: 0 / 0.5984 GB, free: 5.438 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 7.244e-05/0.174, allocations: 113.8 kB / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.174, allocations: 0 / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.1743, allocations: 89.55 kB / 0.5986 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1743, allocations: 0 / 0.5986 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1743, allocations: 0 / 0.5986 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1744, allocations: 3.938 kB / 0.5986 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1745, allocations: 173.6 kB / 0.5988 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1745, allocations: 0 / 0.5988 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.1746, allocations: 15.92 kB / 0.5988 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1746, allocations: 0 / 0.5988 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1746, allocations: 3.984 kB / 0.5988 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1746, allocations: 4 kB / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1746, allocations: 0 / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1749, allocations: 175.4 kB / 0.599 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.175, allocations: 77.11 kB / 0.5991 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.175, allocations: 3.984 kB / 0.5991 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.1751, allocations: 4 kB / 0.5991 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1752, allocations: 15.92 kB / 0.5991 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1752, allocations: 4 kB / 0.5991 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.1752, allocations: 95.56 kB / 0.5992 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1752, allocations: 0 / 0.5992 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1755, allocations: 8 kB / 0.5992 GB, free: 4.559 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.000165/0.1756, allocations: 99.25 kB / 0.5993 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1759, allocations: 47.89 kB / 0.5993 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1759, allocations: 4 kB / 0.5993 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.176, allocations: 27.97 kB / 0.5994 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1763, allocations: 11.88 kB / 0.5994 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.1767, allocations: 148.9 kB / 0.5995 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1769, allocations: 0.6809 MB / 0.6002 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.177, allocations: 15.42 kB / 0.6002 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.177, allocations: 0 / 0.6002 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.002244/0.1792, allocations: 0.8036 MB / 0.601 GB, free: 2.66 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)