Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 217.4 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9157/0.9157, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 66.67 kB / 0.6331 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1934, allocations: 87.9 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002821/0.1962, allocations: 1.547 MB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.1966, allocations: 128.5 kB / 0.7206 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.1966, allocations: 0 / 0.7206 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.1966, allocations: 7.922 kB / 0.7206 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.1967, allocations: 7.922 kB / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.197, allocations: 35.91 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.1971, allocations: 31.92 kB / 0.7206 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1972, allocations: 11.98 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.1972, allocations: 19.92 kB / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.1973, allocations: 11.92 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1973, allocations: 4 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.1974, allocations: 23.98 kB / 0.7207 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.1974, allocations: 11.97 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1974, allocations: 11.94 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1975, allocations: 51.75 kB / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1975, allocations: 0 / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1975, allocations: 0 / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1976, allocations: 0 / 0.7208 GB, free: 12.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004831/0.198, allocations: 278.3 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1981, allocations: 8.031 kB / 0.7211 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.1981, allocations: 34.75 kB / 0.7211 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.1981, allocations: 8.922 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1983, allocations: 122.4 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1983, allocations: 384 / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1983, allocations: 12.31 kB / 0.7212 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1985, allocations: 66.16 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1985, allocations: 3.938 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1985, allocations: 4 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1985, allocations: 0 / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1987, allocations: 47.95 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1991, allocations: 231.9 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1994, allocations: 58.48 kB / 0.7216 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1995, allocations: 28.89 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1997, allocations: 15.98 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1997, allocations: 34.56 kB / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1997, allocations: 0 / 0.7217 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004045/0.2001, allocations: 105.5 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2002, allocations: 51.41 kB / 0.7218 GB, free: 11.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2003, allocations: 117.8 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2003, allocations: 25.7 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.2003, allocations: 84.14 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.2003, allocations: 7.953 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.2004, allocations: 21.7 kB / 0.7221 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2005, allocations: 314.8 kB / 0.7224 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.2006, allocations: 19.98 kB / 0.7224 GB, free: 11.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.2007, allocations: 27.97 kB / 0.7224 GB, free: 11.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2009, allocations: 41.09 kB / 0.7225 GB, free: 10.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2009, allocations: 0 / 0.7225 GB, free: 10.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002272/0.2011, allocations: 85.53 kB / 0.7226 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2011, allocations: 5.719 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2011, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2011, allocations: 8 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.2012, allocations: 7.984 kB / 0.7226 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2012, allocations: 4 kB / 0.7226 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.2013, allocations: 7.984 kB / 0.7226 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2013, allocations: 0 / 0.7226 GB, free: 10.87 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.115e-05/0.2014, allocations: 117.8 kB / 0.7227 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.2014, allocations: 0 / 0.7227 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.2017, allocations: 89.58 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2017, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2017, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2017, allocations: 0 / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2019, allocations: 148.6 kB / 0.7229 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2019, allocations: 0 / 0.7229 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.202, allocations: 11.98 kB / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.202, allocations: 0 / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.202, allocations: 0 / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.202, allocations: 3.938 kB / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.202, allocations: 4 kB / 0.7229 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.2023, allocations: 175.4 kB / 0.7231 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.2023, allocations: 8 kB / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2023, allocations: 0 / 0.7231 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.2024, allocations: 11.92 kB / 0.7231 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.2025, allocations: 11.92 kB / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.2025, allocations: 0 / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.2025, allocations: 87.28 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2025, allocations: 0 / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002294/0.2027, allocations: 11.95 kB / 0.7232 GB, free: 10.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007823/0.2035, allocations: 0.7163 MB / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.2038, allocations: 51.89 kB / 0.724 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2038, allocations: 0 / 0.724 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.2039, allocations: 20.27 kB / 0.724 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2042, allocations: 8 kB / 0.724 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2059, allocations: 1.296 MB / 0.7253 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.206, allocations: 63.34 kB / 0.7253 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.206, allocations: 4 kB / 0.7253 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.2061, allocations: 19.42 kB / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.2061, allocations: 0 / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.237, allocations: 2.259 MB / 0.7276 GB, free: 5.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 7.25 kB / 0.7276 GB, free: 5.699 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.313844123855233] Failed to read output from testmodel.py, exit status != 0: 11.58974739909172 11.619076496 11.416163436 Calling exit ...