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.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.0009983/0.0009983, allocations: 88.23 kB / 20.45 MB, free: 4.113 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.001108/0.001108, allocations: 161 kB / 23.82 MB, free: 0.7422 MB / 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.9628/0.9628, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.601/0.601, allocations: 110.3 MB / 371 MB, free: 12.48 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.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 1.673e-06/1.673e-06, allocations: 0 / 475.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.015e-05, allocations: 4.844 kB / 475.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001694/0.001725, allocations: 0.5982 MB / 475.8 MB, free: 14.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.002034, allocations: 52.22 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.002055, allocations: 1.031 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.002079, allocations: 0 / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.276e-06/0.002087, allocations: 1.062 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.002402, allocations: 17.16 kB / 475.9 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.002456, allocations: 0 / 475.9 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.002502, allocations: 7.719 kB / 475.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.002536, allocations: 0 / 475.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.002563, allocations: 2.688 kB / 475.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002578, allocations: 1 kB / 475.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.002678, allocations: 17.06 kB / 475.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.002691, allocations: 3.984 kB / 475.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.002709, allocations: 1.062 kB / 475.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.002818, allocations: 11.72 kB / 475.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002821, allocations: 0 / 475.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.002821, allocations: 1.062 kB / 476 MB, free: 14.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.002827, allocations: 0 / 476 MB, free: 14.74 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002509/0.003078, allocations: 341.1 kB / 476.3 MB, free: 14.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.003129, allocations: 11.09 kB / 476.3 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.003173, allocations: 7.594 kB / 476.3 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.29e-05/0.003226, allocations: 105.3 kB / 476.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.00324, allocations: 4.375 kB / 476.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.003256, allocations: 7.406 kB / 476.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.003356, allocations: 29.3 kB / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.003367, allocations: 192 / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003377, allocations: 0.9688 kB / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.003387, allocations: 0.875 kB / 476.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.003423, allocations: 15.94 kB / 476.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.003545, allocations: 111.5 kB / 476.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.003604, allocations: 32.97 kB / 476.6 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.003622, allocations: 7.688 kB / 476.6 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.003788, allocations: 9.594 kB / 476.6 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.00381, allocations: 34.8 kB / 476.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.003811, allocations: 0 / 476.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000157/0.003968, allocations: 45.25 kB / 476.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.003993, allocations: 55.28 kB / 476.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.236e-05/0.004025, allocations: 142.2 kB / 476.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.004034, allocations: 26.55 kB / 476.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.00405, allocations: 126.9 kB / 477 MB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.004073, allocations: 7.359 kB / 477 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.004106, allocations: 24.47 kB / 477.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003685/0.004475, allocations: 499.5 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.004489, allocations: 0 / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.0045, allocations: 3.188 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.004541, allocations: 19.53 kB / 477.6 MB, free: 29.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004543, allocations: 0 / 477.6 MB, free: 29.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.358e-05/0.004607, allocations: 38.77 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.004621, allocations: 5.469 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.004627, allocations: 2.75 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.004647, allocations: 0 / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.004711, allocations: 3.375 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.004718, allocations: 0 / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.004732, allocations: 4.594 kB / 477.6 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.004738, allocations: 2.844 kB / 477.6 MB, free: 28.97 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 (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 6.497e-05/0.004803, allocations: 161.4 kB / 477.8 MB, free: 28.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.004814, allocations: 6.703 kB / 477.8 MB, free: 28.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.004925, allocations: 41.77 kB / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.004928, allocations: 2.531 kB / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.004932, allocations: 1.031 kB / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004936, allocations: 0 / 477.8 MB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.185e-05/0.004998, allocations: 115.2 kB / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.004999, allocations: 1.656 kB / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.005022, allocations: 6.688 kB / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.005025, allocations: 0 / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.005032, allocations: 3.938 kB / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.005033, allocations: 0.6562 kB / 478 MB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.005036, allocations: 6.906 kB / 478 MB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.243e-05/0.005109, allocations: 77.55 kB / 478.1 MB, free: 28.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.005115, allocations: 5.031 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.005127, allocations: 7.094 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.005138, allocations: 0 / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.005172, allocations: 3.438 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.005176, allocations: 3.328 kB / 478.1 MB, free: 28.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.005219, allocations: 122.3 kB / 478.2 MB, free: 28.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005219, allocations: 0 / 478.2 MB, free: 28.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.005448, allocations: 2.781 kB / 478.2 MB, free: 28.4 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,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.0001332/0.005581, allocations: 106.1 kB / 478.3 MB, free: 28.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.005678, allocations: 20.16 kB / 478.3 MB, free: 28.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00568, allocations: 1.969 kB / 478.3 MB, free: 28.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.005698, allocations: 13.53 kB / 478.3 MB, free: 28.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.005852, allocations: 0 / 478.3 MB, free: 28.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.006065, allocations: 98.2 kB / 478.4 MB, free: 28.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.548e-05/0.006091, allocations: 55.45 kB / 478.5 MB, free: 28.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.386e-05/0.006105, allocations: 3.984 kB / 478.5 MB, free: 28.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.006125, allocations: 11.25 kB / 478.5 MB, free: 28.09 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006126, allocations: 0 / 478.5 MB, free: 28.09 MB / 426.7 MB Notification: Performance of Templates: time 0.002531/0.008657, allocations: 344.3 kB / 478.8 MB, free: 28.05 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6783576770685613]