Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001017/0.001017, allocations: 177 kB / 371.8 MB, free: 10.29 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.553/1.553, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009262/0.0009261, allocations: 97.12 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 12.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8186/1.06, allocations: 138.4 MB / 1.115 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.06, allocations: 68.94 kB / 1.115 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1169/1.177, allocations: 45.84 MB / 1.159 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.177, allocations: 4 kB / 1.159 GB, free: 17.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.622e-05/1.177, allocations: 12 kB / 1.16 GB, free: 17.41 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00195/1.179, allocations: 0.7209 MB / 1.16 GB, free: 16.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.179, allocations: 12.02 kB / 1.16 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/1.179, allocations: 45.42 kB / 1.16 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/1.18, allocations: 55.44 kB / 1.16 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.181, allocations: 0.5296 MB / 1.161 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/1.181, allocations: 22.86 kB / 1.161 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/1.181, allocations: 40.5 kB / 1.161 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/1.182, allocations: 313.2 kB / 1.161 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.182, allocations: 0 / 1.161 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/1.182, allocations: 7.812 kB / 1.161 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.182, allocations: 7.984 kB / 1.161 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/1.182, allocations: 223.4 kB / 1.161 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/1.184, allocations: 1.179 MB / 1.163 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/1.185, allocations: 478.4 kB / 1.163 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/1.185, allocations: 3.953 kB / 1.163 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/1.185, allocations: 345.3 kB / 1.163 GB, free: 13.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.555e-06/1.186, allocations: 0 / 1.163 GB, free: 13.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001168/1.187, allocations: 0.63 MB / 1.164 GB, free: 13.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/1.187, allocations: 118.3 kB / 1.164 GB, free: 13.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/1.188, allocations: 0.5412 MB / 1.165 GB, free: 12.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/1.188, allocations: 50.02 kB / 1.165 GB, free: 12.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/1.188, allocations: 233.6 kB / 1.165 GB, free: 12.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/1.188, allocations: 46.36 kB / 1.165 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/1.188, allocations: 7.812 kB / 1.165 GB, free: 12.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.188, allocations: 360.7 kB / 1.165 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.189, allocations: 128.7 kB / 1.165 GB, free: 12.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/1.189, allocations: 0.7133 MB / 1.166 GB, free: 11.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/1.19, allocations: 178.6 kB / 1.166 GB, free: 11.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.19, allocations: 4 kB / 1.166 GB, free: 11.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007256/1.19, allocations: 429.6 kB / 1.167 GB, free: 10.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.19, allocations: 8.75 kB / 1.167 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.19, allocations: 0 / 1.167 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.191, allocations: 8 kB / 1.167 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/1.191, allocations: 39.53 kB / 1.167 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.191, allocations: 7.938 kB / 1.167 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.192, allocations: 95.59 kB / 1.167 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/1.192, allocations: 19.62 kB / 1.167 GB, free: 10.81 MB / 0.698 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 () * Number of clocked 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.0004398/1.193, allocations: 260.5 kB / 1.167 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.193, allocations: 43.42 kB / 1.167 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/1.193, allocations: 56.36 kB / 1.167 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.193, allocations: 4 kB / 1.167 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.193, allocations: 0 / 1.167 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.193, allocations: 3.984 kB / 1.167 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/1.193, allocations: 406.3 kB / 1.168 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.193, allocations: 4 kB / 1.168 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/1.193, allocations: 15.61 kB / 1.168 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.193, allocations: 0 / 1.168 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/1.193, allocations: 15.89 kB / 1.168 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.193, allocations: 4 kB / 1.168 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.193, allocations: 0 / 1.168 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/1.194, allocations: 0.5417 MB / 1.168 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/1.194, allocations: 147.2 kB / 1.168 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/1.194, allocations: 0 / 1.168 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.195, allocations: 24.03 kB / 1.168 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/1.195, allocations: 25.72 kB / 1.168 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/1.195, allocations: 23.48 kB / 1.168 GB, free: 9.422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005908/1.195, allocations: 428.7 kB / 1.169 GB, free: 9.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.195, allocations: 4 kB / 1.169 GB, free: 9.086 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007041/1.196, allocations: 118 kB / 1.169 GB, free: 8.984 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: 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 () * Number of clocked 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.001321/1.197, allocations: 1.267 MB / 1.17 GB, free: 7.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006379/1.198, allocations: 352 kB / 1.17 GB, free: 7.539 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.198, allocations: 4 kB / 1.17 GB, free: 7.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/1.198, allocations: 181.6 kB / 1.171 GB, free: 7.414 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.199, allocations: 35.14 kB / 1.171 GB, free: 7.398 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.202, allocations: 3.437 MB / 1.174 GB, free: 4.004 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/1.202, allocations: 0.8478 MB / 1.175 GB, free: 3.148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003805/1.202, allocations: 103.4 kB / 1.175 GB, free: 3.047 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/1.203, allocations: 126.3 kB / 1.175 GB, free: 3.004 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/1.203, allocations: 0 / 1.175 GB, free: 3.004 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.234, allocations: 11.25 MB / 1.186 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.234, allocations: 207.3 kB / 1.186 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.517, allocations: 2.672 kB / 1.186 GB, free: 7.789 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)