Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00152/0.00152, allocations: 215.9 kB / 22.26 MB, free: 5.082 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002512/0.002512, allocations: 282.3 kB / 312.7 MB, free: 2.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.261/1.261, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.002966/0.002966, allocations: 111.2 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1904, allocations: 95.37 MB / 0.8328 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00167/0.192, allocations: 0.5922 MB / 0.8333 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.1924, allocations: 116 kB / 0.8335 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1924, allocations: 0 / 0.8335 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.1925, allocations: 3.938 kB / 0.8335 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.1925, allocations: 0 / 0.8335 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1928, allocations: 43.89 kB / 0.8335 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1929, allocations: 71.86 kB / 0.8336 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.193, allocations: 0 / 0.8336 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.193, allocations: 27.98 kB / 0.8336 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1931, allocations: 23.95 kB / 0.8336 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1931, allocations: 4 kB / 0.8336 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1932, allocations: 47.95 kB / 0.8337 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.1933, allocations: 27.95 kB / 0.8337 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1933, allocations: 19.86 kB / 0.8337 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1934, allocations: 72.06 kB / 0.8338 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1935, allocations: 0 / 0.8338 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1935, allocations: 0 / 0.8338 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1935, allocations: 4 kB / 0.8338 GB, free: 7.559 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005127/0.194, allocations: 298.3 kB / 0.8341 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.194, allocations: 9.344 kB / 0.8341 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.1941, allocations: 38.75 kB / 0.8341 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1941, allocations: 8.938 kB / 0.8341 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.1942, allocations: 114.4 kB / 0.8342 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.1946, allocations: 0.5299 MB / 0.8347 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1946, allocations: 4.375 kB / 0.8348 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1949, allocations: 89.94 kB / 0.8348 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1949, allocations: 0 / 0.8348 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1949, allocations: 3.984 kB / 0.8348 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1949, allocations: 0 / 0.8348 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1952, allocations: 135.8 kB / 0.835 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1954, allocations: 148.7 kB / 0.8351 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1957, allocations: 94.45 kB / 0.8352 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1959, allocations: 44.83 kB / 0.8352 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1959, allocations: 7.984 kB / 0.8353 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1959, allocations: 34.5 kB / 0.8353 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1959, allocations: 7.938 kB / 0.8353 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005366/0.1965, allocations: 145.9 kB / 0.8354 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1965, allocations: 55.34 kB / 0.8355 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.1965, allocations: 93.86 kB / 0.8356 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1966, allocations: 25.7 kB / 0.8356 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.1966, allocations: 84.14 kB / 0.8357 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.1966, allocations: 35.69 kB / 0.8357 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1967, allocations: 29.7 kB / 0.8357 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1968, allocations: 310.8 kB / 0.836 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.197, allocations: 35.97 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1971, allocations: 36.34 kB / 0.8361 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.1973, allocations: 72.81 kB / 0.8362 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1973, allocations: 0 / 0.8362 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003268/0.1977, allocations: 121.5 kB / 0.8363 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1977, allocations: 7.938 kB / 0.8363 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1977, allocations: 3.938 kB / 0.8363 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1977, allocations: 4 kB / 0.8363 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1979, allocations: 19.98 kB / 0.8363 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1979, allocations: 3.984 kB / 0.8363 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1979, allocations: 7.938 kB / 0.8363 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1979, allocations: 8 kB / 0.8363 GB, free: 4.613 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: 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 9.448e-05/0.198, allocations: 118.5 kB / 0.8365 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1981, allocations: 11.89 kB / 0.8365 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1981, allocations: 11.91 kB / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1981, allocations: 0 / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1981, allocations: 0 / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1981, allocations: 0 / 0.8365 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1983, allocations: 148.7 kB / 0.8366 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1983, allocations: 0 / 0.8366 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1984, allocations: 27.91 kB / 0.8367 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1984, allocations: 7.938 kB / 0.8367 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1984, allocations: 11.94 kB / 0.8367 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1984, allocations: 0 / 0.8367 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1984, allocations: 0 / 0.8367 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1987, allocations: 137 kB / 0.8368 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.1987, allocations: 15.88 kB / 0.8368 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1988, allocations: 0 / 0.8368 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.1988, allocations: 7.984 kB / 0.8368 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1989, allocations: 11.98 kB / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1989, allocations: 11.98 kB / 0.8368 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.1989, allocations: 79.22 kB / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1989, allocations: 0 / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002305/0.1991, allocations: 23.94 kB / 0.8369 GB, free: 3.926 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: 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.0007396/0.1999, allocations: 0.6904 MB / 0.8376 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2002, allocations: 92.34 kB / 0.8377 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2002, allocations: 0 / 0.8377 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.2004, allocations: 48.12 kB / 0.8378 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2005, allocations: 10.7 kB / 0.8378 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.201, allocations: 197.1 kB / 0.838 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2013, allocations: 0.6846 MB / 0.8386 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.2015, allocations: 39.73 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.2016, allocations: 31.42 kB / 0.8387 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.2016, allocations: 0 / 0.8387 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.2323, allocations: 2.198 MB / 0.8408 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.58, allocations: 4.375 kB / 0.8408 GB, free: 15.98 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.875181076000445] Failed to read output from testmodel.py, exit status != 0: 10.676147360998584 10.69114314 10.494772077 Calling exit ...