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.0008705/0.0008705, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.002015, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0008798/0.0008798, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002003, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1682/1.191, allocations: 53.65 MB / 243.2 MB, free: 2.34 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6527/0.6527, allocations: 119.1 MB / 363.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0675/0.7202, allocations: 37.86 MB / 400.9 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.503e-06/1.503e-06, allocations: 0 / 402.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.275e-05, allocations: 5.375 kB / 402.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002084/0.002097, allocations: 1.629 MB / 403.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.002274, allocations: 127.5 kB / 404 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.0023, allocations: 0 / 404 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.002322, allocations: 3.938 kB / 404 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.263e-05/0.002345, allocations: 4 kB / 404 MB, free: 12.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.00247, allocations: 19.86 kB / 404 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.002536, allocations: 35.91 kB / 404 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.002608, allocations: 4 kB / 404 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.002675, allocations: 27.91 kB / 404.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.002724, allocations: 4 kB / 404.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.002738, allocations: 8 kB / 404.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.002811, allocations: 19.97 kB / 404.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.002822, allocations: 4 kB / 404.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.002835, allocations: 7.938 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.447e-05/0.00293, allocations: 27.91 kB / 404.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.002942, allocations: 0 / 404.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002942, allocations: 0 / 404.1 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.002953, allocations: 4 kB / 404.2 MB, free: 12.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003043/0.003257, allocations: 236.6 kB / 404.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.003285, allocations: 15.89 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.00331, allocations: 12.92 kB / 404.4 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.003384, allocations: 113.7 kB / 404.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.003402, allocations: 4.375 kB / 404.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.003409, allocations: 4.312 kB / 404.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.003506, allocations: 62.94 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.003512, allocations: 4.188 kB / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003518, allocations: 384 / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-06/0.003521, allocations: 384 / 404.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.003544, allocations: 7.938 kB / 404.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.003746, allocations: 156.3 kB / 404.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.003878, allocations: 42.48 kB / 404.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.003892, allocations: 8.859 kB / 404.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.003949, allocations: 4 kB / 404.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.003966, allocations: 34.55 kB / 404.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.003967, allocations: 0 / 404.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 9.665e-05/0.004064, allocations: 53.67 kB / 404.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.004092, allocations: 55.34 kB / 405 MB, free: 11.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.928e-05/0.004131, allocations: 102.7 kB / 405.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004142, allocations: 29.7 kB / 405.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.004168, allocations: 92.11 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.004181, allocations: 3.953 kB / 405.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.004203, allocations: 17.72 kB / 405.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.004268, allocations: 318.8 kB / 405.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.004277, allocations: 3.984 kB / 405.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.004284, allocations: 4 kB / 405.5 MB, free: 10.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.004312, allocations: 16.84 kB / 405.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004314, allocations: 0 / 405.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.764e-05/0.004352, allocations: 37.64 kB / 405.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.004363, allocations: 11.98 kB / 405.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004367, allocations: 0 / 405.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.004376, allocations: 11.88 kB / 405.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.004418, allocations: 4 kB / 405.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.00442, allocations: 4 kB / 405.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.004437, allocations: 3.984 kB / 405.6 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.004439, allocations: 0 / 405.6 MB, free: 10.43 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 (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 4.486e-05/0.004484, allocations: 109.8 kB / 405.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.004496, allocations: 4 kB / 405.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.004569, allocations: 49.31 kB / 405.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004572, allocations: 7.938 kB / 405.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004573, allocations: 4 kB / 405.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.004575, allocations: 0 / 405.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.004652, allocations: 65.84 kB / 405.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.004654, allocations: 3.984 kB / 405.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.004678, allocations: 11.94 kB / 405.8 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.004683, allocations: 4 kB / 405.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.004685, allocations: 0 / 405.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.004691, allocations: 11.98 kB / 405.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004692, allocations: 0 / 405.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.004693, allocations: 3.938 kB / 405.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.004756, allocations: 140.1 kB / 406 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.004764, allocations: 0 / 406 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.004793, allocations: 4 kB / 406 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.004825, allocations: 7.984 kB / 406 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.004828, allocations: 7.938 kB / 406 MB, free: 9.953 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.485e-06/0.004835, allocations: 8.891 kB / 406 MB, free: 9.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004836, allocations: 4 kB / 406 MB, free: 9.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001152/0.004951, allocations: 7.984 kB / 406 MB, free: 9.93 MB / 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.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.815e-05/0.005049, allocations: 84.36 kB / 406.1 MB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.894e-05/0.005108, allocations: 20.84 kB / 406.1 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.005111, allocations: 0 / 406.1 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.00513, allocations: 16.86 kB / 406.2 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005248, allocations: 11.98 kB / 406.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.005582, allocations: 124.4 kB / 406.3 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.005612, allocations: 59.3 kB / 406.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.845e-05/0.005631, allocations: 0 / 406.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.005672, allocations: 63.34 kB / 406.4 MB, free: 9.496 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005672, allocations: 4 kB / 406.4 MB, free: 9.492 MB / 394.7 MB Notification: Performance of Templates: time 0.001995/0.007667, allocations: 0.7825 MB / 407.2 MB, free: 8.723 MB / 394.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.2932407530024648]