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.0007508/0.0007508, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008141/0.0008141, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8202/0.8202, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5506/0.5506, allocations: 114 MB / 374.7 MB, free: 8.723 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.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.823e-06/1.823e-06, allocations: 0 / 0.5555 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.297e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001426/0.001459, allocations: 0.586 MB / 0.5561 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.001788, allocations: 55.73 kB / 0.5561 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.001818, allocations: 0 / 0.5561 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.00187, allocations: 3.938 kB / 0.5561 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.045e-05/0.00188, allocations: 0 / 0.5561 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.002238, allocations: 15.98 kB / 0.5561 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.002325, allocations: 27.97 kB / 0.5561 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.002369, allocations: 4 kB / 0.5562 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.002412, allocations: 19.97 kB / 0.5562 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.002437, allocations: 15.92 kB / 0.5562 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.002453, allocations: 0 / 0.5562 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.002544, allocations: 19.97 kB / 0.5562 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.002573, allocations: 15.98 kB / 0.5562 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.002598, allocations: 7.984 kB / 0.5562 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.002709, allocations: 35.83 kB / 0.5563 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002711, allocations: 3.938 kB / 0.5563 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.51e-07/0.002712, allocations: 4 kB / 0.5563 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.002718, allocations: 4 kB / 0.5563 GB, free: 1.414 MB / 0.5105 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.0002834/0.003001, allocations: 262.3 kB / 0.5565 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.003039, allocations: 8.625 kB / 0.5565 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.003078, allocations: 8.891 kB / 0.5565 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.162e-05/0.00314, allocations: 101.8 kB / 0.5566 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003152, allocations: 4.375 kB / 0.5566 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.003165, allocations: 8.375 kB / 0.5567 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003293, allocations: 66.2 kB / 0.5567 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.0033, allocations: 192 / 0.5567 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00331, allocations: 384 / 0.5567 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.003316, allocations: 4.375 kB / 0.5567 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.003424, allocations: 103.8 kB / 0.5568 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.003553, allocations: 121.2 kB / 0.5569 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.003642, allocations: 66.48 kB / 0.557 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.003677, allocations: 32.84 kB / 0.557 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.003861, allocations: 15.97 kB / 0.557 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.003883, allocations: 38.56 kB / 0.5571 GB, free: 488 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.041e-06/0.003884, allocations: 0 / 0.5571 GB, free: 488 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002115/0.004095, allocations: 120.4 kB / 0.5572 GB, free: 364 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.004124, allocations: 51.41 kB / 0.5572 GB, free: 300 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.305e-05/0.004157, allocations: 97.86 kB / 0.5573 GB, free: 192 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004166, allocations: 29.7 kB / 0.5574 GB, free: 156 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.004187, allocations: 84.08 kB / 0.5574 GB, free: 68 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.004213, allocations: 27.83 kB / 0.5575 GB, free: 40 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.004249, allocations: 33.7 kB / 0.5575 GB, free: 0 / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.004343, allocations: 310.8 kB / 0.5578 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.004376, allocations: 23.98 kB / 0.5578 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.004401, allocations: 19.98 kB / 0.5578 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.004476, allocations: 60.83 kB / 0.5579 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004478, allocations: 3.938 kB / 0.5579 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001006/0.004579, allocations: 97 kB / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004591, allocations: 4 kB / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004597, allocations: 8 kB / 0.558 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.004609, allocations: 0 / 0.558 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.004695, allocations: 19.98 kB / 0.558 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.004701, allocations: 0 / 0.558 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.00472, allocations: 11.83 kB / 0.558 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.004727, allocations: 4 kB / 0.558 GB, free: 15.43 MB / 0.5261 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.0001134/0.00484, allocations: 125.8 kB / 0.5582 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.004847, allocations: 0 / 0.5582 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.005008, allocations: 129.5 kB / 0.5583 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00501, allocations: 4 kB / 0.5583 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.005015, allocations: 0 / 0.5583 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.005019, allocations: 3.938 kB / 0.5583 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.462e-05/0.005094, allocations: 117.2 kB / 0.5584 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005096, allocations: 0 / 0.5584 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.005138, allocations: 23.92 kB / 0.5584 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005141, allocations: 0 / 0.5584 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.005149, allocations: 8 kB / 0.5584 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005151, allocations: 0 / 0.5584 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005152, allocations: 0 / 0.5584 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.005263, allocations: 121 kB / 0.5586 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.005268, allocations: 11.94 kB / 0.5586 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.005279, allocations: 0 / 0.5586 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.005287, allocations: 7.938 kB / 0.5586 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.005319, allocations: 11.92 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.005323, allocations: 4 kB / 0.5586 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.03e-05/0.005343, allocations: 75.28 kB / 0.5587 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005343, allocations: 0 / 0.5587 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001444/0.005488, allocations: 19.98 kB / 0.5587 GB, free: 14.72 MB / 0.5261 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.000147/0.005635, allocations: 115.2 kB / 0.5588 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.005747, allocations: 55.95 kB / 0.5588 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.005749, allocations: 0 / 0.5588 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.005782, allocations: 35.92 kB / 0.5589 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.005886, allocations: 4 kB / 0.5589 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.006134, allocations: 182 kB / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.00618, allocations: 67.34 kB / 0.5591 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.006204, allocations: 16.5 kB / 0.5591 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.006205, allocations: 0 / 0.5591 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.00181/0.008014, allocations: 0.9793 MB / 0.5601 GB, free: 13.21 MB / 0.5261 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: 4.738827329128981] Failed to read output from testmodel.py, exit status != 0: 0.014408838003873825 0.023458211000000003 0.01890408 Calling exit ...