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.699/1.699, allocations: 285.7 MB / 293.1 MB, free: 10.2 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.001418/0.001418, allocations: 183.8 kB / 361.4 MB, free: 6.805 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.813/1.813, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008957/0.0008962, allocations: 102.4 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.404e-05, allocations: 8 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6652, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.8485, allocations: 137.3 MB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.8488, allocations: 73.97 kB / 1.099 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06304/0.9119, allocations: 21.1 MB / 1.119 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/0.912, allocations: 0 / 1.119 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.912, allocations: 4 kB / 1.119 GB, free: 13.43 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.0008476/0.9128, allocations: 497.9 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/0.9129, allocations: 12.03 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.9131, allocations: 28.75 kB / 1.12 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.9138, allocations: 372.2 kB / 1.12 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.9138, allocations: 8 kB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.9139, allocations: 23.97 kB / 1.12 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000221/0.9141, allocations: 103.9 kB / 1.12 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.9145, allocations: 184.1 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9145, allocations: 0 / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.9145, allocations: 4 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9145, allocations: 0 / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.9151, allocations: 363.5 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.9156, allocations: 311.9 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.9158, allocations: 122.5 kB / 1.121 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.9158, allocations: 4 kB / 1.121 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.9162, allocations: 285.6 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.9162, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007515/0.917, allocations: 393.1 kB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.9171, allocations: 118.7 kB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.9175, allocations: 341.1 kB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.9176, allocations: 33.7 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.9178, allocations: 157.6 kB / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.9178, allocations: 39.59 kB / 1.122 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.9178, allocations: 4 kB / 1.122 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.918, allocations: 338.8 kB / 1.123 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9182, allocations: 80.72 kB / 1.123 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.9186, allocations: 462.8 kB / 1.123 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.9191, allocations: 161.6 kB / 1.123 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9191, allocations: 3.953 kB / 1.123 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007112/0.9198, allocations: 331.2 kB / 1.124 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.9199, allocations: 8 kB / 1.124 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9199, allocations: 4 kB / 1.124 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.9199, allocations: 4 kB / 1.124 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.9201, allocations: 39.86 kB / 1.124 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.9201, allocations: 4 kB / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.9207, allocations: 48.28 kB / 1.124 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.9208, allocations: 14.62 kB / 1.124 GB, free: 8.23 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 () * 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.0001883/0.921, allocations: 132.4 kB / 1.124 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.921, allocations: 27.67 kB / 1.124 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.9211, allocations: 34.02 kB / 1.124 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9211, allocations: 0 / 1.124 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9211, allocations: 8 kB / 1.124 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9212, allocations: 0 / 1.124 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.9214, allocations: 262 kB / 1.124 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9215, allocations: 2.438 kB / 1.124 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.9215, allocations: 11.92 kB / 1.124 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.9215, allocations: 3.953 kB / 1.124 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.9215, allocations: 7.984 kB / 1.124 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.9215, allocations: 5.953 kB / 1.124 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9215, allocations: 0 / 1.124 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.9221, allocations: 458.3 kB / 1.125 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.9223, allocations: 120.7 kB / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.9223, allocations: 0 / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.9224, allocations: 0 / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.9224, allocations: 23.91 kB / 1.125 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.9225, allocations: 16 kB / 1.125 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003119/0.9228, allocations: 280.5 kB / 1.125 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9228, allocations: 0 / 1.125 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003904/0.9232, allocations: 75.94 kB / 1.125 GB, free: 6.695 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 () * 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.000279/0.9235, allocations: 139.6 kB / 1.125 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.9239, allocations: 240.7 kB / 1.126 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9239, allocations: 4.062 kB / 1.126 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.9241, allocations: 143.9 kB / 1.126 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.9243, allocations: 22.42 kB / 1.126 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.925, allocations: 444.7 kB / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.9254, allocations: 0.7794 MB / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.9256, allocations: 46.06 kB / 1.127 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.9256, allocations: 27.42 kB / 1.127 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9256, allocations: 0 / 1.127 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of Templates: time 0.007579/0.9332, allocations: 4.202 MB / 1.131 GB, free: 0.7188 MB / 0.7292 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)