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.002573/0.002573, allocations: 92.17 kB / 20.21 MB, free: 4.207 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.003049/0.003049, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 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.603/1.603, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.067/1.067, allocations: 115 MB / 375.3 MB, free: 7.566 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.272e-06/1.272e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.327e-05, allocations: 4 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002334/0.002358, allocations: 1.541 MB / 482.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.002688, allocations: 127.4 kB / 482.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.002728, allocations: 0 / 482.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.002751, allocations: 5.5 kB / 482.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.002799, allocations: 5.266 kB / 482.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.003066, allocations: 24.47 kB / 482.5 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.003157, allocations: 28.89 kB / 482.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003262, allocations: 11.72 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.003332, allocations: 16.17 kB / 482.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.003388, allocations: 17.11 kB / 482.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.003408, allocations: 2.094 kB / 482.6 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.003485, allocations: 18.98 kB / 482.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.0035, allocations: 1.094 kB / 482.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.003528, allocations: 16.62 kB / 482.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.003672, allocations: 34.94 kB / 482.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003676, allocations: 0 / 482.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003676, allocations: 0.6875 kB / 482.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003681, allocations: 0.5312 kB / 482.6 MB, free: 10.75 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.0003855/0.004066, allocations: 365.5 kB / 483 MB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.004101, allocations: 9.125 kB / 483 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.004147, allocations: 10.53 kB / 483 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/0.004215, allocations: 116.7 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.004236, allocations: 6.312 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.004246, allocations: 3.188 kB / 483.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.004388, allocations: 49.66 kB / 483.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.004397, allocations: 192 / 483.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.004407, allocations: 6.25 kB / 483.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004411, allocations: 384 / 483.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.004532, allocations: 36.42 kB / 483.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.004826, allocations: 265.2 kB / 483.5 MB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.005103, allocations: 55.64 kB / 483.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.005168, allocations: 22.72 kB / 483.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.005257, allocations: 14.27 kB / 483.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.005272, allocations: 39.59 kB / 483.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005273, allocations: 0 / 483.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002877/0.005561, allocations: 82.31 kB / 483.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.005582, allocations: 52.56 kB / 483.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.00564, allocations: 167.2 kB / 483.9 MB, free: 9.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.005648, allocations: 27.27 kB / 483.9 MB, free: 9.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.005835, allocations: 134.8 kB / 484.1 MB, free: 25.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.005849, allocations: 9.047 kB / 484.1 MB, free: 25.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.005895, allocations: 26.52 kB / 484.1 MB, free: 25.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.006106, allocations: 495.4 kB / 484.6 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.006168, allocations: 15.16 kB / 484.6 MB, free: 24.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.006217, allocations: 17.84 kB / 484.6 MB, free: 24.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.67e-05/0.006314, allocations: 31.72 kB / 484.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006315, allocations: 0.7812 kB / 484.6 MB, free: 24.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001411/0.006457, allocations: 67.95 kB / 484.7 MB, free: 24.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.00647, allocations: 8.906 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006475, allocations: 3.469 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.00649, allocations: 1.375 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.006553, allocations: 6.719 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.006558, allocations: 0 / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.006598, allocations: 8.016 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.006605, allocations: 0.75 kB / 484.7 MB, free: 24.75 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 0.0001096/0.006714, allocations: 159.8 kB / 484.9 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.006742, allocations: 8.109 kB / 484.9 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.006955, allocations: 76.14 kB / 485 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006958, allocations: 0 / 485 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.006962, allocations: 1.031 kB / 485 MB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.006966, allocations: 3.938 kB / 485 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.007086, allocations: 122.9 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007087, allocations: 2.188 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.007147, allocations: 12.48 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007148, allocations: 1.031 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.007158, allocations: 2.062 kB / 485.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.007161, allocations: 3.938 kB / 485.1 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007161, allocations: 0 / 485.1 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.007407, allocations: 216.9 kB / 485.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.007415, allocations: 1.781 kB / 485.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.007429, allocations: 0 / 485.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.007495, allocations: 14.14 kB / 485.3 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.007554, allocations: 10.05 kB / 485.4 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.007559, allocations: 2.25 kB / 485.4 MB, free: 24.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.007644, allocations: 127.6 kB / 485.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007644, allocations: 1.25 kB / 485.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.007879, allocations: 6.844 kB / 485.5 MB, free: 24.04 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 0.0001897/0.008069, allocations: 106.3 kB / 485.6 MB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.008264, allocations: 42.31 kB / 485.6 MB, free: 23.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008266, allocations: 0 / 485.6 MB, free: 23.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.00834, allocations: 32.5 kB / 485.7 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.008577, allocations: 8.406 kB / 485.7 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.008914, allocations: 123.1 kB / 485.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.047e-05/0.008964, allocations: 61.02 kB / 485.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.008995, allocations: 4.469 kB / 485.9 MB, free: 23.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.009029, allocations: 18.56 kB / 485.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.00903, allocations: 0 / 485.9 MB, free: 23.71 MB / 426.7 MB Notification: Performance of Templates: time 0.003621/0.01265, allocations: 0.7541 MB / 486.6 MB, free: 23.66 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: 5.663619892904535]