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.001612/0.001612, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.003304/0.003304, allocations: 220 kB / 23.05 MB, free: 5.074 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8 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.9046/0.9046, allocations: 145 MB / 458.2 MB, free: 15.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="cs",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.001948/0.001948, allocations: 65.58 kB / 0.6339 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1923, allocations: 87.88 MB / 0.7198 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003063/0.1954, allocations: 1.549 MB / 0.7213 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.1958, allocations: 148.3 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.1959, allocations: 0 / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.1959, allocations: 7.875 kB / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.196, allocations: 0 / 0.7214 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1963, allocations: 35.89 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1964, allocations: 35.92 kB / 0.7215 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1966, allocations: 11.98 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.1966, allocations: 15.94 kB / 0.7215 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.1967, allocations: 19.91 kB / 0.7215 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1967, allocations: 8 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1968, allocations: 23.97 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1968, allocations: 4 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.1968, allocations: 23.86 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.197, allocations: 47.75 kB / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.197, allocations: 0 / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.275e-06/0.197, allocations: 0 / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.197, allocations: 0 / 0.7216 GB, free: 13.5 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.0005567/0.1976, allocations: 282.3 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1976, allocations: 8.031 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.1976, allocations: 192 / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.1977, allocations: 30.75 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1977, allocations: 4.938 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1978, allocations: 118.5 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1978, allocations: 384 / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1978, allocations: 4.375 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.198, allocations: 73.95 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1981, allocations: 4 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1981, allocations: 0 / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1981, allocations: 3.938 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1983, allocations: 51.89 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1987, allocations: 247.8 kB / 0.7224 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.1991, allocations: 66.47 kB / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1992, allocations: 28.89 kB / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.1993, allocations: 15.98 kB / 0.7225 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1993, allocations: 30.56 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1993, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000407/0.1997, allocations: 93.59 kB / 0.7227 GB, free: 12.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1998, allocations: 59.39 kB / 0.7227 GB, free: 12.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.1999, allocations: 105.9 kB / 0.7228 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1999, allocations: 25.7 kB / 0.7228 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.1999, allocations: 92.12 kB / 0.7229 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.2, allocations: 7.891 kB / 0.7229 GB, free: 12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.2, allocations: 13.72 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2002, allocations: 326.8 kB / 0.7233 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.2003, allocations: 23.92 kB / 0.7233 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.2003, allocations: 15.98 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.2005, allocations: 44.81 kB / 0.7233 GB, free: 11.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2005, allocations: 0 / 0.7233 GB, free: 11.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002197/0.2007, allocations: 85.59 kB / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2007, allocations: 4 kB / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2007, allocations: 0 / 0.7234 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2008, allocations: 4 kB / 0.7234 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.2008, allocations: 11.92 kB / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2008, allocations: 4 kB / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.2009, allocations: 4 kB / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2009, allocations: 0 / 0.7235 GB, free: 11.45 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 8.995e-05/0.201, allocations: 118.1 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.201, allocations: 8 kB / 0.7236 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.2013, allocations: 81.62 kB / 0.7237 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2013, allocations: 4 kB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2013, allocations: 0 / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2013, allocations: 0 / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2015, allocations: 144.6 kB / 0.7238 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2015, allocations: 3.938 kB / 0.7238 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.2016, allocations: 15.98 kB / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2016, allocations: 3.938 kB / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2016, allocations: 0 / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2016, allocations: 0 / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2016, allocations: 0 / 0.7238 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2018, allocations: 175.4 kB / 0.724 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.2019, allocations: 8 kB / 0.724 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2019, allocations: 4 kB / 0.724 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.202, allocations: 7.984 kB / 0.724 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.202, allocations: 4 kB / 0.724 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.202, allocations: 3.984 kB / 0.724 GB, free: 10.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2021, allocations: 83.28 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2021, allocations: 4 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002332/0.2023, allocations: 15.89 kB / 0.7241 GB, free: 10.69 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.0007006/0.203, allocations: 0.7124 MB / 0.7248 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2032, allocations: 43.95 kB / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2032, allocations: 0 / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.2033, allocations: 31.91 kB / 0.7249 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2037, allocations: 7.938 kB / 0.7249 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2053, allocations: 1.292 MB / 0.7261 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.2057, allocations: 0.6807 MB / 0.7268 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.2057, allocations: 8 kB / 0.7268 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2058, allocations: 11.81 kB / 0.7268 GB, free: 7.777 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2058, allocations: 0 / 0.7268 GB, free: 7.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.2286, allocations: 1.86 MB / 0.7286 GB, free: 6.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 16.69 kB / 0.7287 GB, free: 6.059 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.872340622008778] Failed to read output from testmodel.py, exit status != 0: 11.218817597953603 11.238528539 11.038108033 Calling exit ...