Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.834/1.834, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001078/0.001078, allocations: 181 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.671/1.671, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001082/0.001083, allocations: 88.97 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.000447, allocations: 11.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8702/1.149, allocations: 138.1 MB / 1.114 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.149, allocations: 74.62 kB / 1.114 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05621/1.206, allocations: 21.19 MB / 1.135 GB, free: 28.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.464e-06/1.206, allocations: 0 / 1.135 GB, free: 28.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.96e-05/1.206, allocations: 7.875 kB / 1.135 GB, free: 28.13 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.001394/1.207, allocations: 0.5586 MB / 1.136 GB, free: 27.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.207, allocations: 11.7 kB / 1.136 GB, free: 27.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.146e-05/1.207, allocations: 34.5 kB / 1.136 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/1.208, allocations: 34.36 kB / 1.136 GB, free: 27.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/1.208, allocations: 373.5 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/1.208, allocations: 14.83 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/1.208, allocations: 25.81 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/1.209, allocations: 184.7 kB / 1.136 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.209, allocations: 11.78 kB / 1.136 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.209, allocations: 0 / 1.136 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.209, allocations: 0 / 1.136 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/1.209, allocations: 109.6 kB / 1.136 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/1.21, allocations: 398.3 kB / 1.137 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/1.21, allocations: 315.6 kB / 1.137 GB, free: 26.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/1.21, allocations: 7.812 kB / 1.137 GB, free: 26.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/1.21, allocations: 281.7 kB / 1.137 GB, free: 26.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.756e-06/1.21, allocations: 0 / 1.137 GB, free: 26.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008205/1.211, allocations: 0.5095 MB / 1.138 GB, free: 26.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/1.211, allocations: 114.5 kB / 1.138 GB, free: 26.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/1.212, allocations: 355.7 kB / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/1.212, allocations: 44.17 kB / 1.138 GB, free: 26.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.212, allocations: 154.3 kB / 1.139 GB, free: 26.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/1.212, allocations: 46.77 kB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.212, allocations: 2.812 kB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.212, allocations: 348.8 kB / 1.139 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.212, allocations: 86.38 kB / 1.139 GB, free: 25.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/1.213, allocations: 475.2 kB / 1.139 GB, free: 25.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/1.213, allocations: 143 kB / 1.14 GB, free: 25.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.213, allocations: 3.906 kB / 1.14 GB, free: 25.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004853/1.213, allocations: 328.9 kB / 1.14 GB, free: 25.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.213, allocations: 9.766 kB / 1.14 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.214, allocations: 7.891 kB / 1.14 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.214, allocations: 7.906 kB / 1.14 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.214, allocations: 30.89 kB / 1.14 GB, free: 25.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.214, allocations: 7.844 kB / 1.14 GB, free: 25.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/1.214, allocations: 58.66 kB / 1.14 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/1.215, allocations: 14.62 kB / 1.14 GB, free: 25.11 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.0002426/1.215, allocations: 193.4 kB / 1.14 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/1.215, allocations: 30.88 kB / 1.14 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.221e-05/1.215, allocations: 35.95 kB / 1.14 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.215, allocations: 7.812 kB / 1.14 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.215, allocations: 0 / 1.14 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.215, allocations: 0 / 1.14 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/1.215, allocations: 293 kB / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.215, allocations: 0 / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/1.215, allocations: 6.719 kB / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.215, allocations: 3.875 kB / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/1.215, allocations: 3.781 kB / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.215, allocations: 7.922 kB / 1.141 GB, free: 24.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.215, allocations: 0 / 1.141 GB, free: 24.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/1.216, allocations: 471.4 kB / 1.141 GB, free: 24.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/1.216, allocations: 112.1 kB / 1.141 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/1.216, allocations: 14.42 kB / 1.141 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/1.216, allocations: 2.812 kB / 1.141 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/1.216, allocations: 19.14 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/1.216, allocations: 15.39 kB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002999/1.216, allocations: 285.8 kB / 1.141 GB, free: 24.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0 / 1.141 GB, free: 24.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004961/1.217, allocations: 95.84 kB / 1.142 GB, free: 24.25 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.0009929/1.218, allocations: 1.158 MB / 1.143 GB, free: 23.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003944/1.218, allocations: 261.9 kB / 1.143 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.218, allocations: 192 / 1.143 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.219, allocations: 142.9 kB / 1.143 GB, free: 23.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.219, allocations: 34.25 kB / 1.143 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/1.221, allocations: 3.213 MB / 1.146 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.221, allocations: 0.7731 MB / 1.147 GB, free: 19.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001905/1.222, allocations: 55.67 kB / 1.147 GB, free: 19.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.222, allocations: 82.69 kB / 1.147 GB, free: 19.61 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.222, allocations: 0 / 1.147 GB, free: 19.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/1.242, allocations: 7.149 MB / 1.154 GB, free: 16.28 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/1.242, allocations: 211.1 kB / 1.154 GB, free: 16.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3.371, allocations: 0 / 1.154 GB, free: 16.04 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)