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.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.001273/0.001273, 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.001409/0.001409, allocations: 214.3 kB / 22.25 MB, free: 4.855 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.801 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.9534/0.9534, allocations: 145 MB / 457.4 MB, free: 15.32 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: 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: 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.002438/0.002438, allocations: 70.97 kB / 0.6336 GB, free: 6.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1928, allocations: 87.89 MB / 0.7194 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003211/0.196, allocations: 1.535 MB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.1964, allocations: 124.5 kB / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.1965, allocations: 4 kB / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1965, allocations: 0 / 0.721 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.1965, allocations: 7.938 kB / 0.721 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1968, allocations: 19.91 kB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.1969, allocations: 27.98 kB / 0.7211 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.197, allocations: 11.98 kB / 0.7211 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.197, allocations: 15.92 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.1971, allocations: 19.92 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1971, allocations: 0 / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.1971, allocations: 15.94 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1971, allocations: 3.984 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.1972, allocations: 15.92 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1973, allocations: 31.84 kB / 0.7212 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1973, allocations: 4 kB / 0.7212 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.387e-06/0.1973, allocations: 4 kB / 0.7212 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1973, allocations: 0 / 0.7212 GB, free: 12.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004653/0.1978, allocations: 266.4 kB / 0.7214 GB, free: 12.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1978, allocations: 8.031 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1978, allocations: 8.891 kB / 0.7215 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.198, allocations: 106.5 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.198, allocations: 384 / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.198, allocations: 4.375 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1982, allocations: 66.22 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.1982, allocations: 192 / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1982, allocations: 3.938 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1982, allocations: 3.938 kB / 0.7216 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.1984, allocations: 39.95 kB / 0.7217 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.1988, allocations: 208.5 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1991, allocations: 54.59 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.1992, allocations: 32.84 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.1993, allocations: 11.92 kB / 0.722 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1994, allocations: 42.55 kB / 0.722 GB, free: 11.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1994, allocations: 0 / 0.722 GB, free: 11.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003774/0.1997, allocations: 89.64 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1998, allocations: 55.34 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1999, allocations: 105.8 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1999, allocations: 29.7 kB / 0.7223 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2, allocations: 84.14 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2, allocations: 3.953 kB / 0.7224 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.2, allocations: 21.7 kB / 0.7224 GB, free: 11.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2002, allocations: 310.8 kB / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.2003, allocations: 23.92 kB / 0.7227 GB, free: 10.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.2003, allocations: 23.97 kB / 0.7227 GB, free: 10.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2005, allocations: 40.81 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2005, allocations: 4 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002341/0.2007, allocations: 81.55 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2008, allocations: 4 kB / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2008, allocations: 0 / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2008, allocations: 0 / 0.7228 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.2009, allocations: 11.98 kB / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2009, allocations: 4 kB / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.2009, allocations: 7.984 kB / 0.7229 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2009, allocations: 11.94 kB / 0.7229 GB, free: 10.62 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 (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 8.447e-05/0.201, allocations: 109.8 kB / 0.723 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.201, allocations: 7.938 kB / 0.723 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.2013, allocations: 77.33 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2013, allocations: 0 / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2013, allocations: 0 / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2013, allocations: 0 / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2015, allocations: 109.3 kB / 0.7232 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2015, allocations: 4 kB / 0.7232 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.2015, allocations: 15.92 kB / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2015, allocations: 0 / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2015, allocations: 4 kB / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2015, allocations: 0 / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2016, allocations: 3.938 kB / 0.7232 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2018, allocations: 168.1 kB / 0.7234 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.2018, allocations: 15.88 kB / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2019, allocations: 3.984 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.2019, allocations: 15.92 kB / 0.7234 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.202, allocations: 8 kB / 0.7234 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.202, allocations: 3.984 kB / 0.7234 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.202, allocations: 79.28 kB / 0.7235 GB, free: 9.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.202, allocations: 0 / 0.7235 GB, free: 9.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002219/0.2023, allocations: 8 kB / 0.7235 GB, free: 9.93 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 (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.0001556/0.2024, allocations: 103.2 kB / 0.7236 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2026, allocations: 51.83 kB / 0.7236 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2026, allocations: 0 / 0.7236 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2028, allocations: 27.97 kB / 0.7237 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.203, allocations: 0 / 0.7237 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.2033, allocations: 113.5 kB / 0.7238 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.2034, allocations: 63.34 kB / 0.7238 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.2034, allocations: 8 kB / 0.7238 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2035, allocations: 11.42 kB / 0.7238 GB, free: 9.504 MB / 0.545 GB Notification: Performance of SimCode: time 3.7e-07/0.2035, allocations: 0 / 0.7238 GB, free: 9.504 MB / 0.545 GB Notification: Performance of Templates: time 0.003292/0.2068, allocations: 0.7499 MB / 0.7246 GB, free: 8.77 MB / 0.545 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.482855623587966] Failed to read output from testmodel.py, exit status != 0: 0.21616739965975285 0.22966080200000002 0.029276042000000002 Calling exit ...