Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 104.7 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/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.8934/0.8934, allocations: 145.2 MB / 447.9 MB, free: 6.32 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.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.44 kB / 0.6204 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1929, allocations: 86.63 MB / 0.705 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003396/0.1963, allocations: 1.515 MB / 0.7065 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004096/0.1967, allocations: 128.5 kB / 0.7066 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.1967, allocations: 0 / 0.7066 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.1968, allocations: 4 kB / 0.7066 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.1968, allocations: 7.938 kB / 0.7067 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1971, allocations: 27.89 kB / 0.7067 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.933e-05/0.1972, allocations: 27.92 kB / 0.7067 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1973, allocations: 12 kB / 0.7067 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1973, allocations: 11.98 kB / 0.7067 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.1974, allocations: 19.91 kB / 0.7068 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1974, allocations: 4 kB / 0.7068 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-05/0.1975, allocations: 12 kB / 0.7068 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1975, allocations: 7.922 kB / 0.7068 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1975, allocations: 15.94 kB / 0.7068 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1977, allocations: 39.75 kB / 0.7068 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1977, allocations: 8 kB / 0.7068 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1977, allocations: 0 / 0.7068 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1977, allocations: 0 / 0.7068 GB, free: 8.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005763/0.1983, allocations: 347.3 kB / 0.7072 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1983, allocations: 12.03 kB / 0.7072 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.1984, allocations: 0.9375 kB / 0.7072 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1986, allocations: 172.3 kB / 0.7073 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1986, allocations: 4.375 kB / 0.7073 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1986, allocations: 4.375 kB / 0.7074 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1988, allocations: 58.23 kB / 0.7074 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1989, allocations: 192 / 0.7074 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1989, allocations: 3.938 kB / 0.7074 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1989, allocations: 0 / 0.7074 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.1991, allocations: 43.89 kB / 0.7075 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1995, allocations: 265 kB / 0.7077 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1999, allocations: 58.48 kB / 0.7078 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2, allocations: 20.89 kB / 0.7078 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.2001, allocations: 85.11 kB / 0.7079 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2002, allocations: 34.5 kB / 0.7079 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2002, allocations: 4 kB / 0.7079 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004191/0.2006, allocations: 93.62 kB / 0.708 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.2006, allocations: 51.41 kB / 0.708 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2007, allocations: 105.8 kB / 0.7081 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2008, allocations: 25.7 kB / 0.7082 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.2008, allocations: 84.14 kB / 0.7082 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2008, allocations: 7.953 kB / 0.7083 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.2009, allocations: 21.7 kB / 0.7083 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2011, allocations: 314.8 kB / 0.7086 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.2012, allocations: 15.98 kB / 0.7086 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.2012, allocations: 19.97 kB / 0.7086 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.2014, allocations: 48.77 kB / 0.7087 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2014, allocations: 7.938 kB / 0.7087 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002304/0.2017, allocations: 73.64 kB / 0.7087 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2017, allocations: 8 kB / 0.7087 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2017, allocations: 0.5156 kB / 0.7087 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2017, allocations: 0 / 0.7087 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.2018, allocations: 11.98 kB / 0.7087 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2018, allocations: 3.938 kB / 0.7088 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.2018, allocations: 4 kB / 0.7088 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2018, allocations: 15.92 kB / 0.7088 GB, free: 6.074 MB / 0.5294 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 (rea2Int.y,fac.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.0001948/0.202, allocations: 121.7 kB / 0.7089 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2021, allocations: 7.938 kB / 0.7089 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.2023, allocations: 81.14 kB / 0.709 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2023, allocations: 4 kB / 0.709 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2023, allocations: 0 / 0.709 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2023, allocations: 0 / 0.709 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2025, allocations: 165.6 kB / 0.7091 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2025, allocations: 0 / 0.7091 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.2026, allocations: 11.98 kB / 0.7091 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2026, allocations: 4 kB / 0.7092 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2026, allocations: 0 / 0.7092 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2026, allocations: 0 / 0.7092 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2026, allocations: 0 / 0.7092 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.203, allocations: 183.4 kB / 0.7093 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.203, allocations: 77.11 kB / 0.7094 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.203, allocations: 0 / 0.7094 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.2031, allocations: 7.984 kB / 0.7094 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2032, allocations: 8 kB / 0.7094 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2032, allocations: 0 / 0.7094 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.2033, allocations: 83.27 kB / 0.7095 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2033, allocations: 0 / 0.7095 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002252/0.2035, allocations: 8 kB / 0.7095 GB, free: 5.227 MB / 0.5294 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 (fac.y,rea2Int.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.0001706/0.2037, allocations: 103.2 kB / 0.7096 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.2039, allocations: 47.89 kB / 0.7096 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2039, allocations: 0 / 0.7096 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.204, allocations: 27.97 kB / 0.7097 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2043, allocations: 3.938 kB / 0.7097 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2046, allocations: 123.9 kB / 0.7098 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.205, allocations: 0.6768 MB / 0.7105 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.205, allocations: 7.938 kB / 0.7105 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.2051, allocations: 7.438 kB / 0.7105 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.2051, allocations: 0 / 0.7105 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of Templates: time 0.003776/0.2088, allocations: 0.7284 MB / 0.7112 GB, free: 3.449 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.676728941500187]