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.001364/0.001364, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001636/0.001636, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5587/0.5587, allocations: 114 MB / 373.9 MB, free: 8.691 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.129e-05, allocations: 4.109 kB / 0.5542 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001114/0.001135, allocations: 0.586 MB / 0.5548 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.001343, allocations: 47.8 kB / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.00136, allocations: 0 / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.001386, allocations: 0 / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.001391, allocations: 0 / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.001664, allocations: 27.84 kB / 0.5549 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.001732, allocations: 27.97 kB / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.001766, allocations: 0 / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.001802, allocations: 27.91 kB / 0.5549 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.291e-05/0.001825, allocations: 7.984 kB / 0.555 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.001839, allocations: 4 kB / 0.555 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.001914, allocations: 19.97 kB / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.001941, allocations: 15.98 kB / 0.555 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.001961, allocations: 4 kB / 0.555 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.002052, allocations: 35.88 kB / 0.555 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002054, allocations: 3.938 kB / 0.555 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002055, allocations: 0 / 0.555 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.002059, allocations: 0 / 0.555 GB, free: 1.906 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.0002314/0.00229, allocations: 262.3 kB / 0.5553 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.002326, allocations: 12.62 kB / 0.5553 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.002359, allocations: 46.72 kB / 0.5553 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.002382, allocations: 4.891 kB / 0.5553 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.452e-05/0.002436, allocations: 113.7 kB / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.002445, allocations: 384 / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.002455, allocations: 8.375 kB / 0.5555 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.002567, allocations: 65.5 kB / 0.5555 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.002574, allocations: 192 / 0.5555 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.002582, allocations: 4.375 kB / 0.5555 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.002589, allocations: 8.125 kB / 0.5555 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.002686, allocations: 95.81 kB / 0.5556 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.00281, allocations: 144.7 kB / 0.5558 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.002891, allocations: 66.48 kB / 0.5558 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.002924, allocations: 32.84 kB / 0.5559 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.003079, allocations: 19.97 kB / 0.5559 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.003213, allocations: 34.56 kB / 0.5559 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 7.51e-07/0.003214, allocations: 0 / 0.5559 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002035/0.003417, allocations: 113.9 kB / 0.556 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.003451, allocations: 63.28 kB / 0.5561 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.003501, allocations: 93.86 kB / 0.5562 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.003513, allocations: 25.7 kB / 0.5562 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.003536, allocations: 88.14 kB / 0.5563 GB, free: 472 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.003564, allocations: 23.78 kB / 0.5563 GB, free: 448 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.003599, allocations: 33.7 kB / 0.5563 GB, free: 408 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.003723, allocations: 314.8 kB / 0.5566 GB, free: 84 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.003752, allocations: 19.98 kB / 0.5567 GB, free: 64 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.003776, allocations: 19.98 kB / 0.5567 GB, free: 44 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.003864, allocations: 60.55 kB / 0.5567 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003866, allocations: 0 / 0.5567 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.572e-05/0.003961, allocations: 97.55 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.003973, allocations: 4 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.003978, allocations: 0 / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.003993, allocations: 8 kB / 0.5568 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.004074, allocations: 19.92 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.004081, allocations: 4 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.004095, allocations: 7.891 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.004102, allocations: 4 kB / 0.5569 GB, free: 15.84 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.0001034/0.004205, allocations: 125.8 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.004211, allocations: 0 / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.004363, allocations: 133.4 kB / 0.5571 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.004365, allocations: 3.938 kB / 0.5571 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.00437, allocations: 4 kB / 0.5571 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.004374, allocations: 0 / 0.5571 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.079e-05/0.004465, allocations: 148.7 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004466, allocations: 0 / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.0045, allocations: 12 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.004502, allocations: 4 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.004509, allocations: 3.984 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.004511, allocations: 3.938 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004512, allocations: 0 / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.004694, allocations: 124.9 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.004699, allocations: 7.938 kB / 0.5574 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.004713, allocations: 15.92 kB / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.00472, allocations: 0 / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.00475, allocations: 7.984 kB / 0.5574 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.004754, allocations: 4 kB / 0.5574 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.004774, allocations: 75.28 kB / 0.5575 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.004774, allocations: 0 / 0.5575 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001356/0.004909, allocations: 12 kB / 0.5575 GB, free: 15.09 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.0003183/0.005227, allocations: 0.6631 MB / 0.5582 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.005344, allocations: 70.02 kB / 0.5582 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005346, allocations: 0 / 0.5582 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.005381, allocations: 31.92 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.005496, allocations: 8 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.0058, allocations: 178.4 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.005845, allocations: 63.34 kB / 0.5585 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.005893, allocations: 35.95 kB / 0.5585 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.005925, allocations: 28.48 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.005926, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.02066, allocations: 2.211 MB / 0.5607 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.062, allocations: 2.031 kB / 0.5607 GB, free: 11.86 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.700736834667623] Failed to read output from testmodel.py, exit status != 0: 7.142075272276998 7.154929515 7.150755438 Calling exit ...