Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.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.001276/0.001276, allocations: 77.09 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001511/0.001511, allocations: 169.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.432/1.432, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 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.926/0.926, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5547 GB, free: 2.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.966e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001499/0.001529, allocations: 0.5845 MB / 0.5553 GB, free: 1.996 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.001784, allocations: 56.14 kB / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.001802, allocations: 0 / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.001831, allocations: 0 / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.001837, allocations: 0 / 0.5554 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.00216, allocations: 23.91 kB / 0.5554 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.002248, allocations: 27.97 kB / 0.5554 GB, free: 1.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.002291, allocations: 7.984 kB / 0.5554 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.002329, allocations: 12 kB / 0.5554 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.279e-05/0.002362, allocations: 15.91 kB / 0.5554 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.002378, allocations: 4 kB / 0.5555 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.012e-05/0.002468, allocations: 15.98 kB / 0.5555 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.002512, allocations: 15.97 kB / 0.5555 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.002538, allocations: 8 kB / 0.5555 GB, free: 1.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.002654, allocations: 43.8 kB / 0.5555 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002656, allocations: 0 / 0.5555 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002656, allocations: 0 / 0.5555 GB, free: 1.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.002665, allocations: 0 / 0.5555 GB, free: 1.77 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003469/0.003012, allocations: 266.3 kB / 0.5558 GB, free: 1.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.003048, allocations: 8.625 kB / 0.5558 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.003088, allocations: 8.938 kB / 0.5558 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.003177, allocations: 105.7 kB / 0.5559 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.003195, allocations: 8.375 kB / 0.5559 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.00321, allocations: 384 / 0.5559 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.003367, allocations: 70.16 kB / 0.556 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.003376, allocations: 192 / 0.556 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.003384, allocations: 384 / 0.556 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003389, allocations: 384 / 0.556 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.003535, allocations: 99.8 kB / 0.5561 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.003702, allocations: 133.1 kB / 0.5562 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.003824, allocations: 68.94 kB / 0.5563 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.003871, allocations: 28.84 kB / 0.5563 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.00404, allocations: 23.98 kB / 0.5563 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.00407, allocations: 34.56 kB / 0.5563 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.004071, allocations: 0 / 0.5563 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002474/0.004319, allocations: 109.9 kB / 0.5565 GB, free: 0.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.004354, allocations: 55.34 kB / 0.5565 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.004409, allocations: 97.81 kB / 0.5566 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.00443, allocations: 33.69 kB / 0.5566 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.004463, allocations: 88.08 kB / 0.5567 GB, free: 416 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.004498, allocations: 19.86 kB / 0.5567 GB, free: 396 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.004554, allocations: 33.7 kB / 0.5568 GB, free: 356 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.004701, allocations: 314.8 kB / 0.5571 GB, free: 32 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.004741, allocations: 19.98 kB / 0.5571 GB, free: 12 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.004793, allocations: 20.03 kB / 0.5571 GB, free: 15.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.732e-05/0.004891, allocations: 58.86 kB / 0.5572 GB, free: 15.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.004892, allocations: 0 / 0.5572 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001504/0.005043, allocations: 97.55 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005055, allocations: 4 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005059, allocations: 0 / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.005075, allocations: 8 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.005171, allocations: 15.98 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.005178, allocations: 4 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.005201, allocations: 11.83 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.00521, allocations: 4 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001145/0.005324, allocations: 126.9 kB / 0.5574 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.005334, allocations: 3.938 kB / 0.5574 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.005553, allocations: 125.5 kB / 0.5575 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.005557, allocations: 4 kB / 0.5575 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.00556, allocations: 4 kB / 0.5576 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.005568, allocations: 7.922 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.005692, allocations: 117.2 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005692, allocations: 0 / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.005764, allocations: 23.92 kB / 0.5577 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005766, allocations: 0 / 0.5577 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.005779, allocations: 7.984 kB / 0.5577 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.005782, allocations: 4 kB / 0.5577 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005783, allocations: 0 / 0.5577 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.005957, allocations: 127.4 kB / 0.5578 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.005965, allocations: 8 kB / 0.5578 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.005976, allocations: 0 / 0.5578 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.005994, allocations: 7.938 kB / 0.5578 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.006032, allocations: 11.92 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.006041, allocations: 7.984 kB / 0.5579 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.006077, allocations: 75.28 kB / 0.5579 GB, free: 15.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006077, allocations: 0 / 0.5579 GB, free: 15.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.006282, allocations: 16 kB / 0.5579 GB, free: 15.06 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001736/0.006456, allocations: 99.25 kB / 0.558 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.006598, allocations: 71.89 kB / 0.5581 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006599, allocations: 0 / 0.5581 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.006651, allocations: 31.92 kB / 0.5581 GB, free: 14.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.00678, allocations: 8 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.007057, allocations: 144.8 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.007123, allocations: 68.16 kB / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.556e-05/0.007198, allocations: 39.95 kB / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.007223, allocations: 16.5 kB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.007224, allocations: 0 / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of Templates: time 0.003056/0.01028, allocations: 0.5838 MB / 0.559 GB, free: 13.96 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.16299856826663] Failed to read output from testmodel.py, exit status != 0: 0.01815667375922203 0.033153354 0.027449967000000002 Calling exit ...