Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001316/0.001316, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001391/0.001391, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 288.1 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.236/1.236, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002835/0.002835, allocations: 107.2 kB / 0.7343 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1878, allocations: 95.34 MB / 0.8274 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002836/0.1907, allocations: 1.557 MB / 0.8289 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005134/0.1912, allocations: 189.9 kB / 0.8291 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.1912, allocations: 0 / 0.8291 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.1913, allocations: 7.922 kB / 0.8291 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.1913, allocations: 0 / 0.8291 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1916, allocations: 55.81 kB / 0.8291 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.1917, allocations: 27.98 kB / 0.8292 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.1918, allocations: 15.92 kB / 0.8292 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.1918, allocations: 15.94 kB / 0.8292 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.1919, allocations: 23.91 kB / 0.8292 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1919, allocations: 4 kB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.192, allocations: 47.95 kB / 0.8293 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.192, allocations: 4 kB / 0.8293 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.1921, allocations: 23.84 kB / 0.8293 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1922, allocations: 72.06 kB / 0.8294 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1922, allocations: 0 / 0.8294 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1922, allocations: 0 / 0.8294 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1922, allocations: 0 / 0.8294 GB, free: 7.848 MB / 0.5762 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.0005389/0.1928, allocations: 355.3 kB / 0.8297 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1928, allocations: 8.031 kB / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1929, allocations: 46.72 kB / 0.8297 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.1929, allocations: 4.875 kB / 0.8297 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1931, allocations: 172.3 kB / 0.8299 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1931, allocations: 4.375 kB / 0.8299 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1931, allocations: 4.375 kB / 0.8299 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1933, allocations: 66.16 kB / 0.83 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1933, allocations: 7.938 kB / 0.83 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1933, allocations: 0 / 0.83 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1933, allocations: 0 / 0.83 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1935, allocations: 47.95 kB / 0.83 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1939, allocations: 276.7 kB / 0.8303 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1942, allocations: 66.47 kB / 0.8304 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1944, allocations: 24.91 kB / 0.8304 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.1946, allocations: 166.2 kB / 0.8305 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1946, allocations: 30.56 kB / 0.8306 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1946, allocations: 4 kB / 0.8306 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004058/0.195, allocations: 97.58 kB / 0.8307 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1951, allocations: 55.39 kB / 0.8307 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.1952, allocations: 105.9 kB / 0.8308 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1952, allocations: 33.7 kB / 0.8309 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1952, allocations: 84.12 kB / 0.8309 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.1953, allocations: 3.953 kB / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1953, allocations: 17.72 kB / 0.831 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1954, allocations: 326.8 kB / 0.8313 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.1955, allocations: 15.98 kB / 0.8313 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.1956, allocations: 23.97 kB / 0.8313 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1958, allocations: 40.83 kB / 0.8313 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.1958, allocations: 4 kB / 0.8314 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002301/0.196, allocations: 85.53 kB / 0.8314 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.196, allocations: 8 kB / 0.8314 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.196, allocations: 0 / 0.8314 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1961, allocations: 0 / 0.8314 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.1961, allocations: 11.98 kB / 0.8315 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1961, allocations: 0 / 0.8315 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.1962, allocations: 4 kB / 0.8315 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1962, allocations: 4.25 kB / 0.8315 GB, free: 5.414 MB / 0.5762 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 (bin.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 9.894e-05/0.1963, allocations: 122.4 kB / 0.8316 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1963, allocations: 336 / 0.8316 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1966, allocations: 97.45 kB / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1966, allocations: 0 / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1966, allocations: 0 / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1966, allocations: 0 / 0.8317 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.1968, allocations: 177.5 kB / 0.8318 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1968, allocations: 3.938 kB / 0.8318 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1969, allocations: 15.98 kB / 0.8319 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1969, allocations: 0 / 0.8319 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1969, allocations: 0 / 0.8319 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1969, allocations: 4 kB / 0.8319 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1969, allocations: 0 / 0.8319 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1972, allocations: 171.4 kB / 0.832 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1972, allocations: 81.11 kB / 0.8321 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1972, allocations: 4 kB / 0.8321 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1973, allocations: 7.984 kB / 0.8321 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1974, allocations: 8 kB / 0.8321 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1974, allocations: 3.938 kB / 0.8321 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.1974, allocations: 91.27 kB / 0.8322 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1974, allocations: 0 / 0.8322 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002494/0.1977, allocations: 15.95 kB / 0.8322 GB, free: 4.523 MB / 0.5762 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,bin.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.0007093/0.1984, allocations: 0.728 MB / 0.8329 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1987, allocations: 47.89 kB / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1987, allocations: 0 / 0.833 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1988, allocations: 31.97 kB / 0.833 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1991, allocations: 1.875 kB / 0.833 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2007, allocations: 1.288 MB / 0.8343 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.201, allocations: 0.6807 MB / 0.8349 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.201, allocations: 7.984 kB / 0.8349 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.201, allocations: 15.44 kB / 0.835 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.201, allocations: 0 / 0.835 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.2264, allocations: 1.949 MB / 0.8369 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.209, allocations: 19.98 kB / 0.8369 GB, free: 15.72 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.494474710896611] Failed to read output from testmodel.py, exit status != 0: 8.278459179680794 8.300082842 8.103853926 Calling exit ...