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.001046/0.001046, allocations: 72.83 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.00151/0.00151, allocations: 169 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 1.079/1.079, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.6961/0.6961, allocations: 115 MB / 376 MB, free: 7.461 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 2.224e-06/2.224e-06, allocations: 0 / 428.8 MB, free: 2.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.293e-05, allocations: 2.312 kB / 428.8 MB, free: 2.68 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00127/0.001292, allocations: 0.6465 MB / 429.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.001528, allocations: 51.8 kB / 429.5 MB, free: 1.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.001542, allocations: 0 / 429.5 MB, free: 1.984 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.001555, allocations: 3.938 kB / 429.5 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.104e-06/0.001563, allocations: 0 / 429.5 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.001785, allocations: 15.92 kB / 429.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.646e-05/0.001832, allocations: 0 / 429.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.001871, allocations: 4 kB / 429.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.001903, allocations: 0 / 429.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.908e-05/0.001922, allocations: 0 / 429.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.001934, allocations: 4 kB / 429.5 MB, free: 1.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.002036, allocations: 19.97 kB / 429.6 MB, free: 1.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.002047, allocations: 0 / 429.6 MB, free: 1.938 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.034e-05/0.002058, allocations: 0 / 429.6 MB, free: 1.938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 7.766e-05/0.002135, allocations: 11.98 kB / 429.6 MB, free: 1.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002137, allocations: 0 / 429.6 MB, free: 1.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002138, allocations: 0 / 429.6 MB, free: 1.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.002142, allocations: 3.938 kB / 429.6 MB, free: 1.922 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.0001968/0.002339, allocations: 220.7 kB / 429.8 MB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.002379, allocations: 8.031 kB / 429.8 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.002402, allocations: 4.938 kB / 429.8 MB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.65e-05/0.002459, allocations: 109.8 kB / 429.9 MB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.002467, allocations: 384 / 429.9 MB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-06/0.002472, allocations: 384 / 429.9 MB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/0.00254, allocations: 38.25 kB / 430 MB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.002548, allocations: 192 / 430 MB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.002554, allocations: 384 / 430 MB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.002558, allocations: 384 / 430 MB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.002577, allocations: 7.938 kB / 430 MB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.088e-05/0.002658, allocations: 61.03 kB / 430 MB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.002857, allocations: 22.55 kB / 430 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.00287, allocations: 12.84 kB / 430.1 MB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.002975, allocations: 4.062 kB / 430.1 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.002996, allocations: 38.56 kB / 430.1 MB, free: 1.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.002997, allocations: 0 / 430.1 MB, free: 1.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 9.13e-05/0.003088, allocations: 37.62 kB / 430.1 MB, free: 1.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.003117, allocations: 55.41 kB / 430.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.296e-05/0.00315, allocations: 89.86 kB / 430.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003159, allocations: 25.7 kB / 430.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.003181, allocations: 80.14 kB / 430.4 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.0032, allocations: 7.922 kB / 430.4 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.00322, allocations: 17.84 kB / 430.4 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.003306, allocations: 314.8 kB / 430.7 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.003312, allocations: 4 kB / 430.7 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.003319, allocations: 3.984 kB / 430.7 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.003344, allocations: 8.859 kB / 430.7 MB, free: 0.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003346, allocations: 0 / 430.7 MB, free: 0.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.34e-05/0.003389, allocations: 45.62 kB / 430.8 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.003402, allocations: 4 kB / 430.8 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.003406, allocations: 0 / 430.8 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.003417, allocations: 8.094 kB / 430.8 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.003457, allocations: 0 / 430.8 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.003459, allocations: 0 / 430.8 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.003468, allocations: 4.344 kB / 430.8 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.003472, allocations: 3.938 kB / 430.8 MB, free: 0.5547 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 5.791e-05/0.00353, allocations: 109.8 kB / 430.9 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-06/0.003534, allocations: 4 kB / 430.9 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.003594, allocations: 40.8 kB / 430.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.003596, allocations: 0 / 430.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.003598, allocations: 0 / 430.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.0036, allocations: 7.969 kB / 431 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.981e-05/0.00365, allocations: 69.83 kB / 431 MB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003651, allocations: 0 / 431 MB, free: 296 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.003662, allocations: 8 kB / 431 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.003663, allocations: 0 / 431 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-06/0.003666, allocations: 0 / 431 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.003668, allocations: 4 kB / 431 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.003669, allocations: 0 / 431 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.704e-05/0.003716, allocations: 65.05 kB / 431.1 MB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-06/0.003721, allocations: 4 kB / 431.1 MB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.003728, allocations: 4.031 kB / 431.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-06/0.003732, allocations: 0 / 431.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.003752, allocations: 0 / 431.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.003755, allocations: 7.984 kB / 431.1 MB, free: 184 kB / 394.7 MB Notification: Performance of sorting global known variables: time 4.819e-06/0.003759, allocations: 4.859 kB / 431.1 MB, free: 176 kB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003759, allocations: 0 / 431.1 MB, free: 176 kB / 394.7 MB Notification: Performance of remove unused functions: time 9.337e-05/0.003853, allocations: 7.938 kB / 431.1 MB, free: 168 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 9.53e-05/0.003948, allocations: 80.42 kB / 431.2 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.003996, allocations: 20.86 kB / 431.2 MB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.003998, allocations: 4.062 kB / 431.2 MB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.004011, allocations: 12.84 kB / 431.2 MB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.079e-05/0.004061, allocations: 3.938 kB / 431.2 MB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001707/0.004232, allocations: 87.69 kB / 431.3 MB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.004263, allocations: 59.34 kB / 431.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.004276, allocations: 0 / 431.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.004309, allocations: 59.31 kB / 431.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.004309, allocations: 0 / 431.4 MB, free: 15.78 MB / 410.7 MB Notification: Performance of Templates: time 0.001795/0.006104, allocations: 372.7 kB / 431.8 MB, free: 15.42 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4520255238749087]