Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001355/0.001355, allocations: 75.59 kB / 20.51 MB, free: 1.281 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.001569/0.001569, allocations: 168.9 kB / 23.77 MB, free: 4.461 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.446/1.446, allocations: 177.2 MB / 204.1 MB, free: 8.957 MB / 190.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.966/0.966, allocations: 113.9 MB / 374.5 MB, free: 12.86 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [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.002071/0.002071, allocations: 61.84 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1692, allocations: 89.15 MB / 0.6421 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002206/0.1714, allocations: 0.8039 MB / 0.6429 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1736, allocations: 1.447 MB / 0.6443 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1738, allocations: 11.88 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.1743, allocations: 199.5 kB / 0.6445 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1745, allocations: 115.6 kB / 0.6446 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1756, allocations: 370.4 kB / 0.645 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.1768, allocations: 0.8738 MB / 0.6458 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1769, allocations: 56.55 kB / 0.6459 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.1775, allocations: 351.4 kB / 0.6462 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.1781, allocations: 283.3 kB / 0.6465 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.1784, allocations: 47.98 kB / 0.6465 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.1788, allocations: 123.9 kB / 0.6466 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.1794, allocations: 363.3 kB / 0.647 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.1799, allocations: 243 kB / 0.6472 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1809, allocations: 0.9112 MB / 0.6481 GB, free: 3.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.181, allocations: 0 / 0.6481 GB, free: 3.355 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.181, allocations: 0 / 0.6481 GB, free: 3.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.181, allocations: 0 / 0.6481 GB, free: 3.355 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001835/0.1828, allocations: 0.8359 MB / 0.6489 GB, free: 2.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1828, allocations: 12.03 kB / 0.6489 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.1831, allocations: 56.66 kB / 0.649 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.1841, allocations: 0.4887 MB / 0.6495 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.1841, allocations: 20.61 kB / 0.6495 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1843, allocations: 36.38 kB / 0.6495 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.185, allocations: 307 kB / 0.6498 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.185, allocations: 8.109 kB / 0.6498 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.185, allocations: 7.938 kB / 0.6498 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.185, allocations: 4 kB / 0.6498 GB, free: 1.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1855, allocations: 223.8 kB / 0.6501 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002831/0.1883, allocations: 0.9961 MB / 0.651 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1895, allocations: 463.7 kB / 0.6515 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.1899, allocations: 178.6 kB / 0.6516 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1899, allocations: 0 / 0.6516 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/0.1906, allocations: 337.5 kB / 0.652 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 2.856e-06/0.1906, allocations: 0 / 0.652 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001769/0.1924, allocations: 0.6301 MB / 0.6526 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1925, allocations: 118.8 kB / 0.6527 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.1937, allocations: 0.5955 MB / 0.6533 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.1938, allocations: 45.69 kB / 0.6533 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.1942, allocations: 213.7 kB / 0.6535 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.1943, allocations: 59.56 kB / 0.6536 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/0.1948, allocations: 185.4 kB / 0.6537 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.195, allocations: 358.8 kB / 0.6541 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.1953, allocations: 127.9 kB / 0.6542 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.1976, allocations: 1.773 MB / 0.6559 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.1983, allocations: 300.6 kB / 0.6562 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1983, allocations: 0 / 0.6562 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001306/0.1996, allocations: 424.9 kB / 0.6566 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1997, allocations: 9.562 kB / 0.6566 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1997, allocations: 4.25 kB / 0.6566 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1997, allocations: 4 kB / 0.6567 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1999, allocations: 39.92 kB / 0.6567 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1999, allocations: 12.25 kB / 0.6567 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.202, allocations: 127.9 kB / 0.6568 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.202, allocations: 12 kB / 0.6568 GB, free: 9.695 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0005555/0.2026, allocations: 260.8 kB / 0.6571 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.2027, allocations: 47.7 kB / 0.6571 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.2028, allocations: 51.44 kB / 0.6572 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.2029, allocations: 4 kB / 0.6572 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.2029, allocations: 3.938 kB / 0.6572 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2029, allocations: 0 / 0.6572 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.2035, allocations: 301 kB / 0.6575 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2035, allocations: 0 / 0.6575 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.2036, allocations: 11.92 kB / 0.6575 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2036, allocations: 0 / 0.6575 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.2036, allocations: 12 kB / 0.6575 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.2036, allocations: 4.469 kB / 0.6575 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2036, allocations: 3.938 kB / 0.6575 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2047, allocations: 0.5215 MB / 0.658 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2049, allocations: 47.77 kB / 0.6581 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.2049, allocations: 7.984 kB / 0.6581 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.2052, allocations: 15.98 kB / 0.6581 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2053, allocations: 31.91 kB / 0.6581 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.2054, allocations: 15.98 kB / 0.6581 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008373/0.2062, allocations: 435.1 kB / 0.6585 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2062, allocations: 0 / 0.6585 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007767/0.207, allocations: 115.8 kB / 0.6587 GB, free: 7.766 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003179/0.2073, allocations: 149.7 kB / 0.6588 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009227/0.2082, allocations: 347.6 kB / 0.6591 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2082, allocations: 0 / 0.6591 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.2086, allocations: 167.9 kB / 0.6593 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.2091, allocations: 33.95 kB / 0.6593 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.2112, allocations: 0.8419 MB / 0.6601 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.2116, allocations: 225.4 kB / 0.6604 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.2121, allocations: 94.92 kB / 0.6604 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2122, allocations: 40.5 kB / 0.6605 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2122, allocations: 0 / 0.6605 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of Templates: time 0.03038/0.2426, allocations: 8.661 MB / 0.6689 GB, free: 13.3 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.751876163063571] Failed to read output from testmodel.py, exit status != 0: 0.2533326350385323 0.28322336200000003 0.096790135 Calling exit ...