Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.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.001477/0.001477, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001636/0.001636, allocations: 210.8 kB / 22.99 MB, free: 4.605 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 0.9793/0.9793, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.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.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",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.002571/0.002571, allocations: 62.28 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1828, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001981/0.1848, allocations: 0.5961 MB / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004293/0.1852, allocations: 95.67 kB / 0.7289 GB, free: 324 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1852, allocations: 0 / 0.7289 GB, free: 324 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.1852, allocations: 0 / 0.7289 GB, free: 324 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.1852, allocations: 0 / 0.7289 GB, free: 324 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1857, allocations: 39.89 kB / 0.7289 GB, free: 284 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1858, allocations: 67.92 kB / 0.729 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1859, allocations: 7.938 kB / 0.729 GB, free: 208 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.1859, allocations: 23.98 kB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.186, allocations: 27.89 kB / 0.729 GB, free: 156 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.186, allocations: 4 kB / 0.729 GB, free: 152 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1861, allocations: 51.95 kB / 0.7291 GB, free: 100 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.1862, allocations: 19.97 kB / 0.7291 GB, free: 80 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1862, allocations: 15.92 kB / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1864, allocations: 76.11 kB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1864, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1864, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.1864, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 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.0005128/0.1869, allocations: 298.2 kB / 0.7295 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.187, allocations: 12.03 kB / 0.7295 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.187, allocations: 42.73 kB / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1871, allocations: 4.938 kB / 0.7295 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.1872, allocations: 110.5 kB / 0.7296 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/0.1876, allocations: 0.5299 MB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1876, allocations: 4.375 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1879, allocations: 91.91 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.1879, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1879, allocations: 0 / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1879, allocations: 4 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.1882, allocations: 131.8 kB / 0.7304 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1884, allocations: 140.8 kB / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1887, allocations: 90.52 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1889, allocations: 48.7 kB / 0.7306 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1889, allocations: 0 / 0.7306 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.189, allocations: 42.5 kB / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.189, allocations: 0 / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005447/0.1895, allocations: 149.8 kB / 0.7308 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1896, allocations: 55.41 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.1896, allocations: 93.86 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1896, allocations: 25.7 kB / 0.731 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1897, allocations: 84.12 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.1897, allocations: 35.69 kB / 0.7311 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.1898, allocations: 29.7 kB / 0.7311 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1899, allocations: 314.8 kB / 0.7314 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1901, allocations: 35.97 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1902, allocations: 33.88 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1905, allocations: 80.75 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1905, allocations: 0 / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003269/0.1908, allocations: 113.6 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1908, allocations: 13.19 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1908, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1908, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.191, allocations: 23.92 kB / 0.7317 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.191, allocations: 4 kB / 0.7317 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.1911, allocations: 11.92 kB / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1911, allocations: 4 kB / 0.7317 GB, free: 13.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * 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.0001006/0.1912, allocations: 121.8 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1912, allocations: 7.938 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.1912, allocations: 11.91 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1912, allocations: 4 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1912, allocations: 0 / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1912, allocations: 0 / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1914, allocations: 140.7 kB / 0.732 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1914, allocations: 7.984 kB / 0.732 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1915, allocations: 19.98 kB / 0.732 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1915, allocations: 3.938 kB / 0.732 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1915, allocations: 11.94 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1915, allocations: 3.984 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1915, allocations: 4 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1919, allocations: 132.1 kB / 0.7322 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.1919, allocations: 23.77 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1919, allocations: 0 / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.192, allocations: 7.984 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.192, allocations: 11.98 kB / 0.7322 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.192, allocations: 15.91 kB / 0.7322 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.1921, allocations: 75.28 kB / 0.7323 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.1921, allocations: 0 / 0.7323 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002243/0.1923, allocations: 20 kB / 0.7323 GB, free: 12.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (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.0007367/0.193, allocations: 0.6982 MB / 0.733 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.1934, allocations: 83.88 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1934, allocations: 0 / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1935, allocations: 43.97 kB / 0.7331 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.1937, allocations: 4 kB / 0.7331 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.1942, allocations: 197.7 kB / 0.7333 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.543e-05/0.1943, allocations: 79.27 kB / 0.7334 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.1945, allocations: 47.89 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.1945, allocations: 23.42 kB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1945, allocations: 0 / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.2246, allocations: 2.509 MB / 0.7359 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.4, allocations: 10.53 kB / 0.7359 GB, free: 8.75 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.440581266768277] Failed to read output from testmodel.py, exit status != 0: 11.50981959886849 11.526105534 11.33647971 Calling exit ...