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.01034/0.01034, allocations: 100.5 kB / 15.73 MB, free: 5.602 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.001976/0.001975, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.879/0.879, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.36 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1474, allocations: 82.03 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001737/0.1492, allocations: 0.5906 MB / 0.6758 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002664/0.1495, allocations: 63.77 kB / 0.6758 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.1495, allocations: 0 / 0.6758 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.1495, allocations: 3.938 kB / 0.6758 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.1496, allocations: 0 / 0.6758 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1498, allocations: 11.98 kB / 0.6759 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.392e-05/0.1499, allocations: 35.97 kB / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.15, allocations: 0 / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.15, allocations: 15.98 kB / 0.6759 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.15, allocations: 7.984 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1501, allocations: 0 / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.1501, allocations: 15.98 kB / 0.6759 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.1502, allocations: 19.92 kB / 0.6759 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1502, allocations: 11.94 kB / 0.676 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1503, allocations: 40.11 kB / 0.676 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1504, allocations: 3.938 kB / 0.676 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1504, allocations: 4 kB / 0.676 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1504, allocations: 0 / 0.676 GB, free: 9.984 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.0003364/0.1507, allocations: 341.6 kB / 0.6763 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1508, allocations: 12.03 kB / 0.6763 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1508, allocations: 34.75 kB / 0.6764 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.1508, allocations: 4.938 kB / 0.6764 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.1509, allocations: 160.4 kB / 0.6765 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.151, allocations: 4.375 kB / 0.6765 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.151, allocations: 4.375 kB / 0.6765 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1511, allocations: 74.16 kB / 0.6766 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1512, allocations: 3.938 kB / 0.6766 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1512, allocations: 7.875 kB / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1512, allocations: 0 / 0.6766 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1513, allocations: 103.9 kB / 0.6767 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1515, allocations: 173.6 kB / 0.6769 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1517, allocations: 70.55 kB / 0.677 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.1517, allocations: 36.84 kB / 0.677 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.1521, allocations: 405.5 kB / 0.6774 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1521, allocations: 30.56 kB / 0.6774 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1521, allocations: 3.938 kB / 0.6774 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002817/0.1524, allocations: 121.8 kB / 0.6775 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1525, allocations: 51.41 kB / 0.6776 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.1525, allocations: 105.8 kB / 0.6777 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1525, allocations: 25.7 kB / 0.6777 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1526, allocations: 80.14 kB / 0.6778 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1526, allocations: 23.84 kB / 0.6778 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.1527, allocations: 33.7 kB / 0.6778 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1528, allocations: 310.8 kB / 0.6781 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.1528, allocations: 19.98 kB / 0.6781 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.1529, allocations: 19.98 kB / 0.6782 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.153, allocations: 68.77 kB / 0.6782 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.153, allocations: 3.938 kB / 0.6782 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001414/0.1532, allocations: 89.62 kB / 0.6783 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1532, allocations: 7.938 kB / 0.6783 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1532, allocations: 4 kB / 0.6783 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.1532, allocations: 7.984 kB / 0.6783 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1533, allocations: 12 kB / 0.6783 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1533, allocations: 4 kB / 0.6784 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.1534, allocations: 7.938 kB / 0.6784 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1534, allocations: 7.984 kB / 0.6784 GB, free: 7.234 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.0001523/0.1536, allocations: 117.8 kB / 0.6785 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.1536, allocations: 11.89 kB / 0.6785 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.1538, allocations: 125.5 kB / 0.6786 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1538, allocations: 4 kB / 0.6786 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1538, allocations: 0 / 0.6786 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1538, allocations: 0 / 0.6786 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.154, allocations: 173.6 kB / 0.6788 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.154, allocations: 0 / 0.6788 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.1541, allocations: 27.86 kB / 0.6788 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1541, allocations: 3.938 kB / 0.6788 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1541, allocations: 8 kB / 0.6788 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1541, allocations: 0 / 0.6788 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1541, allocations: 7.984 kB / 0.6788 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1543, allocations: 113.9 kB / 0.6789 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1543, allocations: 92.94 kB / 0.679 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1544, allocations: 3.984 kB / 0.679 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.1544, allocations: 7.984 kB / 0.679 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1544, allocations: 4 kB / 0.679 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.1544, allocations: 7.984 kB / 0.679 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.1545, allocations: 79.28 kB / 0.6791 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1545, allocations: 3.938 kB / 0.6791 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002136/0.1547, allocations: 16 kB / 0.6791 GB, free: 6.34 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.0005007/0.1552, allocations: 0.6704 MB / 0.6798 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1554, allocations: 63.91 kB / 0.6799 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1554, allocations: 0 / 0.6799 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.1554, allocations: 35.91 kB / 0.6799 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1556, allocations: 9.688 kB / 0.6799 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.156, allocations: 174.5 kB / 0.6801 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1562, allocations: 0.6846 MB / 0.6807 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.792e-05/0.1563, allocations: 39.94 kB / 0.6808 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1563, allocations: 15.44 kB / 0.6808 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.1563, allocations: 0 / 0.6808 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.1732, allocations: 1.591 MB / 0.6823 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.911, allocations: 5.5 kB / 0.6823 GB, free: 3.105 MB / 0.5137 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)