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.001794/0.001794, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002177/0.002177, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.07/1.07, allocations: 150 MB / 459.5 MB, free: 5.316 MB / 350.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.002119/0.002119, allocations: 68.95 kB / 0.6361 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1606, allocations: 89.13 MB / 0.7232 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002748/0.1633, allocations: 1.557 MB / 0.7247 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.1638, allocations: 189.2 kB / 0.7249 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.1638, allocations: 0 / 0.7249 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.1639, allocations: 3.938 kB / 0.7249 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.1639, allocations: 7.938 kB / 0.7249 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1642, allocations: 47.88 kB / 0.7249 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.1643, allocations: 35.92 kB / 0.725 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.1644, allocations: 11.98 kB / 0.725 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.1644, allocations: 19.92 kB / 0.725 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.1645, allocations: 19.91 kB / 0.725 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1645, allocations: 8 kB / 0.725 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1646, allocations: 47.95 kB / 0.7251 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1646, allocations: 4 kB / 0.7251 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1647, allocations: 19.86 kB / 0.7251 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.1649, allocations: 64.06 kB / 0.7251 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1649, allocations: 4 kB / 0.7251 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1649, allocations: 0 / 0.7251 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1649, allocations: 0 / 0.7251 GB, free: 2.152 MB / 0.5294 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.0005776/0.1654, allocations: 355.3 kB / 0.7255 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1655, allocations: 12.03 kB / 0.7255 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1655, allocations: 38.69 kB / 0.7255 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1656, allocations: 8.891 kB / 0.7255 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.1657, allocations: 168.3 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.1657, allocations: 4.375 kB / 0.7257 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1658, allocations: 384 / 0.7257 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.166, allocations: 62.23 kB / 0.7258 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.166, allocations: 3.938 kB / 0.7258 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.166, allocations: 0 / 0.7258 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.166, allocations: 4 kB / 0.7258 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1662, allocations: 43.95 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.1667, allocations: 288.7 kB / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.1671, allocations: 54.53 kB / 0.7261 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1672, allocations: 28.91 kB / 0.7262 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.1675, allocations: 166.3 kB / 0.7263 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1675, allocations: 34.56 kB / 0.7264 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.667e-06/0.1675, allocations: 3.984 kB / 0.7264 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004457/0.168, allocations: 101.5 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.168, allocations: 55.41 kB / 0.7265 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1681, allocations: 113.8 kB / 0.7266 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1682, allocations: 29.64 kB / 0.7267 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.1682, allocations: 80.14 kB / 0.7267 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1683, allocations: 11.95 kB / 0.7267 GB, free: 272 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1683, allocations: 17.7 kB / 0.7268 GB, free: 248 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.1685, allocations: 318.8 kB / 0.7271 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1686, allocations: 23.97 kB / 0.7271 GB, free: 15.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.1687, allocations: 15.98 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1689, allocations: 52.75 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1689, allocations: 0 / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002368/0.1691, allocations: 73.66 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1692, allocations: 8 kB / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1692, allocations: 0 / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1692, allocations: 0 / 0.7272 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.1693, allocations: 15.98 kB / 0.7272 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1693, allocations: 3.938 kB / 0.7272 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.1693, allocations: 11.94 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1694, allocations: 4 kB / 0.7273 GB, free: 15.71 MB / 0.545 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.0001128/0.1695, allocations: 113.8 kB / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1695, allocations: 8 kB / 0.7274 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.1698, allocations: 81.48 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1698, allocations: 4 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1698, allocations: 0 / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1698, allocations: 0 / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.17, allocations: 173.6 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.17, allocations: 0 / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.1701, allocations: 8 kB / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1701, allocations: 7.984 kB / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1701, allocations: 0 / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1701, allocations: 0 / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1701, allocations: 0 / 0.7276 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1704, allocations: 175.3 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1705, allocations: 89.03 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1705, allocations: 0 / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.1706, allocations: 12.42 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1706, allocations: 3.984 kB / 0.7279 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1707, allocations: 4 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.1707, allocations: 87.27 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1707, allocations: 0 / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002629/0.171, allocations: 16 kB / 0.728 GB, free: 14.83 MB / 0.545 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.0006869/0.1717, allocations: 0.7279 MB / 0.7287 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1719, allocations: 51.83 kB / 0.7288 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1719, allocations: 0 / 0.7288 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.172, allocations: 27.97 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1723, allocations: 7.938 kB / 0.7288 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1743, allocations: 1.292 MB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1748, allocations: 0.6807 MB / 0.7307 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.1748, allocations: 4 kB / 0.7307 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.1749, allocations: 15.44 kB / 0.7307 GB, free: 11.89 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.1749, allocations: 0 / 0.7307 GB, free: 11.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.2008, allocations: 1.932 MB / 0.7326 GB, free: 10.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.32, allocations: 6.984 kB / 0.7326 GB, free: 10.05 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.400017064996064] Failed to read output from testmodel.py, exit status != 0: 8.386282053077593 8.402497304 8.234580222 Calling exit ...