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.001002/0.001002, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002619/0.003622, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00103/0.00103, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002475, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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 0.9476/0.9476, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09175/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.5842/0.5842, allocations: 110.3 MB / 354.4 MB, free: 12.29 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06097/0.6451, allocations: 34.96 MB / 389.4 MB, free: 9.254 MB / 378.7 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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 390.8 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.581e-05, allocations: 2.312 kB / 390.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002246/0.002261, allocations: 1.62 MB / 392.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.002447, allocations: 116.5 kB / 392.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.002466, allocations: 0 / 392.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.002482, allocations: 7.938 kB / 392.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.953e-05/0.002501, allocations: 3.984 kB / 392.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.002602, allocations: 27.84 kB / 392.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.005669, allocations: 31.92 kB / 392.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.005732, allocations: 7.938 kB / 392.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.00579, allocations: 19.98 kB / 392.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.005834, allocations: 11.97 kB / 392.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.005848, allocations: 4 kB / 392.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.005919, allocations: 15.98 kB / 392.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.005934, allocations: 7.938 kB / 392.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.005949, allocations: 8 kB / 392.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.006043, allocations: 27.86 kB / 392.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.006051, allocations: 0 / 392.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006052, allocations: 0 / 392.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.006062, allocations: 0 / 392.7 MB, free: 5.984 MB / 378.7 MB 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.0002871/0.006349, allocations: 244.6 kB / 392.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.006378, allocations: 12.03 kB / 392.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.006401, allocations: 4.938 kB / 392.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.006472, allocations: 113.7 kB / 393 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.006486, allocations: 4.359 kB / 393 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.006497, allocations: 4.375 kB / 393 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006606, allocations: 62.94 kB / 393.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.006612, allocations: 4.188 kB / 393.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.006619, allocations: 4.375 kB / 393.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.006624, allocations: 384 / 393.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.006648, allocations: 7.938 kB / 393.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.006828, allocations: 156.2 kB / 393.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.006962, allocations: 42.53 kB / 393.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.00698, allocations: 12.84 kB / 393.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.007027, allocations: 8 kB / 393.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.007043, allocations: 30.56 kB / 393.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.007044, allocations: 0 / 393.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 9.594e-05/0.00714, allocations: 53.62 kB / 393.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.00716, allocations: 51.41 kB / 393.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.612e-05/0.007206, allocations: 102.7 kB / 393.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.007216, allocations: 25.7 kB / 393.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.007246, allocations: 88.12 kB / 393.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.007258, allocations: 3.953 kB / 393.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.007287, allocations: 21.7 kB / 393.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.007365, allocations: 322.8 kB / 394 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.007374, allocations: 4 kB / 394 MB, free: 4.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.007383, allocations: 4 kB / 394 MB, free: 4.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.00741, allocations: 16.84 kB / 394 MB, free: 4.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007411, allocations: 3.938 kB / 394.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.772e-05/0.007459, allocations: 37.69 kB / 394.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.00747, allocations: 4 kB / 394.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.007474, allocations: 4 kB / 394.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.007483, allocations: 3.938 kB / 394.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.007533, allocations: 7.984 kB / 394.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007535, allocations: 3.984 kB / 394.1 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.007554, allocations: 8 kB / 394.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.007557, allocations: 0 / 394.1 MB, free: 4.375 MB / 378.7 MB 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 5.001e-05/0.007607, allocations: 113.8 kB / 394.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.007625, allocations: 0 / 394.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.007693, allocations: 49.31 kB / 394.3 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007696, allocations: 7.938 kB / 394.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.007697, allocations: 0 / 394.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007701, allocations: 3.984 kB / 394.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/0.007796, allocations: 69.8 kB / 394.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.007797, allocations: 4 kB / 394.4 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.007827, allocations: 11.98 kB / 394.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.007833, allocations: 4.562 kB / 394.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.007833, allocations: 0 / 394.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.007839, allocations: 4 kB / 394.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007839, allocations: 0 / 394.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.007841, allocations: 3.938 kB / 394.4 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.567e-05/0.007917, allocations: 147.4 kB / 394.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.007927, allocations: 4 kB / 394.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.007973, allocations: 4 kB / 394.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.008004, allocations: 11.98 kB / 394.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008009, allocations: 7.938 kB / 394.6 MB, free: 3.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.235e-06/0.008018, allocations: 4.859 kB / 394.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008018, allocations: 0 / 394.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008185, allocations: 8 kB / 394.6 MB, free: 3.867 MB / 378.7 MB 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 8.776e-05/0.008273, allocations: 88.34 kB / 394.7 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.093e-05/0.008324, allocations: 12.86 kB / 394.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.008328, allocations: 3.984 kB / 394.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.008354, allocations: 16.86 kB / 394.7 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/0.01152, allocations: 44.89 kB / 394.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.01185, allocations: 127.7 kB / 394.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.01189, allocations: 51.36 kB / 394.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.01191, allocations: 4 kB / 394.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.01195, allocations: 55.36 kB / 395 MB, free: 3.406 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.01195, allocations: 0 / 395 MB, free: 3.406 MB / 378.7 MB Notification: Performance of Templates: time 0.00553/0.01748, allocations: 0.8026 MB / 395.8 MB, free: 2.602 MB / 378.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1523809833452106]