Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 303.2 MB, free: 8.238 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.001364/0.001364, allocations: 181.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009704/0.00097, allocations: 93.5 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007614/0.0007616, allocations: 15.7 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2593, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9172/1.177, allocations: 137.9 MB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.177, allocations: 76.97 kB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09816/1.275, allocations: 21.34 MB / 1.135 GB, free: 28.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/1.275, allocations: 4 kB / 1.135 GB, free: 28.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.964e-05/1.275, allocations: 11.69 kB / 1.135 GB, free: 28.23 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.001183/1.276, allocations: 0.538 MB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.276, allocations: 7.656 kB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/1.276, allocations: 31.84 kB / 1.135 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/1.277, allocations: 388.4 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/1.277, allocations: 15.88 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/1.277, allocations: 23.62 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/1.278, allocations: 196.7 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.278, allocations: 3.938 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/1.278, allocations: 7.984 kB / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.278, allocations: 0 / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/1.278, allocations: 115.6 kB / 1.136 GB, free: 27.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/1.279, allocations: 393.3 kB / 1.137 GB, free: 27.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/1.279, allocations: 314.4 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/1.28, allocations: 124.6 kB / 1.137 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/1.28, allocations: 7.812 kB / 1.137 GB, free: 26.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/1.28, allocations: 277.3 kB / 1.137 GB, free: 26.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.454e-06/1.28, allocations: 4 kB / 1.137 GB, free: 26.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001335/1.282, allocations: 0.5096 MB / 1.138 GB, free: 26.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.282, allocations: 110.2 kB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/1.282, allocations: 396.9 kB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.283, allocations: 41.02 kB / 1.138 GB, free: 26.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.283, allocations: 159 kB / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/1.283, allocations: 38.12 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/1.283, allocations: 6.625 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.283, allocations: 344.5 kB / 1.139 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/1.283, allocations: 87.25 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/1.284, allocations: 481.5 kB / 1.139 GB, free: 25.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/1.284, allocations: 256.5 kB / 1.14 GB, free: 25.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.284, allocations: 3.844 kB / 1.14 GB, free: 25.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007523/1.285, allocations: 329.2 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.285, allocations: 10.78 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.285, allocations: 7.844 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.285, allocations: 3.969 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/1.285, allocations: 34.42 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.285, allocations: 7.906 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.287, allocations: 57.59 kB / 1.14 GB, free: 25.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.287, allocations: 11.5 kB / 1.14 GB, free: 25.08 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.0003593/1.287, allocations: 195.8 kB / 1.14 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/1.287, allocations: 38.12 kB / 1.14 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/1.287, allocations: 32.7 kB / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.287, allocations: 0 / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.287, allocations: 3.719 kB / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.287, allocations: 3.984 kB / 1.14 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/1.288, allocations: 281.5 kB / 1.141 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.288, allocations: 11.94 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/1.288, allocations: 3.75 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.288, allocations: 3.969 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/1.288, allocations: 10.36 kB / 1.141 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.288, allocations: 0 / 1.141 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.288, allocations: 3.938 kB / 1.141 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/1.289, allocations: 440.8 kB / 1.141 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/1.289, allocations: 112.3 kB / 1.141 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/1.289, allocations: 15.33 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.289, allocations: 0 / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/1.289, allocations: 15.33 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/1.289, allocations: 19.3 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004599/1.29, allocations: 289.9 kB / 1.141 GB, free: 24.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.29, allocations: 0 / 1.141 GB, free: 24.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006576/1.29, allocations: 90.27 kB / 1.142 GB, free: 24.25 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.0003121/1.291, allocations: 151.9 kB / 1.142 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006502/1.291, allocations: 245.9 kB / 1.142 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.291, allocations: 0 / 1.142 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/1.292, allocations: 147.4 kB / 1.142 GB, free: 24.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/1.292, allocations: 34.86 kB / 1.142 GB, free: 24.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.293, allocations: 0.594 MB / 1.143 GB, free: 23.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/1.294, allocations: 0.7669 MB / 1.143 GB, free: 23.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003191/1.294, allocations: 51.11 kB / 1.143 GB, free: 23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.294, allocations: 30.64 kB / 1.144 GB, free: 22.99 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.294, allocations: 7.938 kB / 1.144 GB, free: 22.98 MB / 0.698 GB Notification: Performance of Templates: time 0.0126/1.307, allocations: 4.62 MB / 1.148 GB, free: 20.72 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)