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.001849/0.001849, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002557/0.002557, allocations: 210 kB / 22.99 MB, free: 4.605 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.647/1.647, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 1.018/1.018, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003088/0.003088, allocations: 68.84 kB / 0.6416 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2242, allocations: 89.17 MB / 0.7287 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002184/0.2264, allocations: 0.5783 MB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000347/0.2267, allocations: 51.7 kB / 0.7293 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.2267, allocations: 3.938 kB / 0.7293 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.2268, allocations: 0 / 0.7293 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.2268, allocations: 0 / 0.7293 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.2271, allocations: 31.91 kB / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.2272, allocations: 27.98 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.2273, allocations: 0 / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.2273, allocations: 19.97 kB / 0.7294 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.2273, allocations: 4 kB / 0.7294 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2273, allocations: 3.938 kB / 0.7294 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2274, allocations: 27.95 kB / 0.7294 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.2275, allocations: 8 kB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.2275, allocations: 7.938 kB / 0.7294 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2276, allocations: 35.83 kB / 0.7295 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.2276, allocations: 4 kB / 0.7295 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2276, allocations: 4 kB / 0.7295 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2276, allocations: 0 / 0.7295 GB, free: 15.72 MB / 0.5606 GB 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.0003699/0.228, allocations: 270.2 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.228, allocations: 8.031 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.2281, allocations: 4.938 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2282, allocations: 106.5 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2282, allocations: 8.312 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2282, allocations: 8.375 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2284, allocations: 63.42 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2284, allocations: 192 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2284, allocations: 7.938 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2284, allocations: 4 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.2286, allocations: 91.88 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.2287, allocations: 121.3 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2289, allocations: 66.48 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.2289, allocations: 29.17 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.2291, allocations: 23.91 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.2292, allocations: 34.56 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2292, allocations: 0 / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002772/0.2294, allocations: 116.1 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2295, allocations: 55.41 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.2296, allocations: 97.86 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2296, allocations: 25.7 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.2296, allocations: 80.14 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.2297, allocations: 31.72 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2297, allocations: 33.7 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.2299, allocations: 310.8 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.2299, allocations: 23.92 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.2299, allocations: 23.98 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.23, allocations: 56.83 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2301, allocations: 4 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001655/0.2302, allocations: 101.4 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2302, allocations: 10.5 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2302, allocations: 3.938 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2303, allocations: 3.938 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2304, allocations: 23.92 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2304, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.2304, allocations: 3.938 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2304, allocations: 4 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB 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.0001711/0.2306, allocations: 121.8 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.2306, allocations: 11.95 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.2309, allocations: 125.4 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2309, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.2309, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2309, allocations: 0 / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.231, allocations: 121.2 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.231, allocations: 0 / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.936e-05/0.2311, allocations: 23.92 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2311, allocations: 0 / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2311, allocations: 8 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2311, allocations: 3.938 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2311, allocations: 4 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2313, allocations: 121 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.2313, allocations: 7.891 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2313, allocations: 3.938 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.2313, allocations: 12 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.2314, allocations: 7.984 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2314, allocations: 3.984 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.2314, allocations: 75.28 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2314, allocations: 4 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002041/0.2316, allocations: 12 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB 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.0001908/0.2318, allocations: 103.2 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.232, allocations: 71.83 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.232, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.232, allocations: 27.98 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.2322, allocations: 8 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.2325, allocations: 144.7 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.2326, allocations: 67.34 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.946e-05/0.2327, allocations: 35.97 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.2327, allocations: 19.42 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2327, allocations: 0 / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.003093/0.2358, allocations: 0.5722 MB / 0.7329 GB, free: 11.93 MB / 0.5606 GB " [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: 6.229051049798727] Failed to read output from testmodel.py, exit status != 0: 0.24610158801078796 0.25929802 0.028517789 Calling exit ...