Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001089/0.001089, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.0009555/0.0009555, allocations: 166.3 kB / 22.56 MB, free: 1.961 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.9451/0.9451, allocations: 177.1 MB / 202.9 MB, free: 5.711 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.5661/0.5661, allocations: 110.2 MB / 369.6 MB, free: 12.61 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.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5475 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.18e-05, allocations: 5.234 kB / 0.5475 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001991/0.002012, allocations: 1.55 MB / 0.549 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004277/0.00244, allocations: 128.4 kB / 0.5491 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.002475, allocations: 8 kB / 0.5491 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.0025, allocations: 0 / 0.5491 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.002542, allocations: 3.938 kB / 0.5491 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.002827, allocations: 35.83 kB / 0.5492 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.002898, allocations: 39.86 kB / 0.5492 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.002989, allocations: 11.98 kB / 0.5492 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.003028, allocations: 23.97 kB / 0.5493 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.003062, allocations: 7.984 kB / 0.5493 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.003077, allocations: 4 kB / 0.5493 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.003154, allocations: 19.98 kB / 0.5493 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.003168, allocations: 19.91 kB / 0.5493 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.003194, allocations: 8 kB / 0.5493 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.00332, allocations: 55.8 kB / 0.5494 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.003323, allocations: 0 / 0.5494 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003325, allocations: 0 / 0.5494 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.003329, allocations: 0 / 0.5494 GB, free: 7.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003481/0.003677, allocations: 278.2 kB / 0.5496 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.003719, allocations: 8.031 kB / 0.5496 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.003751, allocations: 38.75 kB / 0.5497 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.003776, allocations: 0.9375 kB / 0.5497 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.003857, allocations: 117.7 kB / 0.5498 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.003878, allocations: 4.312 kB / 0.5498 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.00389, allocations: 4.375 kB / 0.5498 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.004033, allocations: 62.22 kB / 0.5499 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00404, allocations: 192 / 0.5499 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004048, allocations: 4.375 kB / 0.5499 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.004055, allocations: 4.125 kB / 0.5499 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.004154, allocations: 43.95 kB / 0.5499 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.004465, allocations: 243.9 kB / 0.5501 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.004674, allocations: 62.47 kB / 0.5502 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.004723, allocations: 24.91 kB / 0.5502 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.004837, allocations: 15.98 kB / 0.5502 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.004855, allocations: 34.5 kB / 0.5503 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.004856, allocations: 0 / 0.5503 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002347/0.005091, allocations: 105.5 kB / 0.5504 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005119, allocations: 55.41 kB / 0.5504 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.511e-05/0.005184, allocations: 109.8 kB / 0.5505 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.005195, allocations: 29.7 kB / 0.5506 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.005235, allocations: 84.14 kB / 0.5506 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.005247, allocations: 3.953 kB / 0.5506 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005273, allocations: 21.7 kB / 0.5507 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.005345, allocations: 310.8 kB / 0.551 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.005401, allocations: 27.97 kB / 0.551 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.005442, allocations: 23.98 kB / 0.551 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.005529, allocations: 49.08 kB / 0.5511 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005532, allocations: 0 / 0.5511 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/0.005651, allocations: 85.48 kB / 0.5511 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.005664, allocations: 4 kB / 0.5511 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.005669, allocations: 4 kB / 0.5511 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005681, allocations: 0 / 0.5511 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.005728, allocations: 15.98 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.005733, allocations: 0 / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.005764, allocations: 11.92 kB / 0.5512 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.00577, allocations: 0 / 0.5512 GB, free: 5.742 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: 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 5.372e-05/0.005823, allocations: 109.8 kB / 0.5513 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.005837, allocations: 3.938 kB / 0.5513 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.006002, allocations: 89.58 kB / 0.5514 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.006003, allocations: 0 / 0.5514 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.006008, allocations: 4 kB / 0.5514 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.006011, allocations: 0 / 0.5514 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006119, allocations: 136.7 kB / 0.5515 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006121, allocations: 0 / 0.5515 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.006156, allocations: 11.98 kB / 0.5515 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006159, allocations: 0 / 0.5515 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.00617, allocations: 4 kB / 0.5515 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.006172, allocations: 4 kB / 0.5515 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006173, allocations: 3.938 kB / 0.5515 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.006316, allocations: 175.4 kB / 0.5517 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.006325, allocations: 3.984 kB / 0.5517 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.006338, allocations: 4 kB / 0.5517 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.006376, allocations: 4 kB / 0.5517 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.006423, allocations: 11.92 kB / 0.5517 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006426, allocations: 0 / 0.5517 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.006456, allocations: 87.27 kB / 0.5518 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006456, allocations: 0 / 0.5518 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001538/0.00661, allocations: 12 kB / 0.5518 GB, free: 5.008 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: 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.00041/0.00702, allocations: 0.7124 MB / 0.5525 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.007163, allocations: 52.08 kB / 0.5525 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007164, allocations: 0 / 0.5525 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.007212, allocations: 28.06 kB / 0.5526 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.007423, allocations: 2.344 kB / 0.5526 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.008432, allocations: 1.288 MB / 0.5538 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.008484, allocations: 67.33 kB / 0.5539 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.008512, allocations: 4 kB / 0.5539 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.008552, allocations: 16.5 kB / 0.5539 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.008553, allocations: 0 / 0.5539 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.02761, allocations: 2.396 MB / 0.5563 GB, free: 468 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.185, allocations: 10.81 kB / 0.5563 GB, free: 460 kB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82482788246125] Failed to read output from testmodel.py, exit status != 0: 7.269210687838495 7.280248542 7.275208086 Calling exit ...