Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001433/0.001433, allocations: 177.1 kB / 371.6 MB, free: 3.379 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.75/1.75, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001156/0.001156, allocations: 93.23 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.401e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8583/1.128, allocations: 139.3 MB / 1.116 GB, free: 44.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/1.128, allocations: 76.2 kB / 1.116 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.122/1.25, allocations: 45.89 MB / 1.161 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/1.25, allocations: 0.75 kB / 1.161 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.03e-05/1.25, allocations: 12 kB / 1.161 GB, free: 18.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009044/1.251, allocations: 0.6284 MB / 1.161 GB, free: 18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.251, allocations: 8.031 kB / 1.161 GB, free: 17.99 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/1.251, allocations: 49.61 kB / 1.161 GB, free: 17.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/1.251, allocations: 53.16 kB / 1.162 GB, free: 17.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/1.252, allocations: 0.5258 MB / 1.162 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.252, allocations: 26.91 kB / 1.162 GB, free: 17.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/1.252, allocations: 39.8 kB / 1.162 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/1.253, allocations: 308.5 kB / 1.162 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.253, allocations: 0 / 1.162 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/1.253, allocations: 7.625 kB / 1.162 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/1.253, allocations: 4 kB / 1.162 GB, free: 17.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/1.253, allocations: 220.8 kB / 1.163 GB, free: 16.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/1.255, allocations: 1.183 MB / 1.164 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/1.255, allocations: 467.8 kB / 1.164 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.255, allocations: 190.3 kB / 1.164 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/1.255, allocations: 0 / 1.164 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.256, allocations: 334.2 kB / 1.165 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/1.256, allocations: 0 / 1.165 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0007374/1.257, allocations: 0.493 MB / 1.165 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.257, allocations: 114.4 kB / 1.165 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/1.257, allocations: 0.5359 MB / 1.166 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/1.257, allocations: 52.02 kB / 1.166 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.257, allocations: 226.3 kB / 1.166 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/1.257, allocations: 54.53 kB / 1.166 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/1.258, allocations: 3.688 kB / 1.166 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/1.258, allocations: 363.1 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.258, allocations: 125 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/1.258, allocations: 0.7118 MB / 1.167 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/1.259, allocations: 182 kB / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.259, allocations: 0 / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005311/1.259, allocations: 427.4 kB / 1.168 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.259, allocations: 9.25 kB / 1.168 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.259, allocations: 5.641 kB / 1.168 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.259, allocations: 4 kB / 1.168 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/1.259, allocations: 39.3 kB / 1.168 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.259, allocations: 7.938 kB / 1.168 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.261, allocations: 95.69 kB / 1.168 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/1.261, allocations: 19.42 kB / 1.168 GB, free: 12.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000161/1.261, allocations: 155.7 kB / 1.168 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/1.261, allocations: 47.47 kB / 1.168 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.031e-05/1.261, allocations: 45.31 kB / 1.168 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.261, allocations: 4 kB / 1.168 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.261, allocations: 0 / 1.168 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.261, allocations: 4 kB / 1.168 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/1.261, allocations: 413.9 kB / 1.169 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.261, allocations: 0 / 1.169 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/1.261, allocations: 11.92 kB / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.261, allocations: 7.953 kB / 1.169 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.261, allocations: 12.34 kB / 1.169 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/1.261, allocations: 3.984 kB / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.261, allocations: 0 / 1.169 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/1.262, allocations: 0.5452 MB / 1.169 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/1.262, allocations: 132.2 kB / 1.169 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/1.262, allocations: 15.3 kB / 1.169 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/1.262, allocations: 15.73 kB / 1.169 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/1.262, allocations: 27.91 kB / 1.169 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.262, allocations: 19.98 kB / 1.169 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004021/1.263, allocations: 425.9 kB / 1.17 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.263, allocations: 0 / 1.17 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004901/1.263, allocations: 125.5 kB / 1.17 GB, free: 10.36 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0008716/1.264, allocations: 1.27 MB / 1.171 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004623/1.265, allocations: 353.2 kB / 1.172 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.265, allocations: 0 / 1.172 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/1.265, allocations: 181.6 kB / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/1.265, allocations: 38.59 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/1.266, allocations: 0.7971 MB / 1.173 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/1.267, allocations: 0.8408 MB / 1.173 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002584/1.267, allocations: 91.7 kB / 1.173 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.267, allocations: 132 kB / 1.174 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/1.267, allocations: 0 / 1.174 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.289, allocations: 11.33 MB / 1.185 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.29, allocations: 182.9 kB / 1.185 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.538, allocations: 0 / 1.185 GB, free: 11.78 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)