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 2.858/2.858, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001722/0.001722, allocations: 184.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.118/3.118, allocations: 205.3 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.001266/0.001266, allocations: 90.7 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.942e-05/7.911e-05, allocations: 8 kB / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335/1.335, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/1.639, allocations: 137.6 MB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/1.639, allocations: 77.08 kB / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2043/1.843, allocations: 45.67 MB / 1.144 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.717e-06/1.844, allocations: 4 kB / 1.144 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.894e-05/1.844, allocations: 12 kB / 1.144 GB, free: 4.457 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.002071/1.846, allocations: 0.6337 MB / 1.144 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 9.394e-05/1.846, allocations: 8.031 kB / 1.144 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/1.846, allocations: 56.47 kB / 1.144 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/1.848, allocations: 0.5271 MB / 1.145 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/1.848, allocations: 7.984 kB / 1.145 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/1.848, allocations: 24 kB / 1.145 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005627/1.849, allocations: 220.3 kB / 1.145 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/1.849, allocations: 293.4 kB / 1.145 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.849, allocations: 0 / 1.145 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/1.849, allocations: 0 / 1.145 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.849, allocations: 4.562 kB / 1.145 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/1.852, allocations: 1.134 MB / 1.146 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.854, allocations: 459.6 kB / 1.147 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/1.854, allocations: 174.7 kB / 1.147 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/1.854, allocations: 4 kB / 1.147 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/1.855, allocations: 327.4 kB / 1.147 GB, free: 428 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 5.209e-06/1.855, allocations: 2.531 kB / 1.147 GB, free: 428 kB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001744/1.857, allocations: 496.9 kB / 1.148 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.857, allocations: 114.7 kB / 1.148 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.858, allocations: 0.5167 MB / 1.148 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/1.858, allocations: 37.7 kB / 1.148 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/1.859, allocations: 229.6 kB / 1.149 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/1.859, allocations: 43.42 kB / 1.149 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/1.859, allocations: 0 / 1.149 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003139/1.859, allocations: 362.8 kB / 1.149 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/1.859, allocations: 116 kB / 1.149 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/1.861, allocations: 0.701 MB / 1.15 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/1.862, allocations: 201 kB / 1.15 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.862, allocations: 4 kB / 1.15 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001648/1.863, allocations: 422.5 kB / 1.15 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/1.863, allocations: 12.52 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.863, allocations: 4.656 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.707e-05/1.864, allocations: 15.92 kB / 1.15 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/1.864, allocations: 31.92 kB / 1.151 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.864, allocations: 8.375 kB / 1.151 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.866, allocations: 80.19 kB / 1.151 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/1.866, allocations: 15.98 kB / 1.151 GB, free: 12.8 MB / 0.7605 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.0004289/1.866, allocations: 144.6 kB / 1.151 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001328/1.867, allocations: 488.5 kB / 1.151 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.868, allocations: 43.39 kB / 1.151 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/1.868, allocations: 51.48 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.868, allocations: 4 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.868, allocations: 0 / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.868, allocations: 0 / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/1.869, allocations: 377.8 kB / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.869, allocations: 0 / 1.152 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/1.869, allocations: 13.3 kB / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/1.869, allocations: 0 / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/1.869, allocations: 7.953 kB / 1.152 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/1.869, allocations: 7.984 kB / 1.152 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.869, allocations: 0 / 1.152 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.87, allocations: 0.538 MB / 1.152 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/1.87, allocations: 132.6 kB / 1.152 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/1.871, allocations: 7.984 kB / 1.152 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/1.871, allocations: 11.98 kB / 1.152 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.871, allocations: 31.95 kB / 1.152 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/1.871, allocations: 17.44 kB / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007252/1.872, allocations: 406.9 kB / 1.153 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.21e-07/1.872, allocations: 8 kB / 1.153 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001103/1.873, allocations: 111.8 kB / 1.153 GB, free: 10.34 MB / 0.7605 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.00202/1.875, allocations: 1.257 MB / 1.154 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.876, allocations: 327.7 kB / 1.154 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.876, allocations: 4 kB / 1.154 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/1.877, allocations: 179.8 kB / 1.155 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/1.877, allocations: 39.06 kB / 1.155 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/1.88, allocations: 0.7555 MB / 1.155 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.881, allocations: 0.8583 MB / 1.156 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006317/1.881, allocations: 91.25 kB / 1.156 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/1.882, allocations: 136.4 kB / 1.156 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of SimCode: time 1.893e-06/1.882, allocations: 0 / 1.156 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.997, allocations: 10.24 MB / 1.166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003565/1.998, allocations: 162.8 kB / 1.167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.395/6.393, allocations: 0 / 1.167 GB, free: 12.39 MB / 0.7761 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)