Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0008602/0.0008602, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001094/0.001094, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9281/0.9281, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5571/0.5571, allocations: 110.2 MB / 369.4 MB, free: 12.64 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.981e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001112/0.001132, allocations: 0.5868 MB / 0.5479 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.001371, allocations: 55.8 kB / 0.548 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.001394, allocations: 4 kB / 0.548 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.001424, allocations: 3.938 kB / 0.548 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.001431, allocations: 0 / 0.548 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.001745, allocations: 15.92 kB / 0.548 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.001831, allocations: 31.95 kB / 0.548 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.001885, allocations: 4 kB / 0.548 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.001925, allocations: 15.98 kB / 0.548 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.001953, allocations: 11.92 kB / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.001969, allocations: 0 / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.002067, allocations: 23.97 kB / 0.5481 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.002097, allocations: 7.984 kB / 0.5481 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.002128, allocations: 15.98 kB / 0.5481 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002238, allocations: 39.88 kB / 0.5481 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002239, allocations: 0 / 0.5481 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00224, allocations: 0 / 0.5481 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.002245, allocations: 3.938 kB / 0.5481 GB, free: 9.004 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.0002884/0.002534, allocations: 262.3 kB / 0.5484 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.002573, allocations: 12.03 kB / 0.5484 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.002602, allocations: 30.75 kB / 0.5484 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.00263, allocations: 12.86 kB / 0.5484 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.291e-05/0.002693, allocations: 105.7 kB / 0.5485 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.002705, allocations: 12.38 kB / 0.5485 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.002716, allocations: 4.375 kB / 0.5486 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.00285, allocations: 62.17 kB / 0.5486 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.002859, allocations: 192 / 0.5486 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.002869, allocations: 4.375 kB / 0.5486 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.002876, allocations: 4.125 kB / 0.5486 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.002983, allocations: 103.8 kB / 0.5487 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.003118, allocations: 140.6 kB / 0.5489 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.003206, allocations: 66.55 kB / 0.5489 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.003242, allocations: 28.84 kB / 0.5489 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.003415, allocations: 15.98 kB / 0.549 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.003438, allocations: 42.55 kB / 0.549 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.003439, allocations: 0 / 0.549 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002004/0.00364, allocations: 113.9 kB / 0.5491 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.003673, allocations: 59.34 kB / 0.5492 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/0.003707, allocations: 97.81 kB / 0.5493 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.003719, allocations: 25.7 kB / 0.5493 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.003738, allocations: 80.14 kB / 0.5494 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.003775, allocations: 31.77 kB / 0.5494 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.003817, allocations: 29.72 kB / 0.5494 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.003905, allocations: 318.8 kB / 0.5497 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.003937, allocations: 23.98 kB / 0.5497 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.003964, allocations: 19.98 kB / 0.5498 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.004038, allocations: 64.83 kB / 0.5498 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004041, allocations: 3.938 kB / 0.5498 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.238e-05/0.004133, allocations: 90.27 kB / 0.5499 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.004146, allocations: 4 kB / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.004152, allocations: 0 / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.004165, allocations: 0 / 0.5499 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.004243, allocations: 27.92 kB / 0.5499 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.004248, allocations: 0 / 0.5499 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.004261, allocations: 7.953 kB / 0.55 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.004266, allocations: 4 kB / 0.55 GB, free: 6.938 MB / 0.5105 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.0001035/0.00437, allocations: 125.8 kB / 0.5501 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.004379, allocations: 4 kB / 0.5501 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.004535, allocations: 133.5 kB / 0.5502 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.004539, allocations: 3.938 kB / 0.5502 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.004543, allocations: 7.938 kB / 0.5502 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.004547, allocations: 0 / 0.5502 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.553e-05/0.004632, allocations: 132.8 kB / 0.5503 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.004634, allocations: 0 / 0.5503 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.004675, allocations: 27.92 kB / 0.5504 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.004678, allocations: 0 / 0.5504 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.004689, allocations: 8 kB / 0.5504 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.004692, allocations: 3.938 kB / 0.5504 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.004693, allocations: 0 / 0.5504 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.004816, allocations: 117.1 kB / 0.5505 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.004826, allocations: 15.83 kB / 0.5505 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.004839, allocations: 3.938 kB / 0.5505 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.004848, allocations: 4 kB / 0.5505 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.00488, allocations: 11.97 kB / 0.5505 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.004884, allocations: 8 kB / 0.5505 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.004907, allocations: 75.28 kB / 0.5506 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.004907, allocations: 0 / 0.5506 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001447/0.005052, allocations: 16 kB / 0.5506 GB, free: 6.172 MB / 0.5105 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.0003713/0.005423, allocations: 0.6632 MB / 0.5513 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.005539, allocations: 71.77 kB / 0.5513 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.005541, allocations: 0 / 0.5513 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.005573, allocations: 27.98 kB / 0.5514 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.005683, allocations: 14.34 kB / 0.5514 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.005982, allocations: 178.4 kB / 0.5516 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.006029, allocations: 63.34 kB / 0.5516 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.006078, allocations: 39.92 kB / 0.5517 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.006108, allocations: 16.5 kB / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/0.006108, allocations: 0 / 0.5517 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.02098, allocations: 2.225 MB / 0.5538 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.714, allocations: 15.47 kB / 0.5539 GB, free: 2.922 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.359717225655913] Failed to read output from testmodel.py, exit status != 0: 6.7929417956620455 6.801506491 6.797528531 Calling exit ...