Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.0014/0.0014, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001807/0.001807, allocations: 215.1 kB / 22.99 MB, free: 4.977 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.055/1.055, allocations: 149.9 MB / 463 MB, free: 10.35 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.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.002174/0.002174, allocations: 66.69 kB / 0.6415 GB, free: 9.605 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2067, allocations: 89.18 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002952/0.2096, allocations: 1.547 MB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000437/0.2101, allocations: 135.6 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.2101, allocations: 3.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.2102, allocations: 3.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.2102, allocations: 3.938 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.2105, allocations: 31.91 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.2106, allocations: 35.91 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2107, allocations: 11.98 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.2108, allocations: 23.92 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.2108, allocations: 11.92 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2109, allocations: 4 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.211, allocations: 23.97 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.211, allocations: 7.938 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.2111, allocations: 15.92 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2112, allocations: 47.81 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2112, allocations: 0 / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2112, allocations: 0 / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2112, allocations: 0 / 0.7305 GB, free: 14.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005359/0.2118, allocations: 278.3 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2118, allocations: 8.031 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.2119, allocations: 16.89 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.212, allocations: 114.4 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.212, allocations: 384 / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.212, allocations: 4.375 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2123, allocations: 62.22 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2123, allocations: 192 / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2123, allocations: 3.938 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2123, allocations: 0 / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2125, allocations: 51.95 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.213, allocations: 224.4 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.2133, allocations: 50.48 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.2134, allocations: 32.83 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.2136, allocations: 23.98 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2136, allocations: 30.56 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.2136, allocations: 0 / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.214, allocations: 101.6 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.2141, allocations: 55.41 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2142, allocations: 101.8 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2142, allocations: 25.7 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.2143, allocations: 88.09 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2143, allocations: 7.953 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2144, allocations: 13.72 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.2146, allocations: 322.8 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.2147, allocations: 15.98 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-05/0.2147, allocations: 28.09 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2149, allocations: 48.91 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2149, allocations: 3.938 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002236/0.2152, allocations: 77.58 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2152, allocations: 12 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2152, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2152, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.2153, allocations: 11.98 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2153, allocations: 0 / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.2153, allocations: 4 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.2154, allocations: 0 / 0.7322 GB, free: 12.62 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: 2 (falFac.y,rea2Int.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 0.0001354/0.2155, allocations: 121.8 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.2155, allocations: 3.953 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2158, allocations: 89.27 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2158, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2158, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2158, allocations: 4.188 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.216, allocations: 117.2 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.216, allocations: 4 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.2161, allocations: 11.98 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2161, allocations: 0 / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2161, allocations: 4 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2161, allocations: 4 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2161, allocations: 4 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.2164, allocations: 175.4 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.2164, allocations: 3.953 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2164, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.2165, allocations: 7.984 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.2166, allocations: 8 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2166, allocations: 0 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.2166, allocations: 83.27 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2166, allocations: 4 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002396/0.2169, allocations: 12 kB / 0.7329 GB, free: 11.91 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: 2 (rea2Int.y,falFac.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 0.0001918/0.2171, allocations: 99.25 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2173, allocations: 39.95 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2173, allocations: 0 / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2174, allocations: 31.91 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2178, allocations: 14.14 kB / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.2182, allocations: 117.5 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.562e-05/0.2183, allocations: 67.28 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2183, allocations: 0 / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.2183, allocations: 19.42 kB / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2183, allocations: 0 / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.003483/0.2218, allocations: 0.7775 MB / 0.734 GB, free: 10.71 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.308630058541894] Failed to read output from testmodel.py, exit status != 0: 0.23066305555403233 0.24651565499999994 0.03213805999999994 Calling exit ...