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.00139/0.00139, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001793/0.001793, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9084/0.9084, allocations: 145 MB / 458.2 MB, free: 15.29 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.002116/0.002116, allocations: 78.75 kB / 0.6343 GB, free: 6.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1677, allocations: 87.89 MB / 0.7201 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002848/0.1706, allocations: 1.535 MB / 0.7216 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004057/0.171, allocations: 116.6 kB / 0.7218 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.171, allocations: 3.938 kB / 0.7218 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.171, allocations: 7.938 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.1711, allocations: 3.938 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1713, allocations: 27.95 kB / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1714, allocations: 27.92 kB / 0.7218 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.1715, allocations: 12 kB / 0.7218 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.1715, allocations: 11.92 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.1716, allocations: 8 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1716, allocations: 4 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1717, allocations: 11.98 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1717, allocations: 15.92 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1717, allocations: 11.92 kB / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1718, allocations: 39.84 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1718, allocations: 0 / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1718, allocations: 0 / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1718, allocations: 0 / 0.7219 GB, free: 12.47 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.0004668/0.1723, allocations: 264.6 kB / 0.7222 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1723, allocations: 8.031 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.1724, allocations: 8.891 kB / 0.7222 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1725, allocations: 118.4 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1725, allocations: 384 / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1725, allocations: 384 / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1727, allocations: 66.22 kB / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1727, allocations: 192 / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1727, allocations: 3.938 kB / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1727, allocations: 0 / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1729, allocations: 43.95 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1733, allocations: 208.5 kB / 0.7226 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.1736, allocations: 58.53 kB / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.1737, allocations: 28.84 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.1738, allocations: 8 kB / 0.7227 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1738, allocations: 38.55 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1738, allocations: 0 / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003821/0.1742, allocations: 93.75 kB / 0.7228 GB, free: 11.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1742, allocations: 51.41 kB / 0.7229 GB, free: 11.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1744, allocations: 109.8 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1744, allocations: 25.7 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.1744, allocations: 80.14 kB / 0.7231 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1745, allocations: 7.953 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1745, allocations: 17.7 kB / 0.7231 GB, free: 11.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1746, allocations: 318.8 kB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.1747, allocations: 11.98 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.1748, allocations: 27.91 kB / 0.7235 GB, free: 10.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.175, allocations: 52.81 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.175, allocations: 3.938 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002185/0.1752, allocations: 77.48 kB / 0.7236 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1752, allocations: 8 kB / 0.7236 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1752, allocations: 0 / 0.7236 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1752, allocations: 0 / 0.7236 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.1753, allocations: 15.98 kB / 0.7236 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1753, allocations: 0 / 0.7236 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.1754, allocations: 11.98 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1754, allocations: 0 / 0.7236 GB, free: 10.56 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 9.352e-05/0.1755, allocations: 112.9 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1755, allocations: 3.938 kB / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1758, allocations: 85.27 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1758, allocations: 4 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1758, allocations: 0 / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1758, allocations: 0 / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1759, allocations: 109.3 kB / 0.7239 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1759, allocations: 4 kB / 0.7239 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.176, allocations: 15.92 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.176, allocations: 0 / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.176, allocations: 4 kB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.176, allocations: 0 / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.176, allocations: 0 / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1763, allocations: 171.4 kB / 0.7241 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.1763, allocations: 11.83 kB / 0.7241 GB, free: 9.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1763, allocations: 4 kB / 0.7241 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1764, allocations: 7.984 kB / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.1764, allocations: 8.422 kB / 0.7241 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1764, allocations: 0 / 0.7241 GB, free: 9.965 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.1765, allocations: 87.25 kB / 0.7242 GB, free: 9.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1765, allocations: 0 / 0.7242 GB, free: 9.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002336/0.1767, allocations: 12 kB / 0.7242 GB, free: 9.867 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.0001436/0.1769, allocations: 99.23 kB / 0.7243 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1771, allocations: 43.95 kB / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1771, allocations: 11.94 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.1772, allocations: 23.91 kB / 0.7244 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1775, allocations: 8 kB / 0.7244 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.1778, allocations: 131.2 kB / 0.7245 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.921e-05/0.1779, allocations: 63.34 kB / 0.7246 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1779, allocations: 15.38 kB / 0.7246 GB, free: 9.414 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1779, allocations: 4 kB / 0.7246 GB, free: 9.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002466/0.1804, allocations: 0.7493 MB / 0.7254 GB, free: 8.664 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: 7.645474235992879] Failed to read output from testmodel.py, exit status != 0: 0.18883644696325064 0.203324222 0.028450481000000003 Calling exit ...