Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.0014/0.0014, allocations: 105.7 kB / 16.45 MB, free: 6.387 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.001421/0.001421, allocations: 194.8 kB / 19.41 MB, free: 3.75 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.9193/0.9193, allocations: 145.2 MB / 447.9 MB, free: 6.348 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 61.69 kB / 0.6205 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1868, allocations: 86.65 MB / 0.7051 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001741/0.1886, allocations: 0.572 MB / 0.7057 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.1888, allocations: 51.8 kB / 0.7057 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.1888, allocations: 0 / 0.7057 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1888, allocations: 0 / 0.7057 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1889, allocations: 0 / 0.7057 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1891, allocations: 12 kB / 0.7057 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.1892, allocations: 7.984 kB / 0.7057 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1892, allocations: 0 / 0.7057 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.733e-05/0.1892, allocations: 3.984 kB / 0.7057 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.1893, allocations: 7.938 kB / 0.7057 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1893, allocations: 0 / 0.7057 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1894, allocations: 11.94 kB / 0.7058 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.1894, allocations: 0 / 0.7058 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1894, allocations: 7.984 kB / 0.7058 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.1895, allocations: 11.92 kB / 0.7058 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1895, allocations: 0 / 0.7058 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1895, allocations: 4 kB / 0.7058 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1895, allocations: 0 / 0.7058 GB, free: 9.441 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003614/0.1898, allocations: 323.5 kB / 0.7061 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1899, allocations: 8.031 kB / 0.7061 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1899, allocations: 0.9375 kB / 0.7061 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1901, allocations: 160.4 kB / 0.7062 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1901, allocations: 384 / 0.7062 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1901, allocations: 4.375 kB / 0.7063 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1902, allocations: 30.25 kB / 0.7063 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1902, allocations: 12.12 kB / 0.7063 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1902, allocations: 3.938 kB / 0.7063 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1902, allocations: 0 / 0.7063 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.409e-05/0.1903, allocations: 7.938 kB / 0.7063 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1904, allocations: 157.7 kB / 0.7065 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.1905, allocations: 18.61 kB / 0.7065 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.1905, allocations: 12.92 kB / 0.7065 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.1907, allocations: 85.09 kB / 0.7066 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1907, allocations: 34.97 kB / 0.7066 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.1907, allocations: 0 / 0.7066 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001689/0.1909, allocations: 45.58 kB / 0.7066 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.191, allocations: 51.41 kB / 0.7067 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.191, allocations: 93.81 kB / 0.7068 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.191, allocations: 25.7 kB / 0.7068 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.1911, allocations: 80.27 kB / 0.7069 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1911, allocations: 11.98 kB / 0.7069 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1911, allocations: 13.72 kB / 0.7069 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1913, allocations: 310.8 kB / 0.7072 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.1913, allocations: 4 kB / 0.7072 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.1913, allocations: 0 / 0.7072 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.1913, allocations: 16.86 kB / 0.7072 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1913, allocations: 0 / 0.7072 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.705e-05/0.1914, allocations: 45.69 kB / 0.7073 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1914, allocations: 4 kB / 0.7073 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1914, allocations: 0 / 0.7073 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1914, allocations: 3.938 kB / 0.7073 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.1915, allocations: 4 kB / 0.7073 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1915, allocations: 0 / 0.7073 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.1915, allocations: 0 / 0.7073 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1915, allocations: 7.984 kB / 0.7073 GB, free: 7.652 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.56e-05/0.1916, allocations: 110.5 kB / 0.7074 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.1916, allocations: 7.969 kB / 0.7074 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.1917, allocations: 52.69 kB / 0.7074 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1917, allocations: 0 / 0.7074 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1917, allocations: 0 / 0.7074 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1917, allocations: 0 / 0.7074 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1918, allocations: 149.6 kB / 0.7076 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1918, allocations: 0 / 0.7076 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.1919, allocations: 4 kB / 0.7076 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1919, allocations: 3.984 kB / 0.7076 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1919, allocations: 3.938 kB / 0.7076 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1919, allocations: 4.031 kB / 0.7076 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1919, allocations: 0 / 0.7076 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.36e-05/0.192, allocations: 65.09 kB / 0.7077 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.192, allocations: 85.09 kB / 0.7077 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.192, allocations: 3.938 kB / 0.7078 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.192, allocations: 0 / 0.7078 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1921, allocations: 7.984 kB / 0.7078 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1921, allocations: 11.97 kB / 0.7078 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.1921, allocations: 79.28 kB / 0.7078 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1921, allocations: 0 / 0.7078 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002382/0.1923, allocations: 7.938 kB / 0.7079 GB, free: 6.969 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002004/0.1925, allocations: 103.2 kB / 0.708 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.1926, allocations: 8 kB / 0.708 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1927, allocations: 0 / 0.708 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.1927, allocations: 12.06 kB / 0.708 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1929, allocations: 1.719 kB / 0.708 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.1931, allocations: 88.91 kB / 0.7081 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1934, allocations: 0.6728 MB / 0.7087 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.1934, allocations: 4 kB / 0.7087 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.1935, allocations: 11.44 kB / 0.7087 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1935, allocations: 0 / 0.7087 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.002866/0.1963, allocations: 332.6 kB / 0.709 GB, free: 5.684 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.682166651822627]