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.001875/0.001875, allocations: 92.72 kB / 20.21 MB, free: 4.195 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.002279/0.002279, allocations: 157.7 kB / 23.52 MB, free: 0.8906 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.582 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 0.9409/0.9409, allocations: 115 MB / 375.3 MB, free: 7.547 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.415e-06/2.415e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.727e-05, allocations: 2.844 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.002144/0.002182, allocations: 0.5904 MB / 481.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000299/0.002481, allocations: 52.11 kB / 481.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.002501, allocations: 0 / 481.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.002517, allocations: 0 / 481.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-06/0.002525, allocations: 0.625 kB / 481.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.002829, allocations: 11.92 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.002878, allocations: 10.41 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.00293, allocations: 1.75 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.002962, allocations: 2.156 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.002985, allocations: 0 / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.002999, allocations: 3.906 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.003092, allocations: 7.016 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.003105, allocations: 9.203 kB / 481.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.00313, allocations: 0 / 481.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003244, allocations: 12.48 kB / 481.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003247, allocations: 0 / 481.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003247, allocations: 0 / 481.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003252, allocations: 1 kB / 481.5 MB, free: 11.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003274/0.00358, allocations: 243.5 kB / 481.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.003628, allocations: 10.09 kB / 481.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.00369, allocations: 2.406 kB / 481.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.913e-05/0.003759, allocations: 105.5 kB / 481.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.003778, allocations: 384 / 481.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.003791, allocations: 7.281 kB / 481.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.003916, allocations: 35.2 kB / 481.9 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.00393, allocations: 4.75 kB / 481.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.00394, allocations: 384 / 481.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.003946, allocations: 1.719 kB / 481.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.003994, allocations: 11.86 kB / 481.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.00412, allocations: 97.3 kB / 482 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.004188, allocations: 23.11 kB / 482.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.004212, allocations: 7.172 kB / 482.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.004399, allocations: 8.344 kB / 482.1 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.004426, allocations: 31.22 kB / 482.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.004427, allocations: 0 / 482.1 MB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.004623, allocations: 47.3 kB / 482.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.004663, allocations: 51.97 kB / 482.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.004704, allocations: 97.34 kB / 482.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.004715, allocations: 25.7 kB / 482.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.004732, allocations: 81.67 kB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.004759, allocations: 4 kB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.004798, allocations: 12.41 kB / 482.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003998/0.005197, allocations: 316.2 kB / 482.7 MB, free: 26.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.005217, allocations: 7.312 kB / 482.7 MB, free: 26.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.005228, allocations: 6.531 kB / 482.7 MB, free: 26.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.005281, allocations: 17.8 kB / 482.8 MB, free: 26.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.005283, allocations: 0 / 482.8 MB, free: 26.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.494e-05/0.005368, allocations: 42.84 kB / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.005391, allocations: 5.812 kB / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.005398, allocations: 0 / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.005425, allocations: 1.906 kB / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.005504, allocations: 3.688 kB / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.005512, allocations: 0 / 482.8 MB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.005534, allocations: 4.75 kB / 482.8 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.00554, allocations: 1.188 kB / 482.8 MB, free: 26.21 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 (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 0.0001074/0.005648, allocations: 107.8 kB / 482.9 MB, free: 26.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.005662, allocations: 5.516 kB / 482.9 MB, free: 26.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.005783, allocations: 47.39 kB / 483 MB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.005786, allocations: 3.469 kB / 483 MB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.005794, allocations: 0 / 483 MB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.0058, allocations: 5.016 kB / 483 MB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.672e-05/0.005877, allocations: 104.8 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005878, allocations: 0 / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.005905, allocations: 4.469 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005907, allocations: 0 / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.005915, allocations: 0 / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.005918, allocations: 3.469 kB / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005919, allocations: 0 / 483.1 MB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.006006, allocations: 76.84 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-06/0.006015, allocations: 4.781 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.006032, allocations: 0.5625 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.006049, allocations: 2.5 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.006094, allocations: 0.7812 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.006099, allocations: 1.031 kB / 483.2 MB, free: 25.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.006172, allocations: 77.5 kB / 483.3 MB, free: 25.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006172, allocations: 2.281 kB / 483.3 MB, free: 25.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.006515, allocations: 3.406 kB / 483.3 MB, free: 25.77 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,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 0.0002387/0.006754, allocations: 111 kB / 483.4 MB, free: 25.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.006856, allocations: 15.41 kB / 483.4 MB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.006858, allocations: 1.844 kB / 483.4 MB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.00688, allocations: 10.64 kB / 483.4 MB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.007124, allocations: 5.297 kB / 483.4 MB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.007396, allocations: 85.47 kB / 483.5 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.007444, allocations: 60.75 kB / 483.5 MB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.686e-05/0.007461, allocations: 0.9688 kB / 483.5 MB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.007489, allocations: 12.03 kB / 483.6 MB, free: 25.48 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.007489, allocations: 0 / 483.6 MB, free: 25.48 MB / 426.7 MB Notification: Performance of Templates: time 0.003712/0.0112, allocations: 346 kB / 483.9 MB, free: 25.43 MB / 426.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.54546415398363]