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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0008778/0.000878, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009095/0.0009095, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9608/0.9608, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 12 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006696/0.1683, allocations: 318.9 kB / 0.5976 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.1685, allocations: 51.89 kB / 0.5976 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.1686, allocations: 0 / 0.5976 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.1686, allocations: 0 / 0.5976 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.1686, allocations: 3.938 kB / 0.5976 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1688, allocations: 15.92 kB / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.1689, allocations: 23.91 kB / 0.5977 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.169, allocations: 4 kB / 0.5977 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.877e-05/0.169, allocations: 11.98 kB / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.169, allocations: 8 kB / 0.5977 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.169, allocations: 8 kB / 0.5977 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.1691, allocations: 15.97 kB / 0.5977 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1691, allocations: 8 kB / 0.5977 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1692, allocations: 29.7 kB / 0.5978 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.941e-05/0.1693, allocations: 23.95 kB / 0.5978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1693, allocations: 3.938 kB / 0.5978 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1693, allocations: 0 / 0.5978 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1693, allocations: 0 / 0.5978 GB, free: 7.309 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.0003112/0.1696, allocations: 323.4 kB / 0.5981 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1697, allocations: 8.031 kB / 0.5981 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.1697, allocations: 11.91 kB / 0.5981 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1698, allocations: 171.2 kB / 0.5983 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1698, allocations: 4 kB / 0.5983 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1699, allocations: 4 kB / 0.5983 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.17, allocations: 61.61 kB / 0.5983 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.17, allocations: 0 / 0.5983 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.17, allocations: 4 kB / 0.5983 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1701, allocations: 0 / 0.5983 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1702, allocations: 107.8 kB / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1704, allocations: 177.6 kB / 0.5986 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1705, allocations: 66.55 kB / 0.5987 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.1709, allocations: 401.5 kB / 0.5991 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1709, allocations: 34.56 kB / 0.5991 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1709, allocations: 0 / 0.5991 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002671/0.1712, allocations: 117.8 kB / 0.5992 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1712, allocations: 55.41 kB / 0.5993 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.1713, allocations: 97.86 kB / 0.5994 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1713, allocations: 25.7 kB / 0.5994 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.1714, allocations: 80.33 kB / 0.5995 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1714, allocations: 23.66 kB / 0.5995 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.1714, allocations: 8 kB / 0.5995 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1715, allocations: 314.8 kB / 0.5998 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.1716, allocations: 19.98 kB / 0.5998 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.1716, allocations: 23.92 kB / 0.5998 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.1717, allocations: 27.98 kB / 0.5999 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1717, allocations: 7.953 kB / 0.5999 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001308/0.1718, allocations: 89.55 kB / 0.6 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1719, allocations: 8 kB / 0.6 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1719, allocations: 0 / 0.6 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1719, allocations: 0 / 0.6 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.172, allocations: 19.98 kB / 0.6 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.172, allocations: 0 / 0.6 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.172, allocations: 7.906 kB / 0.6 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1721, allocations: 4 kB / 0.6 GB, free: 4.742 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.1722, allocations: 132.4 kB / 0.6001 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1722, allocations: 3.953 kB / 0.6001 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.1725, allocations: 130.3 kB / 0.6002 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1725, allocations: 4 kB / 0.6002 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1725, allocations: 0 / 0.6002 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1725, allocations: 0 / 0.6002 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1726, allocations: 173.6 kB / 0.6004 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1726, allocations: 4 kB / 0.6004 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.1727, allocations: 23.94 kB / 0.6004 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1727, allocations: 0 / 0.6004 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1727, allocations: 12 kB / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1727, allocations: 0 / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1728, allocations: 3.938 kB / 0.6005 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1729, allocations: 125.4 kB / 0.6006 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.173, allocations: 85.09 kB / 0.6007 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.173, allocations: 3.953 kB / 0.6007 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.173, allocations: 8 kB / 0.6007 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1731, allocations: 7.984 kB / 0.6007 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1731, allocations: 4 kB / 0.6007 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.1731, allocations: 75.28 kB / 0.6008 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 0.6008 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002036/0.1733, allocations: 16 kB / 0.6008 GB, free: 3.844 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/0.1735, allocations: 119.1 kB / 0.6009 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1737, allocations: 59.97 kB / 0.6009 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1737, allocations: 0 / 0.6009 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.1737, allocations: 35.91 kB / 0.601 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.49e-05/0.1738, allocations: 4 kB / 0.601 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.1741, allocations: 142.7 kB / 0.6011 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1744, allocations: 0.6926 MB / 0.6018 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.1744, allocations: 39.86 kB / 0.6018 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.1745, allocations: 15.44 kB / 0.6018 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1745, allocations: 0 / 0.6018 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.002469/0.1769, allocations: 0.5704 MB / 0.6024 GB, free: 2.113 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: