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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> 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.005426/0.005426, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001336/0.001336, allocations: 194 kB / 16.67 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9089/0.9089, allocations: 143.3 MB / 433.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 60.75 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1851, allocations: 82.04 MB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00261/0.1877, allocations: 0.5854 MB / 0.676 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003819/0.1881, allocations: 51.8 kB / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1882, allocations: 0 / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.1882, allocations: 0 / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-06/0.1883, allocations: 0 / 0.6761 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1886, allocations: 19.97 kB / 0.6761 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1888, allocations: 31.97 kB / 0.6761 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.1888, allocations: 7.922 kB / 0.6761 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.1889, allocations: 11.98 kB / 0.6762 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.189, allocations: 11.98 kB / 0.6762 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.189, allocations: 7.938 kB / 0.6762 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1891, allocations: 19.98 kB / 0.6762 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1892, allocations: 15.92 kB / 0.6762 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1892, allocations: 11.92 kB / 0.6762 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1894, allocations: 40.11 kB / 0.6763 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1894, allocations: 0 / 0.6763 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1894, allocations: 0 / 0.6763 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1894, allocations: 0 / 0.6763 GB, free: 9.766 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.0004878/0.1899, allocations: 343.8 kB / 0.6766 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.19, allocations: 8.031 kB / 0.6766 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.1901, allocations: 46.73 kB / 0.6766 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1901, allocations: 0.9375 kB / 0.6766 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.1903, allocations: 160.4 kB / 0.6768 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1904, allocations: 8.375 kB / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1904, allocations: 4.375 kB / 0.6768 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1906, allocations: 70.09 kB / 0.6769 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1906, allocations: 3.938 kB / 0.6769 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1907, allocations: 4 kB / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1907, allocations: 4 kB / 0.6769 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1909, allocations: 95.88 kB / 0.677 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.1912, allocations: 177.6 kB / 0.6771 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1915, allocations: 66.55 kB / 0.6772 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.1916, allocations: 36.84 kB / 0.6772 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/0.1921, allocations: 409.5 kB / 0.6776 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.1922, allocations: 34.5 kB / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.1922, allocations: 0 / 0.6777 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004268/0.1926, allocations: 114.2 kB / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1927, allocations: 59.41 kB / 0.6778 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.1928, allocations: 97.81 kB / 0.6779 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1929, allocations: 25.7 kB / 0.6779 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.1929, allocations: 80.14 kB / 0.678 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.193, allocations: 23.83 kB / 0.678 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.1931, allocations: 33.7 kB / 0.6781 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1933, allocations: 314.8 kB / 0.6784 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1934, allocations: 19.98 kB / 0.6784 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.1935, allocations: 35.97 kB / 0.6784 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.1937, allocations: 60.7 kB / 0.6785 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1937, allocations: 0 / 0.6785 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002654/0.194, allocations: 93.62 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.194, allocations: 11.94 kB / 0.6786 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1941, allocations: 0 / 0.6786 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1941, allocations: 0 / 0.6786 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1943, allocations: 19.98 kB / 0.6786 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1943, allocations: 3.938 kB / 0.6786 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.1943, allocations: 3.938 kB / 0.6786 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1944, allocations: 8 kB / 0.6786 GB, free: 7.012 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.0001931/0.1946, allocations: 121.8 kB / 0.6787 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1946, allocations: 7.891 kB / 0.6788 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.195, allocations: 125.5 kB / 0.6789 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.195, allocations: 0 / 0.6789 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.195, allocations: 0 / 0.6789 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1951, allocations: 0 / 0.6789 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1953, allocations: 185.6 kB / 0.679 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1953, allocations: 3.938 kB / 0.6791 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1955, allocations: 15.98 kB / 0.6791 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.1955, allocations: 7.938 kB / 0.6791 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1955, allocations: 0 / 0.6791 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.1955, allocations: 4 kB / 0.6791 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1955, allocations: 0 / 0.6791 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1958, allocations: 121 kB / 0.6792 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1959, allocations: 88.94 kB / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.196, allocations: 8 kB / 0.6793 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.196, allocations: 4 kB / 0.6793 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.1961, allocations: 11.92 kB / 0.6793 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1961, allocations: 0 / 0.6793 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.1961, allocations: 79.28 kB / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1962, allocations: 0 / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003717/0.1965, allocations: 12 kB / 0.6794 GB, free: 6.129 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.0009076/0.1975, allocations: 0.6781 MB / 0.68 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.1977, allocations: 63.91 kB / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1977, allocations: 0 / 0.6801 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1979, allocations: 35.92 kB / 0.6801 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1981, allocations: 4 kB / 0.6801 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.1988, allocations: 182.5 kB / 0.6803 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.1993, allocations: 0.6845 MB / 0.681 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.1994, allocations: 31.95 kB / 0.681 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.1995, allocations: 23.36 kB / 0.681 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1995, allocations: 4 kB / 0.681 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2245, allocations: 1.59 MB / 0.6826 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.999, allocations: 10 kB / 0.6826 GB, free: 2.875 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)