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.001329/0.001329, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001462/0.001462, allocations: 212.5 kB / 22.25 MB, free: 5.121 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.984 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.9027/0.9027, allocations: 145 MB / 457.4 MB, free: 15.48 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.001988/0.001988, allocations: 69.73 kB / 0.6332 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1913, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.004204/0.1955, allocations: 1.57 MB / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.196, allocations: 132.5 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.196, allocations: 0 / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.1961, allocations: 3.938 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.1961, allocations: 3.938 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1965, allocations: 35.95 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1966, allocations: 31.92 kB / 0.7207 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1967, allocations: 11.98 kB / 0.7207 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.1968, allocations: 23.92 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.1968, allocations: 23.91 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1968, allocations: 4 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.197, allocations: 19.98 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.197, allocations: 4 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.197, allocations: 19.86 kB / 0.7208 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1972, allocations: 51.75 kB / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1972, allocations: 0 / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1972, allocations: 0 / 0.7209 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1972, allocations: 0 / 0.7209 GB, free: 13.48 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.0006427/0.1978, allocations: 278.3 kB / 0.7211 GB, free: 13.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1979, allocations: 8.031 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.1979, allocations: 34.75 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.198, allocations: 4.938 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1981, allocations: 110.5 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1982, allocations: 4.359 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1982, allocations: 12.31 kB / 0.7213 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1985, allocations: 66.17 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1985, allocations: 7.938 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1985, allocations: 0 / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1985, allocations: 0 / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1988, allocations: 47.95 kB / 0.7214 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1994, allocations: 251.8 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.1999, allocations: 62.48 kB / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2001, allocations: 24.89 kB / 0.7217 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.2002, allocations: 15.98 kB / 0.7218 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.2003, allocations: 34.56 kB / 0.7218 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.2003, allocations: 0 / 0.7218 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006091/0.2009, allocations: 105.6 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2009, allocations: 55.41 kB / 0.722 GB, free: 12.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2011, allocations: 109.8 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2011, allocations: 29.64 kB / 0.7221 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.2012, allocations: 88.14 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2012, allocations: 3.953 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.2012, allocations: 17.72 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2014, allocations: 322.8 kB / 0.7225 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2016, allocations: 19.98 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2017, allocations: 23.97 kB / 0.7225 GB, free: 11.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.202, allocations: 40.83 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.202, allocations: 0 / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003832/0.2024, allocations: 81.59 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2024, allocations: 4 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2024, allocations: 3.938 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2025, allocations: 4 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2026, allocations: 7.984 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2026, allocations: 4 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.2027, allocations: 8 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2027, allocations: 3.984 kB / 0.7227 GB, free: 11.42 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 0.0001241/0.2028, allocations: 113.8 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.2029, allocations: 4 kB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.2033, allocations: 85.58 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2033, allocations: 4 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2033, allocations: 0 / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2033, allocations: 0 / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.2036, allocations: 140.6 kB / 0.723 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2036, allocations: 0 / 0.723 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2037, allocations: 23.92 kB / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2037, allocations: 0 / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2038, allocations: 0 / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2038, allocations: 0 / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2038, allocations: 0 / 0.723 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.2042, allocations: 171.4 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.2042, allocations: 4 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.2042, allocations: 4 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2044, allocations: 7.984 kB / 0.7232 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.2044, allocations: 12.41 kB / 0.7232 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2044, allocations: 0 / 0.7232 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.2045, allocations: 87.58 kB / 0.7233 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2045, allocations: 4 kB / 0.7233 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004242/0.2049, allocations: 15.89 kB / 0.7233 GB, free: 10.68 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.0009449/0.2059, allocations: 0.7202 MB / 0.724 GB, free: 9.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2062, allocations: 43.89 kB / 0.7241 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2062, allocations: 0 / 0.7241 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2064, allocations: 31.91 kB / 0.7241 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2068, allocations: 8 kB / 0.7241 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2091, allocations: 1.288 MB / 0.7254 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.2096, allocations: 0.6807 MB / 0.726 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.2097, allocations: 4 kB / 0.726 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.2097, allocations: 23.42 kB / 0.7261 GB, free: 7.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2097, allocations: 0 / 0.7261 GB, free: 7.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.2477, allocations: 1.826 MB / 0.7279 GB, free: 6.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.01, allocations: 3.188 kB / 0.7279 GB, free: 6.062 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.830305827999837] Failed to read output from testmodel.py, exit status != 0: 11.115503778000857 11.138096885 10.936651436 Calling exit ...