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.001308/0.001308, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001473/0.001473, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.797 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.002548/0.002548, allocations: 287.2 kB / 312.7 MB, free: 2.633 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.304/1.304, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.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.002994/0.002994, allocations: 100.7 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2092, allocations: 95.38 MB / 0.8327 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003007/0.2122, allocations: 1.568 MB / 0.8342 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005715/0.2127, allocations: 166 kB / 0.8343 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.2128, allocations: 4 kB / 0.8343 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.2128, allocations: 7.938 kB / 0.8344 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.2129, allocations: 3.938 kB / 0.8344 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2133, allocations: 55.88 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.2134, allocations: 35.91 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2135, allocations: 8 kB / 0.8345 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.2135, allocations: 15.92 kB / 0.8345 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.2136, allocations: 15.92 kB / 0.8345 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.2136, allocations: 4 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2137, allocations: 51.94 kB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.2137, allocations: 8 kB / 0.8345 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.2138, allocations: 31.84 kB / 0.8346 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2139, allocations: 64 kB / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2139, allocations: 0 / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2139, allocations: 0 / 0.8346 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2139, allocations: 0 / 0.8346 GB, free: 6.297 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.0005207/0.2145, allocations: 290.2 kB / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2145, allocations: 13.88 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.2146, allocations: 34.73 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.2146, allocations: 8.938 kB / 0.835 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2147, allocations: 110.5 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2147, allocations: 8.375 kB / 0.8351 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2147, allocations: 4.375 kB / 0.8351 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.215, allocations: 62.22 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.215, allocations: 3.938 kB / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.215, allocations: 0 / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.215, allocations: 0 / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2152, allocations: 47.89 kB / 0.8352 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2156, allocations: 243.9 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.216, allocations: 58.55 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2161, allocations: 28.89 kB / 0.8355 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.2162, allocations: 11.98 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2163, allocations: 34.5 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2163, allocations: 0 / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000424/0.2167, allocations: 101.6 kB / 0.8356 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.2167, allocations: 51.41 kB / 0.8357 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.2168, allocations: 113.8 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2169, allocations: 25.7 kB / 0.8358 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.2169, allocations: 88.22 kB / 0.8359 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.2169, allocations: 7.938 kB / 0.8359 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.217, allocations: 21.7 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2171, allocations: 314.8 kB / 0.8362 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.2172, allocations: 19.98 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.2173, allocations: 31.91 kB / 0.8363 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.2175, allocations: 45.09 kB / 0.8363 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2175, allocations: 0 / 0.8363 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002161/0.2177, allocations: 77.59 kB / 0.8364 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2177, allocations: 4 kB / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2177, allocations: 0 / 0.8364 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2177, allocations: 4 kB / 0.8364 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.2178, allocations: 15.98 kB / 0.8364 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2178, allocations: 0 / 0.8364 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.2179, allocations: 11.98 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2179, allocations: 3.938 kB / 0.8364 GB, free: 4.242 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.792e-05/0.218, allocations: 118.4 kB / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.218, allocations: 0 / 0.8366 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.2183, allocations: 85.64 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2183, allocations: 4 kB / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2183, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2183, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2185, allocations: 140.6 kB / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2185, allocations: 0 / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.2185, allocations: 11.98 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2185, allocations: 0 / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.2185, allocations: 0 / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2185, allocations: 4 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2185, allocations: 3.984 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.2188, allocations: 179.4 kB / 0.837 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.2188, allocations: 0 / 0.837 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2189, allocations: 8 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.219, allocations: 11.92 kB / 0.837 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.219, allocations: 7.984 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.219, allocations: 0 / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.2191, allocations: 83.28 kB / 0.8371 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2191, allocations: 0 / 0.8371 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002504/0.2193, allocations: 23.98 kB / 0.8371 GB, free: 3.492 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.0006798/0.22, allocations: 0.724 MB / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2202, allocations: 43.95 kB / 0.8378 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2202, allocations: 0 / 0.8378 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2203, allocations: 27.97 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2206, allocations: 5.562 kB / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2222, allocations: 1.296 MB / 0.8391 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.2223, allocations: 63.34 kB / 0.8392 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2223, allocations: 4 kB / 0.8392 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.2223, allocations: 19.44 kB / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.2223, allocations: 0 / 0.8392 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.2534, allocations: 2.491 MB / 0.8417 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.38, allocations: 21.11 kB / 0.8417 GB, free: 14.82 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.802071691956371] Failed to read output from testmodel.py, exit status != 0: 11.487160013988614 11.516916101 11.297831385 Calling exit ...