Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001056/0.001056, allocations: 177 kB / 371.6 MB, free: 3.363 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.602/1.602, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009681/0.000968, allocations: 89.47 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.856e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3328, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.355, allocations: 139 MB / 1.116 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.355, allocations: 69.64 kB / 1.116 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05638/1.412, allocations: 21.21 MB / 1.136 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/1.412, allocations: 0 / 1.136 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.926e-05/1.412, allocations: 4 kB / 1.136 GB, free: 33.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006549/1.413, allocations: 495.9 kB / 1.137 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.413, allocations: 8.688 kB / 1.137 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/1.413, allocations: 35.83 kB / 1.137 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/1.413, allocations: 34.97 kB / 1.137 GB, free: 32.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/1.413, allocations: 381.5 kB / 1.137 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.413, allocations: 15.91 kB / 1.137 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/1.413, allocations: 19.34 kB / 1.137 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/1.414, allocations: 193.1 kB / 1.138 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.414, allocations: 0.75 kB / 1.138 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.414, allocations: 0.75 kB / 1.138 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.414, allocations: 0.5625 kB / 1.138 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/1.414, allocations: 112.1 kB / 1.138 GB, free: 31.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/1.415, allocations: 402 kB / 1.138 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/1.415, allocations: 311 kB / 1.138 GB, free: 31.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/1.415, allocations: 131 kB / 1.138 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/1.415, allocations: 0.6094 kB / 1.138 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/1.416, allocations: 285 kB / 1.139 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/1.416, allocations: 0 / 1.139 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006962/1.416, allocations: 406 kB / 1.139 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.416, allocations: 123.4 kB / 1.139 GB, free: 30.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/1.417, allocations: 353.2 kB / 1.14 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/1.417, allocations: 41.98 kB / 1.14 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.417, allocations: 158.1 kB / 1.14 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/1.417, allocations: 38.5 kB / 1.14 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/1.417, allocations: 3.125 kB / 1.14 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/1.417, allocations: 349.2 kB / 1.14 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/1.417, allocations: 86.5 kB / 1.14 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/1.418, allocations: 472.4 kB / 1.141 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/1.418, allocations: 134.7 kB / 1.141 GB, free: 29.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.418, allocations: 4 kB / 1.141 GB, free: 29.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004394/1.418, allocations: 333.5 kB / 1.141 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.418, allocations: 8 kB / 1.141 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.418, allocations: 4 kB / 1.141 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.418, allocations: 4 kB / 1.141 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/1.419, allocations: 31.22 kB / 1.141 GB, free: 28.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.419, allocations: 9.125 kB / 1.141 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/1.419, allocations: 53.81 kB / 1.141 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.419, allocations: 17.39 kB / 1.141 GB, free: 28.91 MB / 0.7448 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 () * 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.0001113/1.419, allocations: 139.4 kB / 1.141 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/1.419, allocations: 26.91 kB / 1.141 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/1.42, allocations: 36.83 kB / 1.141 GB, free: 28.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/1.42, allocations: 0 / 1.141 GB, free: 28.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.42, allocations: 8 kB / 1.141 GB, free: 28.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.42, allocations: 0 / 1.141 GB, free: 28.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/1.42, allocations: 295.6 kB / 1.142 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.42, allocations: 0 / 1.142 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/1.42, allocations: 12.28 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.42, allocations: 0.6562 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.42, allocations: 6.109 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.42, allocations: 1.578 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.42, allocations: 4 kB / 1.142 GB, free: 28.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/1.421, allocations: 464.2 kB / 1.142 GB, free: 28.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/1.421, allocations: 116.2 kB / 1.142 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/1.421, allocations: 9.016 kB / 1.142 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/1.421, allocations: 1.125 kB / 1.142 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/1.421, allocations: 20.08 kB / 1.142 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/1.421, allocations: 18.81 kB / 1.142 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002741/1.421, allocations: 293.5 kB / 1.143 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.421, allocations: 0 / 1.143 GB, free: 27.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003728/1.422, allocations: 85.95 kB / 1.143 GB, free: 27.66 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: 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 () * 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.0008161/1.422, allocations: 1.159 MB / 1.144 GB, free: 26.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000387/1.423, allocations: 258 kB / 1.144 GB, free: 26.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.423, allocations: 0 / 1.144 GB, free: 26.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/1.423, allocations: 145.2 kB / 1.144 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/1.423, allocations: 28.23 kB / 1.144 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/1.424, allocations: 0.5383 MB / 1.145 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.424, allocations: 0.7744 MB / 1.146 GB, free: 25.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001417/1.425, allocations: 54.33 kB / 1.146 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.425, allocations: 83.17 kB / 1.146 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.425, allocations: 0.9375 kB / 1.146 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/1.449, allocations: 7.206 MB / 1.153 GB, free: 20.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.449, allocations: 181 kB / 1.153 GB, free: 20.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/3.526, allocations: 0 / 1.153 GB, free: 20.66 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)