Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.803/2.803, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001557/0.001557, allocations: 181.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001077/0.001076, allocations: 96.33 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004874, allocations: 11.97 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2145, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9315/1.146, allocations: 137.9 MB / 1.113 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.146, allocations: 77.31 kB / 1.113 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1014/1.248, allocations: 21.18 MB / 1.134 GB, free: 27.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/1.248, allocations: 4 kB / 1.134 GB, free: 27.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.735e-05/1.248, allocations: 7.875 kB / 1.134 GB, free: 27.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001289/1.249, allocations: 0.5535 MB / 1.134 GB, free: 27.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.249, allocations: 11.73 kB / 1.134 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/1.249, allocations: 33.75 kB / 1.134 GB, free: 27.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/1.25, allocations: 31.12 kB / 1.134 GB, free: 27.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007842/1.25, allocations: 379.5 kB / 1.135 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.25, allocations: 19.09 kB / 1.135 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.25, allocations: 18.69 kB / 1.135 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/1.251, allocations: 193.4 kB / 1.135 GB, free: 27.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.251, allocations: 3.984 kB / 1.135 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/1.251, allocations: 3.375 kB / 1.135 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.251, allocations: 7.812 kB / 1.135 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/1.251, allocations: 110 kB / 1.135 GB, free: 27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/1.252, allocations: 396.5 kB / 1.135 GB, free: 26.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/1.253, allocations: 320.4 kB / 1.136 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/1.253, allocations: 4 kB / 1.136 GB, free: 26.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/1.253, allocations: 284.8 kB / 1.136 GB, free: 26.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.926e-06/1.253, allocations: 4 kB / 1.136 GB, free: 26.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001386/1.255, allocations: 0.4989 MB / 1.137 GB, free: 26.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/1.255, allocations: 113.9 kB / 1.137 GB, free: 26.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/1.255, allocations: 358.2 kB / 1.137 GB, free: 26.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/1.256, allocations: 40.55 kB / 1.137 GB, free: 26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.256, allocations: 152.5 kB / 1.137 GB, free: 25.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/1.256, allocations: 41.39 kB / 1.137 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/1.256, allocations: 3.625 kB / 1.137 GB, free: 25.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.256, allocations: 356 kB / 1.138 GB, free: 25.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/1.256, allocations: 82.86 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/1.257, allocations: 481.5 kB / 1.138 GB, free: 25.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/1.257, allocations: 138.6 kB / 1.138 GB, free: 25.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.257, allocations: 0 / 1.138 GB, free: 25.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008081/1.258, allocations: 332 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.258, allocations: 7.594 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.258, allocations: 4.406 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.258, allocations: 7.781 kB / 1.139 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/1.258, allocations: 34.91 kB / 1.139 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/1.258, allocations: 11.77 kB / 1.139 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.26, allocations: 49.64 kB / 1.139 GB, free: 24.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/1.26, allocations: 19.61 kB / 1.139 GB, free: 24.94 MB / 0.698 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.0003898/1.26, allocations: 200.3 kB / 1.139 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/1.26, allocations: 27.16 kB / 1.139 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/1.26, allocations: 35.61 kB / 1.139 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.26, allocations: 3.844 kB / 1.139 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.26, allocations: 0 / 1.139 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.26, allocations: 3.938 kB / 1.139 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/1.261, allocations: 288.5 kB / 1.139 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.261, allocations: 3.875 kB / 1.139 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/1.261, allocations: 11.95 kB / 1.139 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/1.261, allocations: 0 / 1.139 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.261, allocations: 6.75 kB / 1.139 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.261, allocations: 0 / 1.139 GB, free: 24.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.261, allocations: 7.844 kB / 1.139 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/1.262, allocations: 465.2 kB / 1.14 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.262, allocations: 115.9 kB / 1.14 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/1.262, allocations: 4.141 kB / 1.14 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/1.262, allocations: 7.422 kB / 1.14 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/1.262, allocations: 18.7 kB / 1.14 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.262, allocations: 23.33 kB / 1.14 GB, free: 24.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004628/1.263, allocations: 285.9 kB / 1.14 GB, free: 24.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.263, allocations: 0 / 1.14 GB, free: 24.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007251/1.263, allocations: 83.41 kB / 1.14 GB, free: 24.08 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: 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.001391/1.265, allocations: 1.169 MB / 1.141 GB, free: 23.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007036/1.266, allocations: 264.1 kB / 1.142 GB, free: 23.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.266, allocations: 0 / 1.142 GB, free: 23.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.266, allocations: 143.2 kB / 1.142 GB, free: 23.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/1.266, allocations: 28.73 kB / 1.142 GB, free: 23.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/1.269, allocations: 3.224 MB / 1.145 GB, free: 20.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/1.27, allocations: 0.7708 MB / 1.146 GB, free: 19.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003583/1.27, allocations: 48.34 kB / 1.146 GB, free: 19.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/1.27, allocations: 81.84 kB / 1.146 GB, free: 19.44 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.27, allocations: 4 kB / 1.146 GB, free: 19.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/1.304, allocations: 7.147 MB / 1.153 GB, free: 16.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/1.305, allocations: 193.6 kB / 1.153 GB, free: 15.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.999, allocations: 0 / 1.153 GB, free: 15.87 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)