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.001463/0.001463, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001299/0.001299, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9511/0.9511, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.5899/0.5899, allocations: 115 MB / 375.7 MB, free: 7.598 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.352e-06/1.352e-06, allocations: 0.6562 kB / 481.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.408e-05, allocations: 2.312 kB / 481.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001085/0.0011, allocations: 0.6103 MB / 482.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.0013, allocations: 47.03 kB / 482.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.001315, allocations: 2.5 kB / 482.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.001333, allocations: 0 / 482.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.001338, allocations: 2.688 kB / 482.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.001546, allocations: 9.938 kB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.001588, allocations: 11.45 kB / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.001619, allocations: 0 / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.001643, allocations: 6.375 kB / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.742e-05/0.00166, allocations: 0 / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.001672, allocations: 0 / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.004409, allocations: 12.25 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.004419, allocations: 1.25 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.004433, allocations: 2.875 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.004514, allocations: 16.39 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004516, allocations: 1.281 kB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004516, allocations: 3.938 kB / 482.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00452, allocations: 0 / 482.3 MB, free: 11.44 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.0001973/0.004718, allocations: 338.2 kB / 482.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.00475, allocations: 9.375 kB / 482.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.004784, allocations: 5 kB / 482.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.254e-05/0.004827, allocations: 105.5 kB / 482.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004838, allocations: 3.062 kB / 482.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.004847, allocations: 6.938 kB / 482.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.004925, allocations: 28.55 kB / 482.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.004934, allocations: 4.75 kB / 482.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.004943, allocations: 1.062 kB / 482.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.004951, allocations: 3.656 kB / 482.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.00498, allocations: 7.844 kB / 482.8 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.219e-05/0.005072, allocations: 110.6 kB / 482.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.005123, allocations: 32.5 kB / 482.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.005139, allocations: 10.84 kB / 482.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.00528, allocations: 4.062 kB / 483 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.005299, allocations: 39.28 kB / 483 MB, free: 10.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.0053, allocations: 1.031 kB / 483 MB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.005434, allocations: 51.78 kB / 483 MB, free: 10.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.005458, allocations: 51.41 kB / 483.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.465e-05/0.005483, allocations: 142.2 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.005488, allocations: 25.7 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.005602, allocations: 129.2 kB / 483.4 MB, free: 26.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.005619, allocations: 0.8125 kB / 483.4 MB, free: 26.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.00565, allocations: 25.22 kB / 483.4 MB, free: 26.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.005778, allocations: 0.4894 MB / 483.9 MB, free: 25.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.005792, allocations: 0 / 483.9 MB, free: 25.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.0058, allocations: 1.156 kB / 483.9 MB, free: 25.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.005841, allocations: 26.09 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005844, allocations: 1.188 kB / 483.9 MB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.387e-05/0.005888, allocations: 32.11 kB / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.005901, allocations: 4.344 kB / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.005907, allocations: 3.312 kB / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.00592, allocations: 7.312 kB / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.005974, allocations: 3.562 kB / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.005979, allocations: 0 / 484 MB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-06/0.005988, allocations: 3.938 kB / 484 MB, free: 25.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005992, allocations: 4.188 kB / 484 MB, free: 25.67 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 5.6e-05/0.006048, allocations: 158 kB / 484.1 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-06/0.006052, allocations: 1.594 kB / 484.1 MB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.006115, allocations: 45.16 kB / 484.2 MB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.006116, allocations: 0.9062 kB / 484.2 MB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006119, allocations: 0 / 484.2 MB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006122, allocations: 0 / 484.2 MB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.576e-05/0.006168, allocations: 123.4 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006168, allocations: 0 / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.00618, allocations: 2.375 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006183, allocations: 4.594 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.006189, allocations: 0.5312 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.00619, allocations: 1.094 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006191, allocations: 0.8438 kB / 484.3 MB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.153e-05/0.006242, allocations: 82.44 kB / 484.4 MB, free: 25.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-06/0.006248, allocations: 7.656 kB / 484.4 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.006258, allocations: 3.328 kB / 484.4 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-06/0.006263, allocations: 0.6875 kB / 484.4 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.006295, allocations: 2.938 kB / 484.4 MB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006297, allocations: 1.094 kB / 484.4 MB, free: 25.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.006327, allocations: 120.2 kB / 484.5 MB, free: 25.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006327, allocations: 0 / 484.5 MB, free: 25.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.006443, allocations: 4.438 kB / 484.5 MB, free: 25.11 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 9.172e-05/0.006535, allocations: 104.8 kB / 484.6 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.453e-05/0.006609, allocations: 19.72 kB / 484.7 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.006611, allocations: 0 / 484.7 MB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.006621, allocations: 16.56 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.631e-05/0.006708, allocations: 6.969 kB / 484.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.006852, allocations: 86.84 kB / 484.8 MB, free: 24.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.786e-05/0.00687, allocations: 57.39 kB / 484.8 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.00688, allocations: 6.078 kB / 484.8 MB, free: 24.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.006894, allocations: 11.09 kB / 484.8 MB, free: 24.8 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006894, allocations: 0 / 484.8 MB, free: 24.8 MB / 426.7 MB Notification: Performance of Templates: time 0.00172/0.008614, allocations: 360.8 kB / 485.2 MB, free: 24.74 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.449348676018417]