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.00106/0.00106, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001126/0.001126, allocations: 173 kB / 24.14 MB, free: 360 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.9695/0.9695, allocations: 177.2 MB / 204.6 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6012/0.6012, allocations: 115 MB / 376 MB, free: 7.352 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.363e-06/1.363e-06, allocations: 0 / 428.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.122e-05, allocations: 2.312 kB / 428.7 MB, free: 2.754 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.001729/0.00174, allocations: 1.574 MB / 430.3 MB, free: 1.168 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.002002, allocations: 119.6 kB / 430.4 MB, free: 1.051 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.002034, allocations: 0 / 430.4 MB, free: 1.051 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002059, allocations: 3.938 kB / 430.4 MB, free: 1.047 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.002101, allocations: 3.938 kB / 430.4 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.002317, allocations: 35.84 kB / 430.5 MB, free: 1.008 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.675e-05/0.002384, allocations: 27.92 kB / 430.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.002454, allocations: 15.98 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.002504, allocations: 11.98 kB / 430.5 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.00255, allocations: 19.92 kB / 430.5 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.002563, allocations: 0 / 430.5 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.00262, allocations: 11.98 kB / 430.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.002634, allocations: 7.984 kB / 430.5 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.002648, allocations: 8 kB / 430.6 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.002742, allocations: 35.83 kB / 430.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002744, allocations: 4 kB / 430.6 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002745, allocations: 0 / 430.6 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.002748, allocations: 0 / 430.6 MB, free: 0.8672 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.0002658/0.003013, allocations: 237 kB / 430.8 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.003042, allocations: 8.031 kB / 430.8 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.003064, allocations: 4.938 kB / 430.8 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.488e-05/0.003129, allocations: 117.7 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.003144, allocations: 384 / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.003153, allocations: 4.375 kB / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.003251, allocations: 62.92 kB / 431 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003257, allocations: 4.188 kB / 431 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.003264, allocations: 384 / 431 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003268, allocations: 384 / 431 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.003296, allocations: 11.94 kB / 431 MB, free: 376 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.003488, allocations: 156.2 kB / 431.2 MB, free: 204 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.003622, allocations: 38.61 kB / 431.2 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.003637, allocations: 8.859 kB / 431.2 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.00369, allocations: 4 kB / 431.2 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.003707, allocations: 30.56 kB / 431.3 MB, free: 100 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.003708, allocations: 8 kB / 431.3 MB, free: 92 kB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 9.941e-05/0.003807, allocations: 45.56 kB / 431.3 MB, free: 40 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.003848, allocations: 55.41 kB / 431.4 MB, free: 15.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.003896, allocations: 106.7 kB / 431.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.003907, allocations: 25.7 kB / 431.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.003939, allocations: 88.09 kB / 431.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.003954, allocations: 11.89 kB / 431.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.003979, allocations: 21.69 kB / 431.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.004046, allocations: 310.8 kB / 431.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.004056, allocations: 4 kB / 431.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.004067, allocations: 8 kB / 431.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.004092, allocations: 16.84 kB / 432 MB, free: 15.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004094, allocations: 0 / 432 MB, free: 15.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.319e-05/0.004137, allocations: 45.62 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.004147, allocations: 4 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.00415, allocations: 0 / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.00416, allocations: 3.938 kB / 432 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.004202, allocations: 11.98 kB / 432 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004204, allocations: 0 / 432 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.00422, allocations: 4 kB / 432 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004225, allocations: 4 kB / 432 MB, free: 15.27 MB / 410.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.061e-05/0.004275, allocations: 109.8 kB / 432.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.004289, allocations: 8.5 kB / 432.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.004355, allocations: 49.31 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.004358, allocations: 7.969 kB / 432.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00436, allocations: 0 / 432.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004362, allocations: 0 / 432.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.876e-05/0.004441, allocations: 73.88 kB / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004442, allocations: 0 / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.004466, allocations: 7.984 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.004468, allocations: 4 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.004472, allocations: 0 / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004473, allocations: 4 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004474, allocations: 0 / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.122e-05/0.004535, allocations: 135.5 kB / 432.4 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.004541, allocations: 3.938 kB / 432.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.004548, allocations: 3.938 kB / 432.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.004581, allocations: 11.98 kB / 432.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.004609, allocations: 0 / 432.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.004614, allocations: 11.92 kB / 432.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.486e-06/0.004623, allocations: 4.859 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004623, allocations: 4 kB / 432.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001194/0.004742, allocations: 15.94 kB / 432.5 MB, free: 14.77 MB / 410.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.67e-05/0.004829, allocations: 88.34 kB / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.92e-05/0.004878, allocations: 16.84 kB / 432.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00488, allocations: 0 / 432.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.004899, allocations: 20.78 kB / 432.6 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.005008, allocations: 4 kB / 432.6 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.005197, allocations: 120.6 kB / 432.7 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.005227, allocations: 55.3 kB / 432.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.005246, allocations: 7.984 kB / 432.8 MB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.005289, allocations: 55.38 kB / 432.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.00529, allocations: 0 / 432.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of Templates: time 0.002272/0.007561, allocations: 0.7618 MB / 433.6 MB, free: 13.59 MB / 410.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.3693221108987927]