Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.0007376/0.0007376, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009836/0.001721, allocations: 452 kB / 10.43 MB, free: 268 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.0006979/0.0006979, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009183/0.001616, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.983/0.983, allocations: 177.2 MB / 189.7 MB, free: 5.273 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.097, allocations: 53.68 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6413/0.6413, allocations: 120.1 MB / 364.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06965/0.7109, allocations: 38.16 MB / 402.4 MB, free: 12.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.734e-05, allocations: 6.25 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002232/0.00225, allocations: 1.633 MB / 405.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.00245, allocations: 119.6 kB / 405.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.002485, allocations: 0 / 405.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.002505, allocations: 7.938 kB / 405.5 MB, free: 9.172 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.002524, allocations: 0 / 405.5 MB, free: 9.172 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.002642, allocations: 31.84 kB / 405.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.0027, allocations: 35.84 kB / 405.6 MB, free: 9.105 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.002759, allocations: 8 kB / 405.6 MB, free: 9.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.002815, allocations: 19.98 kB / 405.6 MB, free: 9.078 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.002859, allocations: 11.98 kB / 405.6 MB, free: 9.066 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.002871, allocations: 4 kB / 405.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.002944, allocations: 23.91 kB / 405.6 MB, free: 9.039 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.002955, allocations: 0 / 405.6 MB, free: 9.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.002969, allocations: 12 kB / 405.6 MB, free: 9.027 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/0.003059, allocations: 23.86 kB / 405.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.003067, allocations: 0 / 405.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003068, allocations: 0 / 405.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.003077, allocations: 0 / 405.7 MB, free: 9.004 MB / 394.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.0002897/0.003367, allocations: 240.6 kB / 405.9 MB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.003396, allocations: 12.03 kB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.003422, allocations: 0.9375 kB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.118e-05/0.003503, allocations: 117.7 kB / 406 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.003518, allocations: 384 / 406 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.003531, allocations: 8.375 kB / 406 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.00363, allocations: 58.94 kB / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.003636, allocations: 192 / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003642, allocations: 384 / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.003649, allocations: 8.359 kB / 406.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.003675, allocations: 11.94 kB / 406.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.003861, allocations: 144.3 kB / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.003994, allocations: 46.55 kB / 406.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.004012, allocations: 8.844 kB / 406.3 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.004065, allocations: 12 kB / 406.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.004084, allocations: 34.56 kB / 406.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004085, allocations: 0 / 406.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001095/0.004194, allocations: 49.56 kB / 406.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.00422, allocations: 51.41 kB / 406.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.004269, allocations: 106.7 kB / 406.6 MB, free: 7.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.004279, allocations: 33.64 kB / 406.6 MB, free: 7.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.004311, allocations: 88.12 kB / 406.7 MB, free: 7.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.004324, allocations: 3.953 kB / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.00437, allocations: 17.7 kB / 406.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.004445, allocations: 310.8 kB / 407 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.004457, allocations: 8 kB / 407 MB, free: 7.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.004467, allocations: 4 kB / 407 MB, free: 7.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.004495, allocations: 16.83 kB / 407 MB, free: 7.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004496, allocations: 4 kB / 407 MB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.995e-05/0.004546, allocations: 42.09 kB / 407.1 MB, free: 7.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.004557, allocations: 4 kB / 407.1 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.00456, allocations: 0 / 407.1 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.004573, allocations: 7.984 kB / 407.1 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.004621, allocations: 15.97 kB / 407.1 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.004624, allocations: 0 / 407.1 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.004644, allocations: 8 kB / 407.1 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.004648, allocations: 0 / 407.1 MB, free: 7.398 MB / 394.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.34e-05/0.004701, allocations: 113.8 kB / 407.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.004719, allocations: 0 / 407.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.004787, allocations: 45.38 kB / 407.3 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.004791, allocations: 7.938 kB / 407.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.004792, allocations: 7.938 kB / 407.3 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004794, allocations: 0 / 407.3 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.004894, allocations: 69.83 kB / 407.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004895, allocations: 4 kB / 407.3 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.004928, allocations: 11.98 kB / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.004932, allocations: 0 / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.004934, allocations: 4 kB / 407.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004938, allocations: 0 / 407.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004939, allocations: 0 / 407.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.00494, allocations: 3.938 kB / 407.4 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.005014, allocations: 135.5 kB / 407.5 MB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.005024, allocations: 7.984 kB / 407.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.005071, allocations: 4 kB / 407.5 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.005101, allocations: 7.922 kB / 407.5 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.005105, allocations: 7.938 kB / 407.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.249e-05/0.005117, allocations: 12.8 kB / 407.5 MB, free: 6.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005117, allocations: 0 / 407.5 MB, free: 6.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.005294, allocations: 12 kB / 407.6 MB, free: 6.898 MB / 394.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 9.593e-05/0.00539, allocations: 88.41 kB / 407.6 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.405e-05/0.005444, allocations: 12.86 kB / 407.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.005447, allocations: 0 / 407.6 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.005472, allocations: 16.84 kB / 407.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.005628, allocations: 41.7 kB / 407.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.005956, allocations: 112.6 kB / 407.8 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.00599, allocations: 55.36 kB / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.006013, allocations: 4 kB / 407.9 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.00606, allocations: 59.36 kB / 407.9 MB, free: 6.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006061, allocations: 0 / 407.9 MB, free: 6.449 MB / 394.7 MB Notification: Performance of Templates: time 0.002208/0.008269, allocations: 0.7987 MB / 408.7 MB, free: 5.648 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1950386064127088]