Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001432/0.001432, allocations: 108 kB / 20.33 MB, free: 1.582 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.001547/0.001547, allocations: 184.9 kB / 23.59 MB, free: 4.965 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.457/1.457, allocations: 225.6 MB / 252.3 MB, free: 13.05 MB / 206.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 0.9797/0.9797, allocations: 149.5 MB / 457.1 MB, free: 1.262 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 65.97 kB / 0.6331 GB, free: 9.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1623, allocations: 87.89 MB / 0.719 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001909/0.1643, allocations: 0.6636 MB / 0.7196 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1663, allocations: 1.345 MB / 0.7209 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1664, allocations: 4 kB / 0.7209 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1669, allocations: 187.5 kB / 0.7211 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1671, allocations: 111.7 kB / 0.7212 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.1679, allocations: 238.2 kB / 0.7215 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.1685, allocations: 499.7 kB / 0.7219 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.1686, allocations: 8 kB / 0.7219 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.1689, allocations: 199.7 kB / 0.7221 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.1693, allocations: 231.5 kB / 0.7223 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1694, allocations: 27.94 kB / 0.7224 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.1697, allocations: 99.86 kB / 0.7225 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.1702, allocations: 275.5 kB / 0.7227 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.1704, allocations: 143.3 kB / 0.7229 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007176/0.1711, allocations: 482.5 kB / 0.7233 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1711, allocations: 0 / 0.7233 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1711, allocations: 0 / 0.7233 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.1712, allocations: 0 / 0.7233 GB, free: 12.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001157/0.1723, allocations: 0.5708 MB / 0.7239 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1724, allocations: 12.62 kB / 0.7239 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1725, allocations: 40.72 kB / 0.7239 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.1731, allocations: 326.5 kB / 0.7242 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1731, allocations: 8.375 kB / 0.7243 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.1732, allocations: 20.38 kB / 0.7243 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1736, allocations: 188.7 kB / 0.7245 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1736, allocations: 8.125 kB / 0.7245 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1736, allocations: 7.922 kB / 0.7245 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1736, allocations: 0 / 0.7245 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1738, allocations: 115.9 kB / 0.7246 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1743, allocations: 358.2 kB / 0.7249 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.1748, allocations: 315.6 kB / 0.7252 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.175, allocations: 122.6 kB / 0.7253 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.175, allocations: 3.938 kB / 0.7253 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.1755, allocations: 281.7 kB / 0.7256 GB, free: 10.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.1755, allocations: 0 / 0.7256 GB, free: 10.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009402/0.1764, allocations: 0.4933 MB / 0.7261 GB, free: 9.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.1765, allocations: 118.8 kB / 0.7262 GB, free: 9.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.177, allocations: 396.5 kB / 0.7266 GB, free: 9.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.1771, allocations: 33.7 kB / 0.7266 GB, free: 9.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1773, allocations: 156.8 kB / 0.7268 GB, free: 8.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.1773, allocations: 43.73 kB / 0.7268 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1775, allocations: 109.6 kB / 0.7269 GB, free: 8.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.1777, allocations: 354.7 kB / 0.7273 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1778, allocations: 83.95 kB / 0.7273 GB, free: 8.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.1784, allocations: 459.5 kB / 0.7278 GB, free: 7.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.1788, allocations: 257.5 kB / 0.728 GB, free: 7.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1788, allocations: 0 / 0.728 GB, free: 7.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005889/0.1794, allocations: 329.3 kB / 0.7283 GB, free: 7.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1794, allocations: 11.94 kB / 0.7283 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1794, allocations: 4 kB / 0.7283 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1794, allocations: 4 kB / 0.7284 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1796, allocations: 31.86 kB / 0.7284 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.1796, allocations: 11.92 kB / 0.7284 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.1804, allocations: 76.36 kB / 0.7285 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1804, allocations: 16 kB / 0.7285 GB, free: 6.941 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002564/0.1807, allocations: 191.7 kB / 0.7287 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1808, allocations: 31.75 kB / 0.7287 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.1808, allocations: 37.89 kB / 0.7287 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1808, allocations: 4 kB / 0.7287 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1808, allocations: 0 / 0.7287 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1809, allocations: 4 kB / 0.7287 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.1812, allocations: 260.5 kB / 0.729 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1812, allocations: 0 / 0.729 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.1812, allocations: 4 kB / 0.729 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1812, allocations: 11.92 kB / 0.729 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1812, allocations: 4 kB / 0.729 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1812, allocations: 3.938 kB / 0.729 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1812, allocations: 0 / 0.729 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.1819, allocations: 432.5 kB / 0.7294 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1819, allocations: 27.84 kB / 0.7294 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1819, allocations: 7.938 kB / 0.7295 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.182, allocations: 4 kB / 0.7295 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1821, allocations: 19.97 kB / 0.7295 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.1821, allocations: 8 kB / 0.7295 GB, free: 5.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003738/0.1825, allocations: 299 kB / 0.7298 GB, free: 5.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1825, allocations: 0 / 0.7298 GB, free: 5.547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004439/0.1829, allocations: 83.86 kB / 0.7299 GB, free: 5.465 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002417/0.1832, allocations: 135.5 kB / 0.73 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.1837, allocations: 257 kB / 0.7302 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1837, allocations: 0 / 0.7302 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1839, allocations: 123.9 kB / 0.7303 GB, free: 4.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1842, allocations: 32.83 kB / 0.7304 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1852, allocations: 0.5804 MB / 0.7309 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1856, allocations: 0.7597 MB / 0.7317 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.1858, allocations: 50.12 kB / 0.7317 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.1859, allocations: 31.42 kB / 0.7318 GB, free: 3.445 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.1859, allocations: 0 / 0.7318 GB, free: 3.445 MB / 0.545 GB Notification: Performance of Templates: time 0.01122/0.1971, allocations: 5.106 MB / 0.7367 GB, free: 14.39 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801916586002335] Failed to read output from testmodel.py, exit status != 0: 0.20650106399261858 0.224378504 0.049412420000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f85f67c5840>