Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001008/0.001008, 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.001142/0.001142, 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.6004/0.6004, allocations: 115 MB / 376 MB, free: 7.488 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.207e-05, allocations: 2.312 kB / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0009894/0.001001, allocations: 0.6071 MB / 429.4 MB, free: 2.125 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.001198, allocations: 39.88 kB / 429.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.001212, allocations: 0 / 429.4 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.001225, allocations: 4 kB / 429.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.001231, allocations: 0 / 429.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.001434, allocations: 15.92 kB / 429.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.001472, allocations: 7.938 kB / 429.4 MB, free: 2.059 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.001503, allocations: 3.984 kB / 429.4 MB, free: 2.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.001529, allocations: 3.984 kB / 429.5 MB, free: 2.051 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.001548, allocations: 4 kB / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.00156, allocations: 0 / 429.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.001633, allocations: 11.94 kB / 429.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.001643, allocations: 0 / 429.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.001654, allocations: 4 kB / 429.5 MB, free: 2.031 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.342e-05/0.001727, allocations: 19.97 kB / 429.5 MB, free: 2.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.001729, allocations: 4 kB / 429.5 MB, free: 2.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.001729, allocations: 0 / 429.5 MB, free: 2.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.001732, allocations: 0 / 429.5 MB, free: 2.008 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001606/0.001892, allocations: 208.8 kB / 429.7 MB, free: 1.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.001924, allocations: 12.03 kB / 429.7 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.001942, allocations: 0.9375 kB / 429.7 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.454e-05/0.001987, allocations: 105.7 kB / 429.8 MB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.001994, allocations: 384 / 429.8 MB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.002001, allocations: 4.375 kB / 429.8 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.378e-05/0.002055, allocations: 34.25 kB / 429.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-06/0.002059, allocations: 192 / 429.9 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002064, allocations: 8.312 kB / 429.9 MB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.002067, allocations: 384 / 429.9 MB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.002082, allocations: 3.938 kB / 429.9 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.486e-05/0.002147, allocations: 61.05 kB / 429.9 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.002185, allocations: 34.5 kB / 430 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.002197, allocations: 12.92 kB / 430 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-05/0.002283, allocations: 4 kB / 430 MB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.002299, allocations: 30.56 kB / 430 MB, free: 1.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.0023, allocations: 4 kB / 430 MB, free: 1.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 7.629e-05/0.002376, allocations: 37.69 kB / 430 MB, free: 1.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.002401, allocations: 51.41 kB / 430.1 MB, free: 1.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.816e-05/0.002429, allocations: 93.86 kB / 430.2 MB, free: 1.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.002437, allocations: 29.64 kB / 430.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.002454, allocations: 80.14 kB / 430.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.002468, allocations: 7.938 kB / 430.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.002486, allocations: 9.719 kB / 430.3 MB, free: 1.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.002554, allocations: 322.8 kB / 430.6 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.002558, allocations: 128 / 430.6 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.002563, allocations: 8 kB / 430.6 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.002584, allocations: 12.84 kB / 430.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.002585, allocations: 0 / 430.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.17e-05/0.002617, allocations: 33.69 kB / 430.7 MB, free: 0.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.002631, allocations: 8 kB / 430.7 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.002635, allocations: 0 / 430.7 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.002643, allocations: 0 / 430.7 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.002677, allocations: 7.938 kB / 430.7 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.002679, allocations: 0 / 430.7 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-06/0.002687, allocations: 4.438 kB / 430.7 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-06/0.002689, allocations: 0 / 430.7 MB, free: 0.6484 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 (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 4.398e-05/0.002733, allocations: 117.8 kB / 430.8 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-06/0.002737, allocations: 0 / 430.8 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.002785, allocations: 40.8 kB / 430.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.002787, allocations: 0 / 430.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.002789, allocations: 0 / 430.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.002791, allocations: 4 kB / 430.9 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.537e-05/0.002837, allocations: 65.83 kB / 430.9 MB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.002837, allocations: 3.938 kB / 430.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.002845, allocations: 8.031 kB / 430.9 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.002846, allocations: 0 / 430.9 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.00285, allocations: 0 / 430.9 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.00285, allocations: 3.938 kB / 430.9 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.002852, allocations: 4 kB / 430.9 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.223e-05/0.002894, allocations: 65.06 kB / 431 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-06/0.002898, allocations: 0 / 431 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-06/0.002904, allocations: 0 / 431 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-06/0.002908, allocations: 0 / 431 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.002928, allocations: 11.98 kB / 431 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.00293, allocations: 4.031 kB / 431 MB, free: 276 kB / 394.7 MB Notification: Performance of sorting global known variables: time 6.151e-06/0.002936, allocations: 4.859 kB / 431 MB, free: 268 kB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002936, allocations: 0 / 431 MB, free: 268 kB / 394.7 MB Notification: Performance of remove unused functions: time 9.405e-05/0.00303, allocations: 4 kB / 431 MB, free: 264 kB / 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,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 8.074e-05/0.003111, allocations: 80.42 kB / 431.1 MB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 3.923e-05/0.00315, allocations: 20.78 kB / 431.1 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.003151, allocations: 0 / 431.1 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.00316, allocations: 8.859 kB / 431.1 MB, free: 140 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.822e-05/0.003199, allocations: 12.06 kB / 431.1 MB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001226/0.003321, allocations: 91.67 kB / 431.2 MB, free: 8 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.003356, allocations: 59.34 kB / 431.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.847e-06/0.003365, allocations: 0 / 431.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.003392, allocations: 51.38 kB / 431.3 MB, free: 15.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.003392, allocations: 0 / 431.3 MB, free: 15.88 MB / 410.7 MB Notification: Performance of Templates: time 0.00154/0.004932, allocations: 368.6 kB / 431.7 MB, free: 15.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2446694299578667]