Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001543/0.001543, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001681/0.001681, allocations: 218.4 kB / 23 MB, free: 5.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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.9524/0.9524, allocations: 150 MB / 463.2 MB, free: 10.5 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.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.00195/0.00195, allocations: 70.94 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1587, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001706/0.1605, allocations: 0.5799 MB / 0.729 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000376/0.1608, allocations: 107.5 kB / 0.7291 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1608, allocations: 4 kB / 0.7291 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1609, allocations: 0 / 0.7291 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1609, allocations: 3.938 kB / 0.7291 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.1613, allocations: 43.88 kB / 0.7291 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1614, allocations: 59.95 kB / 0.7292 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.1615, allocations: 7.984 kB / 0.7292 GB, free: 460 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1615, allocations: 23.97 kB / 0.7292 GB, free: 436 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1616, allocations: 15.98 kB / 0.7292 GB, free: 420 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1616, allocations: 4 kB / 0.7292 GB, free: 416 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1617, allocations: 63.92 kB / 0.7293 GB, free: 352 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1618, allocations: 15.98 kB / 0.7293 GB, free: 336 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1618, allocations: 31.84 kB / 0.7293 GB, free: 304 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.162, allocations: 68.05 kB / 0.7294 GB, free: 236 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.162, allocations: 4 kB / 0.7294 GB, free: 232 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.162, allocations: 0 / 0.7294 GB, free: 232 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.162, allocations: 0 / 0.7294 GB, free: 232 kB / 0.545 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.0005856/0.1626, allocations: 302.3 kB / 0.7297 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1626, allocations: 8.031 kB / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.1627, allocations: 42.75 kB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1627, allocations: 4.938 kB / 0.7297 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.1628, allocations: 118.4 kB / 0.7298 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.1633, allocations: 0.5221 MB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1633, allocations: 12.38 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1636, allocations: 87.89 kB / 0.7304 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1636, allocations: 0 / 0.7304 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1636, allocations: 3.938 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1636, allocations: 4 kB / 0.7305 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.1639, allocations: 131.8 kB / 0.7306 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.1641, allocations: 148.7 kB / 0.7307 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1644, allocations: 86.52 kB / 0.7308 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1645, allocations: 48.83 kB / 0.7309 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1646, allocations: 7.984 kB / 0.7309 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.1646, allocations: 38.5 kB / 0.7309 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1646, allocations: 0 / 0.7309 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005373/0.1652, allocations: 153.8 kB / 0.731 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1652, allocations: 55.34 kB / 0.7311 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.1653, allocations: 89.86 kB / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1653, allocations: 33.7 kB / 0.7312 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.1653, allocations: 80.14 kB / 0.7313 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.1654, allocations: 35.69 kB / 0.7313 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.1654, allocations: 29.7 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1656, allocations: 314.8 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1657, allocations: 31.97 kB / 0.7317 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1658, allocations: 34.7 kB / 0.7317 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.1661, allocations: 76.81 kB / 0.7318 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1661, allocations: 3.938 kB / 0.7318 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00032/0.1664, allocations: 113.5 kB / 0.7319 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1664, allocations: 11.94 kB / 0.7319 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1664, allocations: 0 / 0.7319 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1665, allocations: 0 / 0.7319 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1666, allocations: 23.97 kB / 0.7319 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1666, allocations: 4 kB / 0.7319 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.1667, allocations: 11.94 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1667, allocations: 3.984 kB / 0.732 GB, free: 13.28 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: 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.054e-05/0.1668, allocations: 117.8 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.1668, allocations: 11.88 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1668, allocations: 7.906 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1668, allocations: 0 / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1668, allocations: 4 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1668, allocations: 3.984 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.167, allocations: 152.7 kB / 0.7322 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.167, allocations: 0 / 0.7322 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1671, allocations: 27.92 kB / 0.7323 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1671, allocations: 7.938 kB / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1671, allocations: 3.984 kB / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1671, allocations: 4 kB / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1671, allocations: 0 / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1675, allocations: 139.5 kB / 0.7324 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.1675, allocations: 11.83 kB / 0.7324 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1675, allocations: 7.984 kB / 0.7324 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.1675, allocations: 12 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.1676, allocations: 11.97 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1676, allocations: 0 / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.1676, allocations: 75.28 kB / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1676, allocations: 0 / 0.7325 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002253/0.1679, allocations: 27.94 kB / 0.7326 GB, free: 12.59 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: 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.0007615/0.1686, allocations: 0.6982 MB / 0.7332 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.169, allocations: 83.88 kB / 0.7333 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.169, allocations: 0 / 0.7333 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1691, allocations: 43.91 kB / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.1693, allocations: 8 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.1699, allocations: 200.7 kB / 0.7336 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1703, allocations: 0.6846 MB / 0.7342 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000196/0.1705, allocations: 43.95 kB / 0.7343 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.1705, allocations: 23.42 kB / 0.7343 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.1705, allocations: 0 / 0.7343 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/0.4165, allocations: 2.177 MB / 0.7364 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.38, allocations: 0.9375 kB / 0.7364 GB, free: 8.688 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.19841074384749] Failed to read output from testmodel.py, exit status != 0: 12.4852363509126 12.502931535 12.337710629 Calling exit ...