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.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.0013/0.0013, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.001358/0.001358, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.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.9404/0.9404, allocations: 145 MB / 453.8 MB, free: 0.7188 MB / 350.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.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"}) [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.002009/0.002009, allocations: 65.97 kB / 0.6281 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1945, allocations: 87.84 MB / 0.7138 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001823/0.1963, allocations: 0.5707 MB / 0.7144 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.1966, allocations: 63.77 kB / 0.7145 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1966, allocations: 4 kB / 0.7145 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.1967, allocations: 0 / 0.7145 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.1967, allocations: 0 / 0.7145 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.197, allocations: 11.98 kB / 0.7145 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1971, allocations: 31.97 kB / 0.7145 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1971, allocations: 11.92 kB / 0.7145 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.1971, allocations: 7.938 kB / 0.7145 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.1972, allocations: 15.97 kB / 0.7145 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1972, allocations: 4 kB / 0.7146 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.1973, allocations: 19.92 kB / 0.7146 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.1973, allocations: 12 kB / 0.7146 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1974, allocations: 11.88 kB / 0.7146 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1975, allocations: 40.17 kB / 0.7146 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1975, allocations: 3.938 kB / 0.7146 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.895e-06/0.1975, allocations: 0 / 0.7146 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.1975, allocations: 3.984 kB / 0.7146 GB, free: 1.98 MB / 0.5294 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.000422/0.1979, allocations: 337.2 kB / 0.715 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.198, allocations: 8.031 kB / 0.715 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.521e-05/0.198, allocations: 38.75 kB / 0.715 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1981, allocations: 0.9375 kB / 0.715 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1982, allocations: 172.8 kB / 0.7152 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1982, allocations: 384 / 0.7152 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1982, allocations: 4.375 kB / 0.7152 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1984, allocations: 62.17 kB / 0.7152 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1984, allocations: 3.938 kB / 0.7152 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1984, allocations: 4 kB / 0.7152 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1984, allocations: 4 kB / 0.7152 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1986, allocations: 99.86 kB / 0.7153 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.1988, allocations: 181.5 kB / 0.7155 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1989, allocations: 74.58 kB / 0.7156 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.199, allocations: 32.84 kB / 0.7156 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.1995, allocations: 401.5 kB / 0.716 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1995, allocations: 34.56 kB / 0.716 GB, free: 296 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1995, allocations: 0 / 0.716 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002869/0.1998, allocations: 113.6 kB / 0.7161 GB, free: 176 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1998, allocations: 55.41 kB / 0.7162 GB, free: 108 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.1999, allocations: 102 kB / 0.7163 GB, free: 16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1999, allocations: 25.7 kB / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2, allocations: 84.08 kB / 0.7164 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.2, allocations: 19.86 kB / 0.7164 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.2001, allocations: 37.7 kB / 0.7164 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2003, allocations: 314.8 kB / 0.7167 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.2003, allocations: 19.98 kB / 0.7168 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.2004, allocations: 23.92 kB / 0.7168 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.2005, allocations: 61.5 kB / 0.7169 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2005, allocations: 0 / 0.7169 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001538/0.2007, allocations: 97.53 kB / 0.7169 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2007, allocations: 11.88 kB / 0.717 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2007, allocations: 0 / 0.717 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2007, allocations: 4 kB / 0.717 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2008, allocations: 23.92 kB / 0.717 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2008, allocations: 4 kB / 0.717 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.2009, allocations: 7.891 kB / 0.717 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2009, allocations: 4 kB / 0.717 GB, free: 15.24 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: 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.0001336/0.201, allocations: 125.8 kB / 0.7171 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.201, allocations: 3.938 kB / 0.7171 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.2013, allocations: 121.5 kB / 0.7172 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2013, allocations: 4 kB / 0.7172 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2013, allocations: 3.938 kB / 0.7172 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2013, allocations: 3.938 kB / 0.7172 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.2014, allocations: 173.6 kB / 0.7174 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2014, allocations: 4 kB / 0.7174 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.2015, allocations: 20 kB / 0.7174 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2015, allocations: 7.922 kB / 0.7174 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2015, allocations: 4 kB / 0.7174 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2015, allocations: 0 / 0.7174 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2015, allocations: 0 / 0.7174 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.2017, allocations: 117 kB / 0.7176 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.2018, allocations: 89.03 kB / 0.7176 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2018, allocations: 0 / 0.7176 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.2018, allocations: 11.94 kB / 0.7177 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2019, allocations: 7.984 kB / 0.7177 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2019, allocations: 4 kB / 0.7177 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.2019, allocations: 79.22 kB / 0.7177 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2019, allocations: 0 / 0.7177 GB, free: 14.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001997/0.2021, allocations: 16 kB / 0.7178 GB, free: 14.36 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: 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.0006413/0.2027, allocations: 0.6671 MB / 0.7184 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2029, allocations: 63.83 kB / 0.7185 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2029, allocations: 0 / 0.7185 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.203, allocations: 36.58 kB / 0.7185 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2031, allocations: 4 kB / 0.7185 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.2036, allocations: 182.4 kB / 0.7187 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.2039, allocations: 0.6846 MB / 0.7194 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.204, allocations: 35.94 kB / 0.7194 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.2041, allocations: 23.42 kB / 0.7194 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2041, allocations: 3.938 kB / 0.7194 GB, free: 12.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.2295, allocations: 1.607 MB / 0.721 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.937, allocations: 8.688 kB / 0.721 GB, free: 11.09 MB / 0.545 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.75102334699477] Failed to read output from testmodel.py, exit status != 0: 8.003502961000777 8.017363084 7.816894668 Calling exit ...