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.0007689/0.0007689, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001919, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007655/0.0007655, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001758, allocations: 463.6 kB / 11.71 MB, free: 2.457 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.9679/0.9679, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08171/1.05, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.6251/0.6251, allocations: 110.2 MB / 354.2 MB, free: 12.38 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.06769/0.6928, allocations: 34.95 MB / 389.2 MB, free: 9.367 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.724e-06/1.724e-06, allocations: 0 / 390.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.471e-05, allocations: 10.19 kB / 390.5 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.005974/0.005999, allocations: 1.612 MB / 392.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.0063, allocations: 124.4 kB / 392.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.006333, allocations: 0 / 392.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.006362, allocations: 3.984 kB / 392.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.006403, allocations: 3.938 kB / 392.3 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.006587, allocations: 19.92 kB / 392.3 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.006669, allocations: 35.86 kB / 392.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.006763, allocations: 7.984 kB / 392.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.006837, allocations: 15.98 kB / 392.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.006895, allocations: 15.98 kB / 392.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.006912, allocations: 0 / 392.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.007017, allocations: 15.98 kB / 392.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.007032, allocations: 7.938 kB / 392.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.007053, allocations: 8 kB / 392.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.007189, allocations: 31.78 kB / 392.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.007208, allocations: 0 / 392.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007209, allocations: 0 / 392.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.007227, allocations: 4 kB / 392.4 MB, free: 6.113 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.0004483/0.007675, allocations: 240.6 kB / 392.7 MB, free: 5.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.007716, allocations: 8.031 kB / 392.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.007754, allocations: 4.938 kB / 392.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.007858, allocations: 117.7 kB / 392.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.007883, allocations: 4.375 kB / 392.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.007896, allocations: 4.375 kB / 392.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.008068, allocations: 54.94 kB / 392.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008079, allocations: 192 / 392.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.00809, allocations: 8.312 kB / 392.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.008096, allocations: 4.375 kB / 392.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.008134, allocations: 11.94 kB / 392.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.008446, allocations: 164.2 kB / 393 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.008597, allocations: 30.56 kB / 393.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.008615, allocations: 8.859 kB / 393.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.008687, allocations: 4 kB / 393.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.008712, allocations: 38.5 kB / 393.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.008713, allocations: 0 / 393.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001114/0.008824, allocations: 45.62 kB / 393.2 MB, free: 5.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.008855, allocations: 63.45 kB / 393.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.798e-05/0.008903, allocations: 102.7 kB / 393.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.008914, allocations: 25.7 kB / 393.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.008946, allocations: 88.08 kB / 393.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.008974, allocations: 11.92 kB / 393.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.009002, allocations: 13.72 kB / 393.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.00909, allocations: 310.8 kB / 393.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.0091, allocations: 4 kB / 393.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.009111, allocations: 7.922 kB / 393.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.009137, allocations: 17.33 kB / 393.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009139, allocations: 4 kB / 393.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.605e-05/0.009185, allocations: 45.72 kB / 393.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.009197, allocations: 4 kB / 393.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009201, allocations: 0 / 393.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.009213, allocations: 7.922 kB / 393.8 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.009266, allocations: 8 kB / 393.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.009272, allocations: 3.984 kB / 393.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.00929, allocations: 7.984 kB / 393.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.009294, allocations: 0 / 393.9 MB, free: 4.508 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 6.383e-05/0.009358, allocations: 121.8 kB / 394 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.009371, allocations: 0 / 394 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.662e-05/0.009447, allocations: 49.36 kB / 394 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.00945, allocations: 3.938 kB / 394 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.009451, allocations: 0 / 394 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009454, allocations: 0 / 394 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.237e-05/0.009536, allocations: 73.8 kB / 394.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009537, allocations: 0 / 394.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/0.009564, allocations: 11.98 kB / 394.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.009569, allocations: 0 / 394.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.009574, allocations: 8 kB / 394.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.009579, allocations: 4 kB / 394.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.00958, allocations: 0 / 394.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.009582, allocations: 3.938 kB / 394.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.779e-05/0.00966, allocations: 143.5 kB / 394.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-06/0.009668, allocations: 0 / 394.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.861e-05/0.009697, allocations: 0 / 394.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.009738, allocations: 11.98 kB / 394.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.009742, allocations: 7.875 kB / 394.3 MB, free: 4.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.053e-05/0.009752, allocations: 8.859 kB / 394.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009752, allocations: 0 / 394.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.009879, allocations: 12 kB / 394.3 MB, free: 4.004 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 0.0001669/0.01005, allocations: 84.39 kB / 394.4 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.01013, allocations: 24.78 kB / 394.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01014, allocations: 0 / 394.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.01016, allocations: 12.86 kB / 394.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.01032, allocations: 11.75 kB / 394.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.01072, allocations: 119.8 kB / 394.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.01076, allocations: 55.36 kB / 394.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.01078, allocations: 4.422 kB / 394.6 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.01083, allocations: 55.36 kB / 394.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01083, allocations: 0 / 394.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of Templates: time 0.002441/0.01327, allocations: 0.7857 MB / 395.5 MB, free: 2.801 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.0959673784673214]