Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.4 MB / 304.3 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 180.5 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.6317 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 102.2 kB / 0.7451 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 16.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6805/0.886, allocations: 138.1 MB / 1.116 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.8862, allocations: 73.73 kB / 1.116 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05295/0.9392, allocations: 21.35 MB / 1.137 GB, free: 28.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9392, allocations: 0 / 1.137 GB, free: 28.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.9393, allocations: 7.812 kB / 1.137 GB, free: 28.09 MB / 0.698 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.0007402/0.94, allocations: 0.5383 MB / 1.137 GB, free: 27.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9401, allocations: 7.688 kB / 1.137 GB, free: 27.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.9402, allocations: 32.09 kB / 1.137 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.9406, allocations: 387.3 kB / 1.137 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.9406, allocations: 18.31 kB / 1.137 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.9407, allocations: 23.3 kB / 1.137 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.9409, allocations: 194.6 kB / 1.138 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.941, allocations: 3.938 kB / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.941, allocations: 0 / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.941, allocations: 0 / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.9411, allocations: 117 kB / 1.138 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.9415, allocations: 394.3 kB / 1.138 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.9418, allocations: 316.2 kB / 1.138 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.942, allocations: 129.2 kB / 1.139 GB, free: 26.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.942, allocations: 4 kB / 1.139 GB, free: 26.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.9423, allocations: 290.4 kB / 1.139 GB, free: 26.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.9423, allocations: 0 / 1.139 GB, free: 26.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.000678/0.943, allocations: 0.4989 MB / 1.139 GB, free: 26.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.9431, allocations: 121.4 kB / 1.139 GB, free: 26.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.9434, allocations: 392.6 kB / 1.14 GB, free: 26.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.9435, allocations: 44.41 kB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.9436, allocations: 146.7 kB / 1.14 GB, free: 26.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.9436, allocations: 45.25 kB / 1.14 GB, free: 26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.9436, allocations: 7.812 kB / 1.14 GB, free: 26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9438, allocations: 345.4 kB / 1.14 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.9439, allocations: 83.17 kB / 1.141 GB, free: 25.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.9442, allocations: 474.3 kB / 1.141 GB, free: 25.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.9444, allocations: 257.3 kB / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9444, allocations: 0 / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003711/0.9448, allocations: 342.3 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9448, allocations: 13.53 kB / 1.142 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9448, allocations: 7.828 kB / 1.142 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9449, allocations: 3.906 kB / 1.142 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.945, allocations: 30.8 kB / 1.142 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.945, allocations: 7.828 kB / 1.142 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.9456, allocations: 57.77 kB / 1.142 GB, free: 24.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.9457, allocations: 15.69 kB / 1.142 GB, free: 24.94 MB / 0.698 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.9459, allocations: 197.1 kB / 1.142 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.9459, allocations: 31.12 kB / 1.142 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.9459, allocations: 32.27 kB / 1.142 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.946, allocations: 3.844 kB / 1.142 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.946, allocations: 3.984 kB / 1.142 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.946, allocations: 3.844 kB / 1.142 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.9462, allocations: 286.9 kB / 1.142 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9462, allocations: 3.938 kB / 1.142 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.9462, allocations: 7.781 kB / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9462, allocations: 0 / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9462, allocations: 11.02 kB / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9462, allocations: 3.875 kB / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9462, allocations: 0 / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.9467, allocations: 452 kB / 1.143 GB, free: 24.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.9468, allocations: 119.6 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.9468, allocations: 0 / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.9469, allocations: 7.281 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.947, allocations: 19.53 kB / 1.143 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.947, allocations: 11.53 kB / 1.143 GB, free: 24.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002389/0.9472, allocations: 289.6 kB / 1.143 GB, free: 24.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9473, allocations: 0 / 1.143 GB, free: 24.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003854/0.9476, allocations: 90.41 kB / 1.143 GB, free: 24.11 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/0.9479, allocations: 140.4 kB / 1.143 GB, free: 24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.9482, allocations: 252.1 kB / 1.144 GB, free: 23.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9482, allocations: 0.8125 kB / 1.144 GB, free: 23.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.9484, allocations: 151.7 kB / 1.144 GB, free: 23.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.9486, allocations: 31.84 kB / 1.144 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.9494, allocations: 0.5886 MB / 1.144 GB, free: 23.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.9497, allocations: 0.7686 MB / 1.145 GB, free: 22.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.9498, allocations: 56.52 kB / 1.145 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.9499, allocations: 33.92 kB / 1.145 GB, free: 22.84 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9499, allocations: 0 / 1.145 GB, free: 22.84 MB / 0.698 GB Notification: Performance of Templates: time 0.00691/0.9568, allocations: 4.68 MB / 1.15 GB, free: 20.56 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)