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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001764/0.001764, allocations: 194.8 kB / 377.1 MB, free: 1.539 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.779/1.779, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.0009974/0.0009974, allocations: 87.75 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.000457, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3014, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.799/1.1, allocations: 139 MB / 1.124 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.101, allocations: 70.55 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06041/1.161, allocations: 21.21 MB / 1.145 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.434e-06/1.161, allocations: 0 / 1.145 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.161, allocations: 4 kB / 1.145 GB, free: 20.52 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.000789/1.162, allocations: 0.5508 MB / 1.146 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.162, allocations: 16.02 kB / 1.146 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/1.162, allocations: 41.36 kB / 1.146 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/1.162, allocations: 29.78 kB / 1.146 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/1.163, allocations: 374.7 kB / 1.146 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.163, allocations: 20.55 kB / 1.146 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/1.163, allocations: 20 kB / 1.146 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/1.163, allocations: 192.6 kB / 1.146 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.163, allocations: 5.547 kB / 1.146 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/1.163, allocations: 4.938 kB / 1.146 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/1.163, allocations: 0 / 1.146 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/1.163, allocations: 111.4 kB / 1.146 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/1.164, allocations: 388.5 kB / 1.147 GB, free: 18.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/1.164, allocations: 320.9 kB / 1.147 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/1.164, allocations: 0 / 1.147 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/1.165, allocations: 291.2 kB / 1.147 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/1.165, allocations: 0.6562 kB / 1.147 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007452/1.165, allocations: 0.5038 MB / 1.148 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.165, allocations: 117.5 kB / 1.148 GB, free: 17.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/1.166, allocations: 355.6 kB / 1.148 GB, free: 17.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/1.166, allocations: 39.06 kB / 1.148 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.166, allocations: 160.6 kB / 1.148 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/1.166, allocations: 45.94 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.166, allocations: 4.656 kB / 1.148 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/1.166, allocations: 348.8 kB / 1.149 GB, free: 16.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.166, allocations: 82.2 kB / 1.149 GB, free: 16.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/1.167, allocations: 473.1 kB / 1.149 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/1.167, allocations: 135.8 kB / 1.149 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.167, allocations: 0 / 1.149 GB, free: 16.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004432/1.167, allocations: 340.3 kB / 1.15 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.167, allocations: 9.734 kB / 1.15 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.167, allocations: 4 kB / 1.15 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.167, allocations: 4 kB / 1.15 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/1.168, allocations: 28.86 kB / 1.15 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.168, allocations: 9.312 kB / 1.15 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/1.168, allocations: 54.44 kB / 1.15 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.168, allocations: 17.36 kB / 1.15 GB, free: 15.7 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.0002048/1.169, allocations: 195.2 kB / 1.15 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/1.169, allocations: 28.52 kB / 1.15 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/1.169, allocations: 35.55 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.169, allocations: 1.734 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.169, allocations: 8 kB / 1.15 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.169, allocations: 1.406 kB / 1.15 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/1.169, allocations: 289.6 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.169, allocations: 0.7031 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/1.169, allocations: 9.109 kB / 1.15 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.169, allocations: 3.984 kB / 1.15 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.169, allocations: 10.11 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.169, allocations: 0 / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.169, allocations: 4.703 kB / 1.15 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/1.17, allocations: 470.8 kB / 1.151 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/1.17, allocations: 118.5 kB / 1.151 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/1.17, allocations: 0.9844 kB / 1.151 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/1.17, allocations: 7.094 kB / 1.151 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/1.17, allocations: 17.3 kB / 1.151 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/1.17, allocations: 23.14 kB / 1.151 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002479/1.17, allocations: 283.7 kB / 1.151 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.17, allocations: 0 / 1.151 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004235/1.171, allocations: 93.91 kB / 1.151 GB, free: 14.2 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.000885/1.171, allocations: 1.162 MB / 1.153 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000373/1.172, allocations: 255.8 kB / 1.153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.172, allocations: 0 / 1.153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/1.172, allocations: 148.2 kB / 1.153 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/1.172, allocations: 27.75 kB / 1.153 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/1.174, allocations: 3.226 MB / 1.156 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/1.174, allocations: 0.7643 MB / 1.157 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001532/1.174, allocations: 48.81 kB / 1.157 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.174, allocations: 86.69 kB / 1.157 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/1.174, allocations: 4 kB / 1.157 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.193, allocations: 7.138 MB / 1.164 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.193, allocations: 193.9 kB / 1.164 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/3.296, allocations: 0 / 1.164 GB, free: 2.227 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)