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.001364/0.001364, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001518/0.001518, allocations: 183 kB / 17.34 MB, free: 5.75 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.15 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.8545/0.8545, allocations: 143.1 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.7 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001794/0.1529, allocations: 0.5866 MB / 0.6769 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.1532, allocations: 59.77 kB / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1533, allocations: 0 / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1533, allocations: 8 kB / 0.677 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.1533, allocations: 0 / 0.677 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1536, allocations: 15.92 kB / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1538, allocations: 31.97 kB / 0.677 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.1538, allocations: 3.984 kB / 0.677 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.1538, allocations: 8 kB / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.1539, allocations: 15.97 kB / 0.6771 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1539, allocations: 4 kB / 0.6771 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.154, allocations: 15.98 kB / 0.6771 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.154, allocations: 11.94 kB / 0.6771 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.1541, allocations: 11.92 kB / 0.6771 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1542, allocations: 39.89 kB / 0.6771 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1542, allocations: 4 kB / 0.6771 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1542, allocations: 0 / 0.6771 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1543, allocations: 0 / 0.6771 GB, free: 9.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003585/0.1546, allocations: 335.9 kB / 0.6775 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1547, allocations: 8.031 kB / 0.6775 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.1547, allocations: 8.844 kB / 0.6775 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.1548, allocations: 164.3 kB / 0.6776 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1548, allocations: 8.312 kB / 0.6776 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1549, allocations: 8.375 kB / 0.6776 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.155, allocations: 70.16 kB / 0.6777 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.155, allocations: 192 / 0.6777 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1551, allocations: 7.875 kB / 0.6777 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1551, allocations: 3.938 kB / 0.6777 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1552, allocations: 99.88 kB / 0.6778 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.1554, allocations: 169.7 kB / 0.678 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1555, allocations: 74.48 kB / 0.6781 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.1556, allocations: 36.84 kB / 0.6781 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.156, allocations: 401.5 kB / 0.6785 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.156, allocations: 34.56 kB / 0.6785 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.156, allocations: 0 / 0.6785 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002675/0.1563, allocations: 117.9 kB / 0.6786 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1563, allocations: 51.41 kB / 0.6787 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.356e-05/0.1564, allocations: 105.8 kB / 0.6788 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1564, allocations: 25.7 kB / 0.6788 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.1564, allocations: 84.14 kB / 0.6789 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1565, allocations: 23.69 kB / 0.6789 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.1565, allocations: 33.7 kB / 0.6789 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1566, allocations: 310.8 kB / 0.6792 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.1567, allocations: 19.98 kB / 0.6792 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.1567, allocations: 19.98 kB / 0.6793 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1568, allocations: 60.83 kB / 0.6793 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1568, allocations: 0 / 0.6793 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001332/0.157, allocations: 94.17 kB / 0.6794 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.157, allocations: 8 kB / 0.6794 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.157, allocations: 3.938 kB / 0.6794 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.157, allocations: 4 kB / 0.6794 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1571, allocations: 23.92 kB / 0.6794 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1571, allocations: 4 kB / 0.6794 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1572, allocations: 4 kB / 0.6795 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1572, allocations: 7.984 kB / 0.6795 GB, free: 6.82 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: 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.0001418/0.1573, allocations: 121.8 kB / 0.6796 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1573, allocations: 7.906 kB / 0.6796 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1576, allocations: 129.4 kB / 0.6797 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1576, allocations: 4 kB / 0.6797 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1576, allocations: 0 / 0.6797 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1576, allocations: 3.984 kB / 0.6797 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1577, allocations: 173.6 kB / 0.6799 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1578, allocations: 0 / 0.6799 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.1578, allocations: 19.98 kB / 0.6799 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1578, allocations: 3.938 kB / 0.6799 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1579, allocations: 15.94 kB / 0.6799 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1579, allocations: 3.984 kB / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1579, allocations: 0 / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.158, allocations: 125 kB / 0.68 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1581, allocations: 92.89 kB / 0.6801 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1581, allocations: 0 / 0.6801 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.1581, allocations: 4 kB / 0.6801 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1582, allocations: 7.984 kB / 0.6801 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1582, allocations: 8 kB / 0.6801 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.407e-05/0.1582, allocations: 75.28 kB / 0.6802 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1582, allocations: 0 / 0.6802 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002059/0.1584, allocations: 19.98 kB / 0.6802 GB, free: 5.918 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: 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.0001815/0.1586, allocations: 107.6 kB / 0.6803 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1588, allocations: 71.89 kB / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1588, allocations: 0 / 0.6804 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.1588, allocations: 39.92 kB / 0.6804 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.159, allocations: 4 kB / 0.6805 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.1592, allocations: 170.5 kB / 0.6806 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1595, allocations: 0.6807 MB / 0.6813 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1595, allocations: 19.44 kB / 0.6813 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1595, allocations: 0 / 0.6813 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.002633/0.1622, allocations: 0.9798 MB / 0.6823 GB, free: 3.789 MB / 0.5137 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)