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.001308/0.001308, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001823/0.001823, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.523/1.523, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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 1.04/1.04, allocations: 145.2 MB / 449.7 MB, free: 13.18 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.001985/0.001985, allocations: 63.34 kB / 0.6232 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 86.65 MB / 0.7078 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003148/0.1849, allocations: 1.529 MB / 0.7093 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.1853, allocations: 128.5 kB / 0.7094 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.1853, allocations: 0 / 0.7094 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.1854, allocations: 7.875 kB / 0.7094 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.1854, allocations: 3.938 kB / 0.7094 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1857, allocations: 19.97 kB / 0.7094 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.1857, allocations: 39.86 kB / 0.7095 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1859, allocations: 7.984 kB / 0.7095 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.1859, allocations: 8 kB / 0.7095 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.186, allocations: 15.92 kB / 0.7095 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.186, allocations: 4 kB / 0.7095 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.186, allocations: 15.98 kB / 0.7095 GB, free: 0 / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.186, allocations: 12.03 kB / 0.7095 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1861, allocations: 15.88 kB / 0.7096 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1862, allocations: 31.84 kB / 0.7096 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1862, allocations: 0 / 0.7096 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1862, allocations: 0 / 0.7096 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1862, allocations: 0 / 0.7096 GB, free: 15.94 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.0005839/0.1868, allocations: 352.9 kB / 0.7099 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1868, allocations: 8.031 kB / 0.7099 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1869, allocations: 8.938 kB / 0.7099 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.187, allocations: 172.3 kB / 0.7101 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.187, allocations: 384 / 0.7101 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1871, allocations: 4.375 kB / 0.7101 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1873, allocations: 58.22 kB / 0.7102 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1873, allocations: 4.188 kB / 0.7102 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1873, allocations: 3.938 kB / 0.7102 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1873, allocations: 0 / 0.7102 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1875, allocations: 43.95 kB / 0.7102 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1879, allocations: 260.9 kB / 0.7105 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1882, allocations: 58.47 kB / 0.7105 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.1883, allocations: 24.91 kB / 0.7105 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.1884, allocations: 89.09 kB / 0.7106 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1884, allocations: 30.56 kB / 0.7107 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1884, allocations: 0 / 0.7107 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003691/0.1888, allocations: 93.56 kB / 0.7107 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1888, allocations: 55.41 kB / 0.7108 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.1889, allocations: 105.8 kB / 0.7109 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1889, allocations: 25.7 kB / 0.7109 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.189, allocations: 88.12 kB / 0.711 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.189, allocations: 3.953 kB / 0.711 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.189, allocations: 17.72 kB / 0.711 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1892, allocations: 314.8 kB / 0.7113 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1893, allocations: 19.97 kB / 0.7113 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.1893, allocations: 20.36 kB / 0.7114 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1896, allocations: 52.83 kB / 0.7114 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.1896, allocations: 3.938 kB / 0.7114 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002073/0.1898, allocations: 81.59 kB / 0.7115 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1899, allocations: 4 kB / 0.7115 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1899, allocations: 0 / 0.7115 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1899, allocations: 7.984 kB / 0.7115 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.1899, allocations: 11.94 kB / 0.7115 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.19, allocations: 4 kB / 0.7115 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.19, allocations: 11.92 kB / 0.7115 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.19, allocations: 0 / 0.7115 GB, free: 13.7 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.0001721/0.1902, allocations: 113.8 kB / 0.7116 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1902, allocations: 7.953 kB / 0.7117 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.1905, allocations: 85.08 kB / 0.7117 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1905, allocations: 3.984 kB / 0.7117 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1905, allocations: 0 / 0.7117 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1905, allocations: 0 / 0.7117 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1907, allocations: 165.6 kB / 0.7119 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1907, allocations: 0 / 0.7119 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.1907, allocations: 11.98 kB / 0.7119 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1907, allocations: 0 / 0.7119 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1907, allocations: 3.984 kB / 0.7119 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1907, allocations: 0 / 0.7119 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1907, allocations: 8 kB / 0.7119 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.191, allocations: 167.4 kB / 0.7121 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1911, allocations: 81.11 kB / 0.7122 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1911, allocations: 3.984 kB / 0.7122 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1912, allocations: 4 kB / 0.7122 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1912, allocations: 11.98 kB / 0.7122 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1912, allocations: 4 kB / 0.7122 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.1913, allocations: 79.28 kB / 0.7123 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1913, allocations: 0 / 0.7123 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002224/0.1915, allocations: 8 kB / 0.7123 GB, free: 12.86 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.000153/0.1916, allocations: 103.2 kB / 0.7124 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1919, allocations: 43.95 kB / 0.7124 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1919, allocations: 4 kB / 0.7124 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.192, allocations: 24.3 kB / 0.7124 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1922, allocations: 17.73 kB / 0.7124 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1925, allocations: 121.4 kB / 0.7126 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1929, allocations: 0.6807 MB / 0.7132 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.1929, allocations: 11.92 kB / 0.7132 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1929, allocations: 15.47 kB / 0.7133 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1929, allocations: 0 / 0.7133 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.003274/0.1962, allocations: 0.7189 MB / 0.714 GB, free: 11.06 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: 6.1205333434045315]