Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.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.000766/0.000766, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.00195, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001086/0.001086, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.002834, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.077/1.077, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/1.194, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.012/2.012, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5764/2.588, allocations: 127.1 MB / 0.7435 GB, free: 4.531 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 3.938 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.838e-05, allocations: 8.359 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002513/0.002541, allocations: 0.7185 MB / 0.7455 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.004537, allocations: 1.381 MB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.004591, allocations: 0 / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.00492, allocations: 213.5 kB / 0.7471 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.005016, allocations: 121.8 kB / 0.7472 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.005491, allocations: 234.4 kB / 0.7474 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.005912, allocations: 0.4975 MB / 0.7479 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.005953, allocations: 12.95 kB / 0.7479 GB, free: 108 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.006216, allocations: 271.8 kB / 0.7482 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.006428, allocations: 167.7 kB / 0.7483 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.006478, allocations: 16.59 kB / 0.7483 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.006675, allocations: 100.4 kB / 0.7484 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.006826, allocations: 143.7 kB / 0.7486 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/0.006906, allocations: 64.53 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.007231, allocations: 351.5 kB / 0.749 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.00724, allocations: 0 / 0.749 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007241, allocations: 1.469 kB / 0.749 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.007251, allocations: 0 / 0.749 GB, free: 15.01 MB / 0.7292 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.0006902/0.007942, allocations: 0.5707 MB / 0.7495 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007973, allocations: 12.03 kB / 0.7495 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.008051, allocations: 28.89 kB / 0.7496 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.008306, allocations: 253.8 kB / 0.7498 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.008322, allocations: 12.38 kB / 0.7498 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.008363, allocations: 22.81 kB / 0.7498 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.008507, allocations: 103.5 kB / 0.7499 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.008513, allocations: 192 / 0.7499 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.008525, allocations: 4.375 kB / 0.7499 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.008531, allocations: 4.375 kB / 0.7499 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.00858, allocations: 40.34 kB / 0.75 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.008736, allocations: 137.1 kB / 0.7501 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.008897, allocations: 145.8 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.008944, allocations: 42.61 kB / 0.7503 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.008948, allocations: 4 kB / 0.7503 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.009167, allocations: 216.2 kB / 0.7505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.009168, allocations: 1.375 kB / 0.7505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0002978/0.009466, allocations: 202.4 kB / 0.7507 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.009532, allocations: 118.8 kB / 0.7508 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.009727, allocations: 266.9 kB / 0.7511 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.009773, allocations: 42.45 kB / 0.7511 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.009842, allocations: 121.4 kB / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.009875, allocations: 45.47 kB / 0.7513 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.009976, allocations: 97.52 kB / 0.7514 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.01006, allocations: 350.7 kB / 0.7517 GB, free: 12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.0101, allocations: 30.81 kB / 0.7517 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.01069, allocations: 0.9352 MB / 0.7526 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01084, allocations: 206.8 kB / 0.7528 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01085, allocations: 0 / 0.7528 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002255/0.01107, allocations: 211.5 kB / 0.753 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01108, allocations: 5.062 kB / 0.753 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01109, allocations: 4.156 kB / 0.753 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01111, allocations: 8 kB / 0.753 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.01124, allocations: 44.41 kB / 0.7531 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.01125, allocations: 12.77 kB / 0.7531 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.01151, allocations: 62.3 kB / 0.7532 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01152, allocations: 16.44 kB / 0.7532 GB, free: 10.14 MB / 0.7292 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.0001149/0.01164, allocations: 144.5 kB / 0.7533 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.01166, allocations: 15.98 kB / 0.7533 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.0117, allocations: 35.14 kB / 0.7534 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.0117, allocations: 0 / 0.7534 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.0117, allocations: 4 kB / 0.7534 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01171, allocations: 3.984 kB / 0.7534 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.01182, allocations: 127 kB / 0.7535 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01183, allocations: 4 kB / 0.7535 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.01184, allocations: 11.92 kB / 0.7535 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.01186, allocations: 29.67 kB / 0.7535 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01186, allocations: 4 kB / 0.7535 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01187, allocations: 0 / 0.7535 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01188, allocations: 7.984 kB / 0.7535 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01188, allocations: 4.641 kB / 0.7536 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01205, allocations: 193.9 kB / 0.7537 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.01207, allocations: 5.297 kB / 0.7537 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.01212, allocations: 8 kB / 0.7537 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.01216, allocations: 15.97 kB / 0.7538 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01217, allocations: 12 kB / 0.7538 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.01225, allocations: 102.2 kB / 0.7539 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01225, allocations: 0 / 0.7539 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002285/0.01248, allocations: 75.94 kB / 0.7539 GB, free: 9.309 MB / 0.7292 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.0001712/0.01265, allocations: 125.6 kB / 0.7541 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01284, allocations: 156.1 kB / 0.7542 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01285, allocations: 4 kB / 0.7542 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.01291, allocations: 68.75 kB / 0.7543 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.0131, allocations: 147 kB / 0.7544 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.01379, allocations: 474.5 kB / 0.7549 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.01384, allocations: 93.41 kB / 0.755 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.01392, allocations: 36.19 kB / 0.755 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.01407, allocations: 119.2 kB / 0.7551 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01407, allocations: 1.312 kB / 0.7551 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of Templates: time 0.007567/0.02164, allocations: 6.061 MB / 0.761 GB, free: 2.184 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.369418349117041]