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.78/1.78, allocations: 285.4 MB / 298 MB, free: 6.012 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.001401/0.001401, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.801/1.801, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0007944/0.0007944, allocations: 84.5 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.704e-05/5.706e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7716, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.9677, allocations: 138 MB / 1.106 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.968, allocations: 71.95 kB / 1.106 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06439/1.032, allocations: 21.21 MB / 1.127 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.794e-06/1.032, allocations: 0 / 1.127 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.654e-05/1.033, allocations: 12 kB / 1.127 GB, free: 8.535 MB / 0.7292 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.0009847/1.034, allocations: 0.4901 MB / 1.127 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/1.034, allocations: 12.03 kB / 1.127 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/1.034, allocations: 38.55 kB / 1.127 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/1.034, allocations: 31.72 kB / 1.127 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/1.035, allocations: 368.2 kB / 1.127 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/1.035, allocations: 12 kB / 1.127 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/1.035, allocations: 27.98 kB / 1.128 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/1.035, allocations: 192.1 kB / 1.128 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.035, allocations: 0 / 1.128 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/1.035, allocations: 0 / 1.128 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.035, allocations: 4 kB / 1.128 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/1.036, allocations: 111.9 kB / 1.128 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/1.036, allocations: 391 kB / 1.128 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/1.037, allocations: 323.8 kB / 1.128 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/1.037, allocations: 124.6 kB / 1.129 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/1.037, allocations: 4 kB / 1.129 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/1.037, allocations: 285.6 kB / 1.129 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/1.037, allocations: 0 / 1.129 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.000767/1.038, allocations: 399.1 kB / 1.129 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/1.038, allocations: 126.8 kB / 1.129 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/1.039, allocations: 354.7 kB / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.039, allocations: 37.7 kB / 1.13 GB, free: 5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/1.039, allocations: 165.6 kB / 1.13 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/1.039, allocations: 27.61 kB / 1.13 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/1.039, allocations: 8 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.039, allocations: 350.8 kB / 1.13 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.039, allocations: 85.38 kB / 1.13 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/1.04, allocations: 478.8 kB / 1.131 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/1.04, allocations: 144.9 kB / 1.131 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.04, allocations: 0 / 1.131 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000584/1.041, allocations: 318.4 kB / 1.131 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.041, allocations: 13.48 kB / 1.131 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.041, allocations: 4.094 kB / 1.131 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.041, allocations: 11.98 kB / 1.131 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/1.041, allocations: 35.92 kB / 1.131 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/1.041, allocations: 7.938 kB / 1.131 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/1.042, allocations: 52.03 kB / 1.131 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/1.042, allocations: 16 kB / 1.131 GB, free: 3.164 MB / 0.7292 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.0001597/1.042, allocations: 139.4 kB / 1.132 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/1.042, allocations: 27.7 kB / 1.132 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/1.042, allocations: 35.2 kB / 1.132 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.042, allocations: 5.875 kB / 1.132 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.042, allocations: 0 / 1.132 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.042, allocations: 0 / 1.132 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/1.042, allocations: 293.3 kB / 1.132 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.042, allocations: 0 / 1.132 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/1.042, allocations: 11.98 kB / 1.132 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.042, allocations: 0 / 1.132 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.042, allocations: 8 kB / 1.132 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.042, allocations: 7.125 kB / 1.132 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.042, allocations: 0 / 1.132 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/1.043, allocations: 465.6 kB / 1.132 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.043, allocations: 116.7 kB / 1.132 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/1.043, allocations: 4 kB / 1.132 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/1.043, allocations: 7.984 kB / 1.132 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/1.043, allocations: 15.98 kB / 1.132 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/1.043, allocations: 16 kB / 1.133 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003076/1.044, allocations: 290.1 kB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.044, allocations: 0 / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004306/1.044, allocations: 83.94 kB / 1.133 GB, free: 1.559 MB / 0.7292 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.0009967/1.045, allocations: 1.166 MB / 1.134 GB, free: 360 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004082/1.046, allocations: 251.5 kB / 1.134 GB, free: 112 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.046, allocations: 0 / 1.134 GB, free: 112 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/1.046, allocations: 151.8 kB / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.046, allocations: 23.62 kB / 1.134 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/1.047, allocations: 0.5476 MB / 1.135 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.047, allocations: 0.7677 MB / 1.136 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001527/1.047, allocations: 54.23 kB / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.048, allocations: 83.41 kB / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/1.048, allocations: 0 / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/1.069, allocations: 7.226 MB / 1.143 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/1.07, allocations: 177.7 kB / 1.143 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/3.048, allocations: 0 / 1.143 GB, free: 7.27 MB / 0.7448 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)