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.001104/0.001104, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001178/0.001178, allocations: 169 kB / 24.14 MB, free: 352 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 1.117/1.117, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6989/0.6989, allocations: 115 MB / 376 MB, free: 7.48 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.674e-06/1.674e-06, allocations: 0 / 428.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.138e-05, allocations: 6.312 kB / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002309/0.002331, allocations: 1.629 MB / 430.4 MB, free: 1.09 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.002649, allocations: 119.6 kB / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.002689, allocations: 0 / 430.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.002718, allocations: 7.938 kB / 430.5 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.002769, allocations: 3.984 kB / 430.5 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.003008, allocations: 23.86 kB / 430.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.003082, allocations: 27.92 kB / 430.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.003167, allocations: 19.98 kB / 430.6 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.003235, allocations: 19.91 kB / 430.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.003288, allocations: 15.98 kB / 430.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003304, allocations: 0 / 430.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.003395, allocations: 12 kB / 430.6 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.003414, allocations: 7.984 kB / 430.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.003433, allocations: 7.984 kB / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003547, allocations: 35.78 kB / 430.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003548, allocations: 0 / 430.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003549, allocations: 4 kB / 430.7 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003553, allocations: 4 kB / 430.7 MB, free: 0.7852 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.0002944/0.003847, allocations: 237 kB / 430.9 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.003883, allocations: 12.03 kB / 430.9 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.003909, allocations: 0.9375 kB / 430.9 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.004001, allocations: 109.7 kB / 431 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.004019, allocations: 384 / 431.1 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.004028, allocations: 8.375 kB / 431.1 MB, free: 384 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004134, allocations: 54.94 kB / 431.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004141, allocations: 192 / 431.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.004149, allocations: 384 / 431.1 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004155, allocations: 8.375 kB / 431.1 MB, free: 312 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.004191, allocations: 19.86 kB / 431.1 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.004425, allocations: 148.3 kB / 431.3 MB, free: 128 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.00456, allocations: 38.62 kB / 431.3 MB, free: 80 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.004577, allocations: 4.859 kB / 431.3 MB, free: 72 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.004634, allocations: 7.984 kB / 431.3 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.004655, allocations: 34.56 kB / 431.4 MB, free: 20 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.004656, allocations: 0 / 431.4 MB, free: 20 kB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001308/0.004787, allocations: 53.94 kB / 431.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.004823, allocations: 59.34 kB / 431.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.004882, allocations: 110.7 kB / 431.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.004893, allocations: 25.7 kB / 431.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.004929, allocations: 88.09 kB / 431.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.004945, allocations: 3.953 kB / 431.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.004975, allocations: 17.7 kB / 431.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.005065, allocations: 314.8 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.005077, allocations: 4 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.005088, allocations: 4 kB / 432 MB, free: 15.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.005118, allocations: 16.78 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.005121, allocations: 8 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.945e-05/0.00518, allocations: 41.69 kB / 432.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.005193, allocations: 4 kB / 432.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.005198, allocations: 0 / 432.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.00521, allocations: 0 / 432.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.005259, allocations: 15.92 kB / 432.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005262, allocations: 0 / 432.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.00528, allocations: 4 kB / 432.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.005285, allocations: 0 / 432.1 MB, free: 15.2 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.949e-05/0.005344, allocations: 109.8 kB / 432.2 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.005359, allocations: 4 kB / 432.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.005433, allocations: 53.3 kB / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.005435, allocations: 0 / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.00544, allocations: 7.938 kB / 432.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005443, allocations: 0 / 432.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.00553, allocations: 73.88 kB / 432.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005531, allocations: 0 / 432.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.005753, allocations: 8 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005754, allocations: 0 / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.00576, allocations: 3.984 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005762, allocations: 4 kB / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.005763, allocations: 0 / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.187e-05/0.005855, allocations: 139.4 kB / 432.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.005867, allocations: 15.88 kB / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.005879, allocations: 0 / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.673e-05/0.005926, allocations: 0 / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.005972, allocations: 8.406 kB / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.005975, allocations: 0 / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.932e-05/0.005994, allocations: 24.77 kB / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005994, allocations: 0 / 432.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.00613, allocations: 8 kB / 432.6 MB, free: 14.69 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 9.525e-05/0.006225, allocations: 80.42 kB / 432.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.006287, allocations: 20.83 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.00629, allocations: 0 / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.006309, allocations: 16.8 kB / 432.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.006437, allocations: 11.98 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.006652, allocations: 108.6 kB / 432.8 MB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.006687, allocations: 55.36 kB / 432.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.006708, allocations: 8 kB / 432.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.006757, allocations: 59.36 kB / 432.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006758, allocations: 0 / 432.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of Templates: time 0.00246/0.009218, allocations: 0.7507 MB / 433.7 MB, free: 13.53 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.832684667315334]