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.001364/0.001364, 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.001669/0.001669, allocations: 215.2 kB / 22.25 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.469/1.469, 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.002398/0.002398, allocations: 279.5 kB / 312.7 MB, free: 2.848 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.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.002839/0.002839, allocations: 101.9 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2022, allocations: 95.38 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002861/0.2051, allocations: 1.586 MB / 0.8343 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004645/0.2055, allocations: 174 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.2056, allocations: 0 / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.2056, allocations: 7.938 kB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.2056, allocations: 7.922 kB / 0.8345 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.206, allocations: 55.88 kB / 0.8345 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.2061, allocations: 27.92 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2062, allocations: 15.98 kB / 0.8346 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.2063, allocations: 19.92 kB / 0.8346 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.2063, allocations: 15.92 kB / 0.8346 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.2063, allocations: 8 kB / 0.8346 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2065, allocations: 59.88 kB / 0.8347 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2065, allocations: 4 kB / 0.8347 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.2065, allocations: 19.86 kB / 0.8347 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2067, allocations: 72.06 kB / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2067, allocations: 0 / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2067, allocations: 0 / 0.8347 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2067, allocations: 0 / 0.8347 GB, free: 6.617 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.0005448/0.2072, allocations: 282.2 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2073, allocations: 13.34 kB / 0.835 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.2073, allocations: 46.67 kB / 0.8351 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.2074, allocations: 4.875 kB / 0.8351 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2075, allocations: 110.5 kB / 0.8352 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2075, allocations: 384 / 0.8352 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2075, allocations: 4.375 kB / 0.8352 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2077, allocations: 66.2 kB / 0.8352 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2077, allocations: 3.938 kB / 0.8353 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2078, allocations: 4 kB / 0.8353 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2078, allocations: 4 kB / 0.8353 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.208, allocations: 43.95 kB / 0.8353 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.2084, allocations: 247.8 kB / 0.8355 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.2087, allocations: 58.53 kB / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.2088, allocations: 28.91 kB / 0.8356 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.209, allocations: 15.98 kB / 0.8356 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.209, allocations: 34.5 kB / 0.8357 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.209, allocations: 0 / 0.8357 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003958/0.2094, allocations: 93.58 kB / 0.8358 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2095, allocations: 59.41 kB / 0.8358 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.2095, allocations: 109.8 kB / 0.8359 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2096, allocations: 25.7 kB / 0.8359 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.2096, allocations: 84.14 kB / 0.836 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.2097, allocations: 7.953 kB / 0.836 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.2097, allocations: 17.7 kB / 0.836 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2099, allocations: 318.8 kB / 0.8364 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.2099, allocations: 27.97 kB / 0.8364 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.21, allocations: 12.17 kB / 0.8364 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.2102, allocations: 56.83 kB / 0.8364 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2102, allocations: 0 / 0.8364 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.2104, allocations: 77.61 kB / 0.8365 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2104, allocations: 4 kB / 0.8365 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2104, allocations: 4 kB / 0.8365 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2104, allocations: 0 / 0.8365 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.2105, allocations: 11.98 kB / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2105, allocations: 3.938 kB / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.2106, allocations: 11.92 kB / 0.8366 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2106, allocations: 4 kB / 0.8366 GB, free: 4.562 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 8.952e-05/0.2107, allocations: 114.4 kB / 0.8367 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2107, allocations: 4 kB / 0.8367 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.211, allocations: 85.89 kB / 0.8368 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.211, allocations: 4 kB / 0.8368 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.211, allocations: 0 / 0.8368 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.211, allocations: 0 / 0.8368 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2112, allocations: 148.6 kB / 0.8369 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2112, allocations: 3.984 kB / 0.8369 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.2113, allocations: 12 kB / 0.8369 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2113, allocations: 4 kB / 0.8369 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2113, allocations: 3.984 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2113, allocations: 0 / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2113, allocations: 0 / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.2115, allocations: 171.4 kB / 0.8371 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.2116, allocations: 8 kB / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2116, allocations: 3.984 kB / 0.8371 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.2117, allocations: 8 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.2117, allocations: 3.984 kB / 0.8371 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2117, allocations: 4 kB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.2118, allocations: 95.31 kB / 0.8372 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2118, allocations: 0 / 0.8372 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002498/0.212, allocations: 20 kB / 0.8372 GB, free: 3.801 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.0006602/0.2127, allocations: 0.7201 MB / 0.8379 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2129, allocations: 48.14 kB / 0.838 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2129, allocations: 0 / 0.838 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.213, allocations: 24.06 kB / 0.838 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2133, allocations: 8 kB / 0.838 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2149, allocations: 1.3 MB / 0.8393 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.2152, allocations: 0.6807 MB / 0.8399 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.2153, allocations: 8 kB / 0.8399 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.2153, allocations: 19.42 kB / 0.84 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2153, allocations: 0 / 0.84 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.2418, allocations: 2.058 MB / 0.842 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.62, allocations: 12.64 kB / 0.842 GB, free: 14.93 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.001672822996625] Failed to read output from testmodel.py, exit status != 0: 10.720873736998328 10.737758695 10.527896613 Calling exit ...