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.001057/0.001057, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001199/0.001199, allocations: 169.3 kB / 24.25 MB, free: 308 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.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6355/0.6355, allocations: 115 MB / 376 MB, free: 7.684 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 2.014e-06/2.014e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.123e-05, allocations: 5.766 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002419/0.00244, allocations: 1.568 MB / 483.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.002731, allocations: 129.3 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002764, allocations: 2.5 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.002786, allocations: 3.938 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.655e-05/0.002823, allocations: 0.5 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003035, allocations: 32.77 kB / 483.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.003099, allocations: 32.16 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.003181, allocations: 3.312 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.003227, allocations: 18.27 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.003265, allocations: 11.94 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.003282, allocations: 2.25 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.559e-05/0.003337, allocations: 14.75 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.003353, allocations: 12.84 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.003372, allocations: 4.719 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.00349, allocations: 35.45 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003492, allocations: 0 / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003493, allocations: 0 / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.003498, allocations: 1.469 kB / 483.4 MB, free: 10.68 MB / 410.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.000309/0.003807, allocations: 367.9 kB / 483.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.003844, allocations: 11.38 kB / 483.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.003878, allocations: 3.25 kB / 483.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.029e-05/0.003948, allocations: 116.2 kB / 483.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.003966, allocations: 5.062 kB / 483.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.003977, allocations: 1.688 kB / 483.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.004093, allocations: 64.12 kB / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.004098, allocations: 192 / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.004106, allocations: 1.875 kB / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004111, allocations: 384 / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.004147, allocations: 17.19 kB / 484 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.004579, allocations: 261 kB / 484.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.004767, allocations: 46.34 kB / 484.3 MB, free: 25.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.00479, allocations: 16.12 kB / 484.3 MB, free: 25.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.866e-05/0.004859, allocations: 12.62 kB / 484.3 MB, free: 25.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.004875, allocations: 41.27 kB / 484.3 MB, free: 25.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.004876, allocations: 1.531 kB / 484.3 MB, free: 25.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001309/0.005007, allocations: 54.42 kB / 484.4 MB, free: 25.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.005026, allocations: 51.41 kB / 484.4 MB, free: 25.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.005089, allocations: 164.9 kB / 484.6 MB, free: 25.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.005096, allocations: 25.7 kB / 484.6 MB, free: 25.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.00514, allocations: 126.9 kB / 484.7 MB, free: 25.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.005154, allocations: 11.45 kB / 484.8 MB, free: 25.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.005177, allocations: 21.41 kB / 484.8 MB, free: 25.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.005293, allocations: 492.1 kB / 485.3 MB, free: 24.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.005308, allocations: 11.61 kB / 485.3 MB, free: 24.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.005322, allocations: 8.75 kB / 485.3 MB, free: 24.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.00535, allocations: 14.16 kB / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005351, allocations: 1.906 kB / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.929e-05/0.005411, allocations: 45.19 kB / 485.3 MB, free: 24.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.005423, allocations: 11.69 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005428, allocations: 3.375 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005438, allocations: 0 / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.005479, allocations: 4.531 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005483, allocations: 1.938 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.005505, allocations: 11.19 kB / 485.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.005508, allocations: 0 / 485.4 MB, free: 24.71 MB / 426.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.914e-05/0.005567, allocations: 163.6 kB / 485.5 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.005582, allocations: 6.172 kB / 485.5 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.005665, allocations: 58.39 kB / 485.6 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005667, allocations: 2.594 kB / 485.6 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.00567, allocations: 0 / 485.6 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005672, allocations: 1.469 kB / 485.6 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.629e-05/0.005739, allocations: 120.5 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.00574, allocations: 1.094 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.005765, allocations: 9.531 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005766, allocations: 2.094 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.005771, allocations: 0.8438 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005773, allocations: 4.781 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005773, allocations: 0 / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.005859, allocations: 202.8 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.005864, allocations: 6.875 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.005872, allocations: 0 / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.005903, allocations: 6.094 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.005942, allocations: 7.406 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005945, allocations: 0 / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.005978, allocations: 130.9 kB / 486.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005978, allocations: 0 / 486.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.006118, allocations: 11.3 kB / 486.1 MB, free: 24.01 MB / 426.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.195e-05/0.00621, allocations: 101.9 kB / 486.2 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.006276, allocations: 28.08 kB / 486.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006278, allocations: 0 / 486.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.704e-05/0.006305, allocations: 19.95 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.006454, allocations: 5.156 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.006651, allocations: 118.9 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.536e-05/0.006677, allocations: 55.3 kB / 486.4 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.948e-05/0.006696, allocations: 7.828 kB / 486.4 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.006718, allocations: 24.16 kB / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006718, allocations: 0 / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of Templates: time 0.002109/0.008828, allocations: 0.7564 MB / 487.2 MB, free: 23.62 MB / 426.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.5855260209646076]