Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001319/0.001319, 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.001755/0.001755, allocations: 212.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.523/1.523, 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.9993/0.9993, allocations: 149.9 MB / 463 MB, free: 10.34 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.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002311/0.002311, allocations: 71.09 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1925, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003491/0.196, allocations: 1.551 MB / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.1966, allocations: 179.5 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.1966, allocations: 0 / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.1966, allocations: 3.938 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.1967, allocations: 7.922 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1971, allocations: 55.88 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.1972, allocations: 31.92 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1973, allocations: 8 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.1974, allocations: 27.91 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1974, allocations: 15.92 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1975, allocations: 4 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1976, allocations: 51.94 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1976, allocations: 7.984 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1977, allocations: 11.94 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1979, allocations: 68 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1979, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1979, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1979, allocations: 0 / 0.7301 GB, free: 14.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005292/0.1984, allocations: 282.2 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1984, allocations: 12.03 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1985, allocations: 34.73 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1985, allocations: 4.891 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1986, allocations: 114.5 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1987, allocations: 384 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1987, allocations: 4.375 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1989, allocations: 66.16 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1989, allocations: 3.938 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1989, allocations: 8 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1989, allocations: 3.938 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1991, allocations: 43.95 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1996, allocations: 251.8 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.2, allocations: 58.53 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2001, allocations: 28.89 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.2003, allocations: 15.98 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2004, allocations: 30.56 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.2004, allocations: 4 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004452/0.2008, allocations: 97.56 kB / 0.7311 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.2009, allocations: 51.41 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.201, allocations: 109.8 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.201, allocations: 29.7 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.2011, allocations: 84.14 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.2011, allocations: 7.953 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.2011, allocations: 21.7 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2013, allocations: 318.8 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.2014, allocations: 15.98 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.2015, allocations: 23.97 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.2017, allocations: 52.75 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2017, allocations: 0 / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002292/0.2019, allocations: 73.66 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2019, allocations: 6.188 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2019, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2019, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.202, allocations: 11.98 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.202, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.2021, allocations: 11.98 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2021, allocations: 0 / 0.7319 GB, free: 12.95 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: 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 0.0001041/0.2022, allocations: 117.8 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.2022, allocations: 7.953 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.2025, allocations: 89.58 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2025, allocations: 0 / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2025, allocations: 4 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2025, allocations: 0 / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2027, allocations: 136.6 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2027, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.2028, allocations: 11.98 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2028, allocations: 4 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2028, allocations: 0 / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.2028, allocations: 7.922 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2028, allocations: 0 / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.2031, allocations: 183.7 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2031, allocations: 7.938 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2031, allocations: 0 / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.2032, allocations: 7.984 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.2033, allocations: 15.98 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2033, allocations: 0 / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.2033, allocations: 87.58 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2033, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002559/0.2036, allocations: 19.98 kB / 0.7326 GB, free: 12.18 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: 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.0007457/0.2043, allocations: 0.7202 MB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.2046, allocations: 43.95 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2046, allocations: 0 / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2047, allocations: 27.97 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.205, allocations: 7.938 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.2066, allocations: 1.294 MB / 0.7346 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.2067, allocations: 71.28 kB / 0.7347 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.2067, allocations: 0 / 0.7347 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.2068, allocations: 15.44 kB / 0.7347 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2068, allocations: 0 / 0.7347 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2371, allocations: 2.493 MB / 0.7371 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.81, allocations: 2.406 kB / 0.7372 GB, free: 7.531 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.847250928170979] Failed to read output from testmodel.py, exit status != 0: 11.920103339012712 11.949811023 11.746325068 Calling exit ...