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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108 kB / 15.61 MB, free: 148 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.001932/0.001932, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.9833/0.9833, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 82.04 MB / 0.5944 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002044/0.1674, allocations: 0.5725 MB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003147/0.1678, allocations: 67.77 kB / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.1678, allocations: 0 / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.1679, allocations: 0 / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.1679, allocations: 0 / 0.595 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1682, allocations: 19.92 kB / 0.595 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.1683, allocations: 31.95 kB / 0.5951 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1684, allocations: 4 kB / 0.5951 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.1684, allocations: 8 kB / 0.5951 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.1684, allocations: 23.91 kB / 0.5951 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1685, allocations: 0 / 0.5951 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.1685, allocations: 15.98 kB / 0.5951 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1686, allocations: 12 kB / 0.5951 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.1686, allocations: 11.94 kB / 0.5951 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1687, allocations: 35.83 kB / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1688, allocations: 0 / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1688, allocations: 0 / 0.5952 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1688, allocations: 0 / 0.5952 GB, free: 8.664 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.0003429/0.1691, allocations: 339.6 kB / 0.5955 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1692, allocations: 12.03 kB / 0.5955 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1692, allocations: 38.75 kB / 0.5956 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1692, allocations: 8.844 kB / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1694, allocations: 168.5 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1694, allocations: 8.297 kB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1694, allocations: 8.375 kB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1696, allocations: 58.23 kB / 0.5958 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1696, allocations: 3.938 kB / 0.5958 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1696, allocations: 4 kB / 0.5958 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1696, allocations: 4 kB / 0.5958 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1697, allocations: 107.8 kB / 0.5959 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.1699, allocations: 169.7 kB / 0.5961 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.17, allocations: 78.47 kB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.1701, allocations: 32.84 kB / 0.5962 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.1704, allocations: 397.5 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1705, allocations: 30.89 kB / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1705, allocations: 4 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002415/0.1707, allocations: 125.8 kB / 0.5967 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1707, allocations: 55.34 kB / 0.5968 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.549e-05/0.1708, allocations: 93.86 kB / 0.5969 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1708, allocations: 29.7 kB / 0.5969 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.1708, allocations: 80.14 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1709, allocations: 23.66 kB / 0.597 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1709, allocations: 33.7 kB / 0.597 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.171, allocations: 318.8 kB / 0.5973 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.1711, allocations: 19.98 kB / 0.5973 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.1711, allocations: 27.97 kB / 0.5974 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.1712, allocations: 56.84 kB / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1712, allocations: 0 / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001348/0.1713, allocations: 89.66 kB / 0.5975 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1714, allocations: 7.938 kB / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1714, allocations: 0 / 0.5975 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1714, allocations: 3.938 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1715, allocations: 19.94 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1715, allocations: 7.938 kB / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.1715, allocations: 15.89 kB / 0.5976 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1716, allocations: 0 / 0.5976 GB, free: 5.906 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 (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.0001672/0.1717, allocations: 117.8 kB / 0.5977 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1718, allocations: 11.92 kB / 0.5977 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.172, allocations: 129.4 kB / 0.5978 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.172, allocations: 0 / 0.5978 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.172, allocations: 4 kB / 0.5978 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.172, allocations: 0 / 0.5978 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1721, allocations: 173.6 kB / 0.598 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1722, allocations: 0 / 0.598 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.1722, allocations: 16 kB / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1722, allocations: 3.938 kB / 0.598 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1723, allocations: 7.984 kB / 0.598 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1723, allocations: 8 kB / 0.598 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1723, allocations: 0 / 0.598 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1724, allocations: 121 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.1725, allocations: 96.88 kB / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1725, allocations: 0 / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.1725, allocations: 0 / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1726, allocations: 11.98 kB / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1726, allocations: 4 kB / 0.5982 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.1726, allocations: 75.28 kB / 0.5983 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 0.5983 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002058/0.1728, allocations: 20 kB / 0.5983 GB, free: 5.016 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 (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.0004624/0.1733, allocations: 0.6702 MB / 0.599 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1735, allocations: 71.94 kB / 0.599 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1735, allocations: 4 kB / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.1735, allocations: 39.92 kB / 0.5991 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1737, allocations: 4 kB / 0.5991 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.1741, allocations: 182.5 kB / 0.5993 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1743, allocations: 0.6807 MB / 0.5999 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.937e-05/0.1744, allocations: 43.92 kB / 0.6 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.1744, allocations: 19.38 kB / 0.6 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1744, allocations: 0 / 0.6 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.1908, allocations: 1.567 MB / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.569, allocations: 3.531 kB / 0.6015 GB, free: 1.77 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)