Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.00106/0.00106, allocations: 195.4 kB / 377.1 MB, free: 1.516 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.837/1.837, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008958/0.0008956, allocations: 88.7 kB / 0.751 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8181/1.133, allocations: 139.1 MB / 1.124 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.133, allocations: 71.86 kB / 1.124 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06111/1.194, allocations: 21.2 MB / 1.145 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/1.194, allocations: 4 kB / 1.145 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.766e-05/1.194, allocations: 4 kB / 1.145 GB, free: 20.61 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.001055/1.195, allocations: 0.5386 MB / 1.145 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.195, allocations: 16.03 kB / 1.146 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/1.195, allocations: 31.47 kB / 1.146 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/1.196, allocations: 377.2 kB / 1.146 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.196, allocations: 13.5 kB / 1.146 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.196, allocations: 19.44 kB / 1.146 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/1.197, allocations: 193.3 kB / 1.146 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.197, allocations: 0 / 1.146 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.197, allocations: 4 kB / 1.146 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/1.197, allocations: 5.547 kB / 1.146 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/1.197, allocations: 114.4 kB / 1.146 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/1.197, allocations: 388.1 kB / 1.147 GB, free: 19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/1.198, allocations: 320.9 kB / 1.147 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/1.198, allocations: 1.406 kB / 1.147 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/1.198, allocations: 289.9 kB / 1.147 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/1.198, allocations: 0 / 1.147 GB, free: 18.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007983/1.199, allocations: 0.5068 MB / 1.148 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/1.199, allocations: 108.1 kB / 1.148 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/1.2, allocations: 364.2 kB / 1.148 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/1.2, allocations: 38.31 kB / 1.148 GB, free: 17.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.2, allocations: 157.8 kB / 1.148 GB, free: 17.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.2, allocations: 46.92 kB / 1.148 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/1.2, allocations: 4 kB / 1.148 GB, free: 17.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/1.2, allocations: 348 kB / 1.149 GB, free: 16.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.2, allocations: 86.11 kB / 1.149 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/1.201, allocations: 472.8 kB / 1.149 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/1.201, allocations: 136 kB / 1.149 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.201, allocations: 4 kB / 1.149 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004817/1.201, allocations: 328.4 kB / 1.15 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.201, allocations: 10.75 kB / 1.15 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.201, allocations: 4.562 kB / 1.15 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.201, allocations: 4.609 kB / 1.15 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/1.202, allocations: 36.66 kB / 1.15 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.202, allocations: 9.312 kB / 1.15 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/1.202, allocations: 54.05 kB / 1.15 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/1.202, allocations: 13.22 kB / 1.15 GB, free: 15.85 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 ($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.0002157/1.203, allocations: 197 kB / 1.15 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/1.203, allocations: 34.48 kB / 1.15 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/1.203, allocations: 37.7 kB / 1.15 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.203, allocations: 0 / 1.15 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.203, allocations: 4 kB / 1.15 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.203, allocations: 5.266 kB / 1.15 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/1.203, allocations: 286.3 kB / 1.15 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.203, allocations: 0 / 1.15 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/1.203, allocations: 13.34 kB / 1.15 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.203, allocations: 0 / 1.15 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.203, allocations: 7 kB / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.203, allocations: 4.797 kB / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.203, allocations: 0 / 1.15 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/1.204, allocations: 464.8 kB / 1.151 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/1.204, allocations: 118.1 kB / 1.151 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/1.204, allocations: 4 kB / 1.151 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/1.204, allocations: 5.875 kB / 1.151 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/1.204, allocations: 20.91 kB / 1.151 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/1.204, allocations: 15.14 kB / 1.151 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002857/1.204, allocations: 292.7 kB / 1.151 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.204, allocations: 0 / 1.151 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004627/1.205, allocations: 91.64 kB / 1.151 GB, free: 14.34 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 (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.0002554/1.205, allocations: 146.7 kB / 1.151 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003796/1.205, allocations: 262.3 kB / 1.152 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.205, allocations: 0 / 1.152 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.206, allocations: 145.8 kB / 1.152 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/1.206, allocations: 22.2 kB / 1.152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/1.207, allocations: 0.5977 MB / 1.152 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.207, allocations: 0.7707 MB / 1.153 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001793/1.207, allocations: 52.86 kB / 1.153 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/1.207, allocations: 30.34 kB / 1.153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.207, allocations: 0 / 1.153 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.008725/1.216, allocations: 4.602 MB / 1.158 GB, free: 8.766 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)