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.00127/0.00127, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001472/0.001472, allocations: 204 kB / 20.09 MB, free: 2.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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.014/1.014, allocations: 150 MB / 459.5 MB, free: 5.266 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [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.002024/0.002024, allocations: 73.86 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2224, allocations: 89.13 MB / 0.7232 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002102/0.2245, allocations: 0.5771 MB / 0.7238 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.2249, allocations: 63.72 kB / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.2249, allocations: 0 / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.225, allocations: 0 / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.558e-06/0.225, allocations: 0 / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.2254, allocations: 23.91 kB / 0.7238 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2255, allocations: 23.98 kB / 0.7239 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.402e-05/0.2256, allocations: 7.984 kB / 0.7239 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.2256, allocations: 12 kB / 0.7239 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.2256, allocations: 15.98 kB / 0.7239 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2257, allocations: 0 / 0.7239 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2258, allocations: 19.97 kB / 0.7239 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.2258, allocations: 7.938 kB / 0.7239 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.2259, allocations: 19.92 kB / 0.724 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.226, allocations: 36.11 kB / 0.724 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.226, allocations: 0 / 0.724 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.226, allocations: 0 / 0.724 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.226, allocations: 0 / 0.724 GB, free: 3.191 MB / 0.5294 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.0005281/0.2266, allocations: 343.4 kB / 0.7243 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.2266, allocations: 8.031 kB / 0.7243 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.2267, allocations: 38.75 kB / 0.7244 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.2267, allocations: 0.9375 kB / 0.7244 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2269, allocations: 172.3 kB / 0.7245 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2269, allocations: 8.359 kB / 0.7245 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2269, allocations: 4.375 kB / 0.7245 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2271, allocations: 58.23 kB / 0.7246 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2271, allocations: 3.938 kB / 0.7246 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2271, allocations: 8 kB / 0.7246 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2271, allocations: 0 / 0.7246 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2273, allocations: 107.8 kB / 0.7247 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.2275, allocations: 173.6 kB / 0.7249 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2277, allocations: 78.81 kB / 0.7249 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.2277, allocations: 24.84 kB / 0.725 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.2281, allocations: 401.5 kB / 0.7254 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.2282, allocations: 34.56 kB / 0.7254 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2282, allocations: 0 / 0.7254 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002651/0.2284, allocations: 128.5 kB / 0.7255 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.2285, allocations: 55.41 kB / 0.7256 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.2285, allocations: 93.81 kB / 0.7256 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2286, allocations: 29.7 kB / 0.7257 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.2286, allocations: 84.12 kB / 0.7258 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.2286, allocations: 15.91 kB / 0.7258 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.2287, allocations: 29.7 kB / 0.7258 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2288, allocations: 322.8 kB / 0.7261 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.2289, allocations: 19.98 kB / 0.7261 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.2289, allocations: 19.98 kB / 0.7261 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.229, allocations: 60.84 kB / 0.7262 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.229, allocations: 0 / 0.7262 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001478/0.2292, allocations: 105.5 kB / 0.7263 GB, free: 496 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2292, allocations: 11.94 kB / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2292, allocations: 0 / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2292, allocations: 0 / 0.7263 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.2293, allocations: 20 kB / 0.7263 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2293, allocations: 3.984 kB / 0.7263 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.2293, allocations: 7.938 kB / 0.7263 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.2293, allocations: 4 kB / 0.7264 GB, free: 448 kB / 0.5294 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.0001759/0.2295, allocations: 117.8 kB / 0.7265 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.2295, allocations: 11.88 kB / 0.7265 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.2298, allocations: 128.8 kB / 0.7266 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2298, allocations: 4 kB / 0.7266 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2298, allocations: 0 / 0.7266 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2298, allocations: 0 / 0.7266 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.23, allocations: 173.6 kB / 0.7268 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.23, allocations: 4 kB / 0.7268 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.2301, allocations: 12 kB / 0.7268 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2301, allocations: 7.938 kB / 0.7268 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2301, allocations: 3.984 kB / 0.7268 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2301, allocations: 0 / 0.7268 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2301, allocations: 0 / 0.7268 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.2303, allocations: 129 kB / 0.7269 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2304, allocations: 92.92 kB / 0.727 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2304, allocations: 0 / 0.727 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.2304, allocations: 3.938 kB / 0.727 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2305, allocations: 15.98 kB / 0.727 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.2305, allocations: 0 / 0.727 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.2305, allocations: 75.28 kB / 0.7271 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2305, allocations: 0 / 0.7271 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002062/0.2307, allocations: 20 kB / 0.7271 GB, free: 15.55 MB / 0.545 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.00065/0.2314, allocations: 0.6736 MB / 0.7278 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.2315, allocations: 55.95 kB / 0.7278 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2315, allocations: 0 / 0.7278 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.2316, allocations: 35.92 kB / 0.7279 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.2317, allocations: 12.62 kB / 0.7279 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.2321, allocations: 178.5 kB / 0.728 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2325, allocations: 0.6884 MB / 0.7287 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.917e-05/0.2325, allocations: 31.95 kB / 0.7287 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.2326, allocations: 19.44 kB / 0.7288 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2326, allocations: 4 kB / 0.7288 GB, free: 13.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.2593, allocations: 1.567 MB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.255, allocations: 19.55 kB / 0.7303 GB, free: 12.29 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.29742327798158] Failed to read output from testmodel.py, exit status != 0: 8.323971566045657 8.338531698 8.109594634 Calling exit ...