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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111 kB / 17.76 MB, free: 5.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 186.9 kB / 20.69 MB, free: 2.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 246.4 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.136/1.136, allocations: 147.6 MB / 446.2 MB, free: 8.453 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 65.81 kB / 0.612 GB, free: 37.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1441, allocations: 83.16 MB / 0.6933 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002027/0.1462, allocations: 0.8387 MB / 0.6941 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1485, allocations: 1.445 MB / 0.6955 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.1487, allocations: 2.75 kB / 0.6955 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.1493, allocations: 197.9 kB / 0.6957 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1495, allocations: 118.2 kB / 0.6958 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1506, allocations: 359.4 kB / 0.6961 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1519, allocations: 0.8861 MB / 0.697 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.1521, allocations: 89.88 kB / 0.6971 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.1526, allocations: 350.8 kB / 0.6974 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.153, allocations: 265.5 kB / 0.6977 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1532, allocations: 44 kB / 0.6977 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1535, allocations: 111.9 kB / 0.6978 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.154, allocations: 343.3 kB / 0.6981 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.1544, allocations: 278.7 kB / 0.6984 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1555, allocations: 0.9123 MB / 0.6993 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1555, allocations: 4 kB / 0.6993 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1555, allocations: 0 / 0.6993 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.1555, allocations: 0 / 0.6993 GB, free: 8.445 MB / 0.5137 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.001659/0.1572, allocations: 0.8995 MB / 0.7002 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1572, allocations: 12.03 kB / 0.7002 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1574, allocations: 56.64 kB / 0.7003 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.1583, allocations: 0.5452 MB / 0.7008 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1583, allocations: 24.61 kB / 0.7008 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1584, allocations: 36.36 kB / 0.7008 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.159, allocations: 302.2 kB / 0.7011 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.159, allocations: 4.188 kB / 0.7011 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.159, allocations: 7.938 kB / 0.7011 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.159, allocations: 7.938 kB / 0.7011 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.1594, allocations: 219.9 kB / 0.7014 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1614, allocations: 1.18 MB / 0.7025 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.1621, allocations: 467.7 kB / 0.703 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.1624, allocations: 178.6 kB / 0.7031 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1624, allocations: 0 / 0.7031 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.1629, allocations: 344.9 kB / 0.7035 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 3.657e-06/0.1629, allocations: 0 / 0.7035 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001173/0.1641, allocations: 0.6304 MB / 0.7041 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.1642, allocations: 126.7 kB / 0.7042 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.165, allocations: 0.5916 MB / 0.7048 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.1651, allocations: 41.7 kB / 0.7048 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.1654, allocations: 217.6 kB / 0.705 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.1654, allocations: 55.62 kB / 0.7051 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.1657, allocations: 181.6 kB / 0.7052 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1659, allocations: 366.7 kB / 0.7056 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1661, allocations: 124.2 kB / 0.7057 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.1671, allocations: 0.7176 MB / 0.7064 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1675, allocations: 296.6 kB / 0.7067 GB, free: 380 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1675, allocations: 0 / 0.7067 GB, free: 380 kB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007369/0.1682, allocations: 433.4 kB / 0.7071 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1683, allocations: 8 kB / 0.7071 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1683, allocations: 4 kB / 0.7071 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1683, allocations: 4 kB / 0.7071 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1685, allocations: 35.84 kB / 0.7072 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1685, allocations: 11.94 kB / 0.7072 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.1698, allocations: 133 kB / 0.7073 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1698, allocations: 12 kB / 0.7073 GB, free: 15.74 MB / 0.5294 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.0003587/0.1702, allocations: 257.5 kB / 0.7076 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.1703, allocations: 47.72 kB / 0.7076 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.1704, allocations: 47.38 kB / 0.7076 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1704, allocations: 11.92 kB / 0.7077 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1704, allocations: 0 / 0.7077 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1704, allocations: 4 kB / 0.7077 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1709, allocations: 401.3 kB / 0.708 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1709, allocations: 0 / 0.708 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.1709, allocations: 11.92 kB / 0.7081 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.1709, allocations: 4 kB / 0.7081 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.171, allocations: 12 kB / 0.7081 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.171, allocations: 3.938 kB / 0.7081 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.171, allocations: 3.984 kB / 0.7081 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.1717, allocations: 0.5179 MB / 0.7086 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1719, allocations: 124.8 kB / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.1719, allocations: 11.98 kB / 0.7087 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1721, allocations: 23.86 kB / 0.7087 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.1722, allocations: 27.97 kB / 0.7088 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1722, allocations: 19.98 kB / 0.7088 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005413/0.1728, allocations: 435.1 kB / 0.7092 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1728, allocations: 0 / 0.7092 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004874/0.1733, allocations: 103.9 kB / 0.7093 GB, free: 13.59 MB / 0.5294 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.0002585/0.1736, allocations: 157.2 kB / 0.7094 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.1742, allocations: 356 kB / 0.7098 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1742, allocations: 0 / 0.7098 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.1745, allocations: 219.8 kB / 0.71 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1749, allocations: 39.5 kB / 0.71 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1763, allocations: 0.8754 MB / 0.7109 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.1768, allocations: 0.8352 MB / 0.7117 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1769, allocations: 39.42 kB / 0.7117 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.1769, allocations: 0 / 0.7117 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.01152/0.1884, allocations: 7.009 MB / 0.7186 GB, free: 4.148 MB / 0.5294 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.891146464971825] Failed to read output from testmodel.py, exit status != 0: 0.47780170291662216 0.20967242600000002 0.051480028000000004 Calling exit ...