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.001501/0.001501, allocations: 80.39 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001319/0.001319, allocations: 165.4 kB / 24.28 MB, free: 280 kB / 18.57 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.9669/0.9669, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.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.5838/0.5838, allocations: 110.3 MB / 371.3 MB, free: 12.53 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. " [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.032e-06/1.032e-06, allocations: 0 / 475.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.219e-05, allocations: 5.969 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001479/0.001491, allocations: 1.571 MB / 476.8 MB, free: 14.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.001704, allocations: 123 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.001727, allocations: 0.6562 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.001745, allocations: 3.188 kB / 476.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.001771, allocations: 10.64 kB / 476.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.00192, allocations: 24.2 kB / 476.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.001968, allocations: 35.39 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.002025, allocations: 5.531 kB / 477 MB, free: 14.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.002058, allocations: 21.08 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.002088, allocations: 6.078 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.002098, allocations: 2.625 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.002143, allocations: 19.09 kB / 477 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.002155, allocations: 11.45 kB / 477 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.002168, allocations: 6.297 kB / 477 MB, free: 14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.002244, allocations: 29.91 kB / 477.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002245, allocations: 0 / 477.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002246, allocations: 0 / 477.1 MB, free: 13.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.002249, allocations: 0 / 477.1 MB, free: 13.99 MB / 410.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.0002003/0.00245, allocations: 367.2 kB / 477.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.002474, allocations: 12.97 kB / 477.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.002496, allocations: 3.531 kB / 477.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.31e-05/0.002539, allocations: 111.8 kB / 477.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.002552, allocations: 8.438 kB / 477.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.00256, allocations: 2.969 kB / 477.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.002644, allocations: 69.17 kB / 477.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-06/0.002648, allocations: 192 / 477.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-06/0.002655, allocations: 384 / 477.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.00266, allocations: 1.375 kB / 477.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.00269, allocations: 15.42 kB / 477.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.002869, allocations: 265.5 kB / 477.9 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.003001, allocations: 50.72 kB / 477.9 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.003022, allocations: 15.25 kB / 478 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.003078, allocations: 6.391 kB / 478 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.00309, allocations: 36.05 kB / 478 MB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003091, allocations: 1 kB / 478 MB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001046/0.003195, allocations: 50.95 kB / 478.1 MB, free: 13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.378e-05/0.003209, allocations: 56.34 kB / 478.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.003247, allocations: 163.1 kB / 478.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.003252, allocations: 25.7 kB / 478.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.003396, allocations: 134.5 kB / 478.4 MB, free: 28.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.003407, allocations: 7.953 kB / 478.4 MB, free: 28.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.00343, allocations: 25.47 kB / 478.5 MB, free: 28.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.003524, allocations: 492.1 kB / 478.9 MB, free: 28.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.003538, allocations: 10.06 kB / 478.9 MB, free: 28.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.00355, allocations: 3.438 kB / 478.9 MB, free: 28.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.003576, allocations: 19.95 kB / 479 MB, free: 28.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.003577, allocations: 0.5 kB / 479 MB, free: 28.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.659e-05/0.003624, allocations: 55.31 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.003633, allocations: 6.781 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.003635, allocations: 2.938 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.003644, allocations: 0.5312 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.00368, allocations: 5.281 kB / 479 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.003683, allocations: 5.344 kB / 479 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.003701, allocations: 5.969 kB / 479 MB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.003705, allocations: 2.562 kB / 479.1 MB, free: 28.01 MB / 426.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 4.832e-05/0.003753, allocations: 157.1 kB / 479.2 MB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.003767, allocations: 4.562 kB / 479.2 MB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.003834, allocations: 54.98 kB / 479.3 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.003835, allocations: 0 / 479.3 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.003837, allocations: 0 / 479.3 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.00384, allocations: 2.688 kB / 479.3 MB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.57e-05/0.003905, allocations: 122.1 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.003906, allocations: 3.938 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.00393, allocations: 9.609 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.003931, allocations: 0.6562 kB / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.003936, allocations: 0 / 479.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.003937, allocations: 8.688 kB / 479.4 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003938, allocations: 0 / 479.4 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.254e-05/0.00402, allocations: 191.5 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004026, allocations: 6.406 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.004034, allocations: 4 kB / 479.6 MB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.004067, allocations: 8.375 kB / 479.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.004101, allocations: 5.953 kB / 479.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004104, allocations: 3.375 kB / 479.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.004136, allocations: 126 kB / 479.7 MB, free: 27.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004137, allocations: 2.75 kB / 479.7 MB, free: 27.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.004276, allocations: 6.25 kB / 479.8 MB, free: 27.33 MB / 426.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 7.319e-05/0.00435, allocations: 105.7 kB / 479.9 MB, free: 27.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.978e-05/0.004409, allocations: 26.28 kB / 479.9 MB, free: 27.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.00441, allocations: 0 / 479.9 MB, free: 27.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.00443, allocations: 21.5 kB / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.004574, allocations: 3 kB / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.004751, allocations: 122.9 kB / 480 MB, free: 27.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.135e-05/0.004772, allocations: 54.27 kB / 480.1 MB, free: 27.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.878e-05/0.004791, allocations: 21.02 kB / 480.1 MB, free: 27.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.004812, allocations: 15.66 kB / 480.1 MB, free: 27 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004813, allocations: 0 / 480.1 MB, free: 27 MB / 426.7 MB Notification: Performance of Templates: time 0.001931/0.006744, allocations: 0.7532 MB / 480.9 MB, free: 26.95 MB / 426.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.485629682196304]