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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 293 MB / 309 MB, free: 4.793 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.001016/0.001017, allocations: 180.5 kB / 378.7 MB, free: 1.012 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.646/1.646, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0007482/0.0007481, allocations: 90.11 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 116.4 MB / 0.9905 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.08, allocations: 139.1 MB / 1.126 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.08, allocations: 77.83 kB / 1.126 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05912/1.139, allocations: 21.34 MB / 1.147 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/1.139, allocations: 0 / 1.147 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.139, allocations: 4.562 kB / 1.147 GB, free: 19.64 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.0007891/1.14, allocations: 0.5522 MB / 1.148 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.14, allocations: 8.031 kB / 1.148 GB, free: 19.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/1.14, allocations: 28.66 kB / 1.148 GB, free: 19.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/1.141, allocations: 390.8 kB / 1.148 GB, free: 18.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.141, allocations: 13.12 kB / 1.148 GB, free: 18.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/1.141, allocations: 22.25 kB / 1.148 GB, free: 18.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/1.141, allocations: 196.6 kB / 1.148 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.141, allocations: 7.938 kB / 1.148 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/1.141, allocations: 1.453 kB / 1.148 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.141, allocations: 0 / 1.148 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/1.141, allocations: 111.3 kB / 1.149 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/1.142, allocations: 387.8 kB / 1.149 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/1.142, allocations: 320 kB / 1.149 GB, free: 17.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/1.142, allocations: 132.8 kB / 1.149 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/1.142, allocations: 0 / 1.149 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003707/1.143, allocations: 293.5 kB / 1.15 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/1.143, allocations: 0.6562 kB / 1.15 GB, free: 17.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007261/1.143, allocations: 0.4958 MB / 1.15 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/1.144, allocations: 116.3 kB / 1.15 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/1.144, allocations: 396 kB / 1.151 GB, free: 16.44 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/1.144, allocations: 43.11 kB / 1.151 GB, free: 16.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/1.144, allocations: 155.9 kB / 1.151 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/1.144, allocations: 38.89 kB / 1.151 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/1.144, allocations: 8.562 kB / 1.151 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/1.144, allocations: 340.9 kB / 1.151 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/1.144, allocations: 87.33 kB / 1.151 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/1.145, allocations: 477 kB / 1.152 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/1.145, allocations: 250.1 kB / 1.152 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.145, allocations: 4 kB / 1.152 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004382/1.146, allocations: 342.7 kB / 1.152 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.146, allocations: 8 kB / 1.152 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.146, allocations: 5.5 kB / 1.152 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.146, allocations: 4.406 kB / 1.152 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/1.146, allocations: 36.77 kB / 1.152 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.146, allocations: 4 kB / 1.152 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.146, allocations: 55.03 kB / 1.152 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/1.146, allocations: 17.45 kB / 1.152 GB, free: 14.55 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.0001979/1.147, allocations: 195.9 kB / 1.153 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/1.147, allocations: 36.31 kB / 1.153 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/1.147, allocations: 34.59 kB / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.147, allocations: 0 / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/1.147, allocations: 4 kB / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.147, allocations: 1.125 kB / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/1.147, allocations: 286.8 kB / 1.153 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.147, allocations: 7.938 kB / 1.153 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/1.147, allocations: 1.938 kB / 1.153 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.147, allocations: 8.656 kB / 1.153 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.147, allocations: 5.828 kB / 1.153 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.147, allocations: 2.547 kB / 1.153 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.147, allocations: 4 kB / 1.153 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/1.148, allocations: 440.8 kB / 1.153 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/1.148, allocations: 117.2 kB / 1.153 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/1.148, allocations: 9.594 kB / 1.153 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/1.148, allocations: 4.562 kB / 1.153 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/1.148, allocations: 18.23 kB / 1.154 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/1.148, allocations: 13.5 kB / 1.154 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002757/1.148, allocations: 292.7 kB / 1.154 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.148, allocations: 0 / 1.154 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000418/1.149, allocations: 86.56 kB / 1.154 GB, free: 13.07 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.0002856/1.149, allocations: 151 kB / 1.154 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003952/1.149, allocations: 250.6 kB / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.149, allocations: 0 / 1.154 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/1.15, allocations: 145 kB / 1.154 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/1.15, allocations: 38.95 kB / 1.154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/1.151, allocations: 0.5922 MB / 1.155 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.151, allocations: 0.7724 MB / 1.156 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001661/1.151, allocations: 55.41 kB / 1.156 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/1.151, allocations: 29.64 kB / 1.156 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.151, allocations: 0 / 1.156 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.00806/1.159, allocations: 4.678 MB / 1.16 GB, free: 7.082 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)