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.001871/0.001871, allocations: 106.1 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.002353/0.002353, 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 9 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.9532/0.9532, allocations: 144.9 MB / 453.8 MB, free: 0.75 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") [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.002487/0.002487, allocations: 66.33 kB / 0.6285 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1954, allocations: 87.83 MB / 0.7143 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003389/0.1988, allocations: 1.538 MB / 0.7158 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.1993, allocations: 148.4 kB / 0.7159 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.1993, allocations: 0 / 0.7159 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.1993, allocations: 3.938 kB / 0.7159 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.1994, allocations: 3.938 kB / 0.7159 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1997, allocations: 31.91 kB / 0.716 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1998, allocations: 35.92 kB / 0.716 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.1999, allocations: 11.98 kB / 0.716 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.2, allocations: 15.92 kB / 0.716 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.2, allocations: 19.92 kB / 0.716 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2, allocations: 11.94 kB / 0.716 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.2001, allocations: 15.98 kB / 0.7161 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2001, allocations: 7.984 kB / 0.7161 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2002, allocations: 15.92 kB / 0.7161 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2003, allocations: 51.75 kB / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2003, allocations: 0 / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2003, allocations: 0 / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2003, allocations: 4 kB / 0.7161 GB, free: 448 kB / 0.5294 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.0005951/0.2009, allocations: 345.1 kB / 0.7165 GB, free: 52 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.201, allocations: 12.03 kB / 0.7165 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.201, allocations: 4.938 kB / 0.7165 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.2012, allocations: 180.2 kB / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.2012, allocations: 4.375 kB / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.2012, allocations: 384 / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.2015, allocations: 70.2 kB / 0.7167 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2015, allocations: 192 / 0.7167 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2015, allocations: 7.922 kB / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2015, allocations: 0 / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2017, allocations: 47.95 kB / 0.7168 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.2022, allocations: 276.8 kB / 0.717 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.2026, allocations: 54.53 kB / 0.7171 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2027, allocations: 24.91 kB / 0.7171 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.2031, allocations: 401.5 kB / 0.7175 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2031, allocations: 38.55 kB / 0.7175 GB, free: 14.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.2031, allocations: 0 / 0.7175 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.2036, allocations: 101.5 kB / 0.7176 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2037, allocations: 55.34 kB / 0.7177 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2038, allocations: 109.8 kB / 0.7178 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2038, allocations: 25.7 kB / 0.7178 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.2039, allocations: 92.12 kB / 0.7179 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2039, allocations: 3.953 kB / 0.7179 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.2039, allocations: 17.72 kB / 0.7179 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2041, allocations: 314.8 kB / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2042, allocations: 23.97 kB / 0.7182 GB, free: 13.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.2043, allocations: 23.98 kB / 0.7183 GB, free: 13.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2045, allocations: 48.75 kB / 0.7183 GB, free: 13.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2045, allocations: 0 / 0.7183 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002533/0.2047, allocations: 73.61 kB / 0.7184 GB, free: 13.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2047, allocations: 4 kB / 0.7184 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2048, allocations: 3.984 kB / 0.7184 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2048, allocations: 4 kB / 0.7184 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.2049, allocations: 12 kB / 0.7184 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2049, allocations: 11.92 kB / 0.7184 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.2049, allocations: 7.938 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2049, allocations: 0 / 0.7184 GB, free: 13.77 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.0001042/0.205, allocations: 109.8 kB / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.2051, allocations: 4 kB / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.2054, allocations: 97.47 kB / 0.7186 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2054, allocations: 384 / 0.7186 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2054, allocations: 0 / 0.7186 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2054, allocations: 0 / 0.7186 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.2056, allocations: 177.6 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2056, allocations: 3.984 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.2057, allocations: 11.98 kB / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2057, allocations: 0 / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.2057, allocations: 0 / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2057, allocations: 0 / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2057, allocations: 4 kB / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.206, allocations: 175.4 kB / 0.719 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2061, allocations: 81.11 kB / 0.7191 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2061, allocations: 3.938 kB / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.2062, allocations: 7.984 kB / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2062, allocations: 8 kB / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2062, allocations: 4 kB / 0.7191 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.2063, allocations: 87.58 kB / 0.7192 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2063, allocations: 0 / 0.7192 GB, free: 12.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002528/0.2066, allocations: 15.95 kB / 0.7192 GB, free: 12.89 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.0001901/0.2067, allocations: 99.25 kB / 0.7193 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.207, allocations: 43.95 kB / 0.7193 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.207, allocations: 4 kB / 0.7193 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2072, allocations: 31.91 kB / 0.7194 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.2074, allocations: 3.938 kB / 0.7194 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.2078, allocations: 125.3 kB / 0.7195 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2081, allocations: 0.6807 MB / 0.7201 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.2082, allocations: 12.22 kB / 0.7202 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.2082, allocations: 7.438 kB / 0.7202 GB, free: 11.83 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2082, allocations: 0 / 0.7202 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Templates: time 0.003557/0.2118, allocations: 0.7703 MB / 0.7209 GB, free: 11.06 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.828580372035503] Failed to read output from testmodel.py, exit status != 0: 0.22056201100349426 0.233353994 0.030051484000000003 Calling exit ...