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.713/1.713, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.00129/0.00129, allocations: 184.8 kB / 366.7 MB, free: 1.695 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.2 MB / 0.626 GB, free: 7.148 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.0008323/0.0008324, allocations: 84 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.142e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8143, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/1.029, allocations: 138.3 MB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.029, allocations: 72.58 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06445/1.094, allocations: 21.1 MB / 1.129 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/1.094, allocations: 4 kB / 1.129 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.094, allocations: 4 kB / 1.129 GB, free: 6.691 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.000968/1.095, allocations: 0.4901 MB / 1.13 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.095, allocations: 12.03 kB / 1.13 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/1.095, allocations: 32.89 kB / 1.13 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/1.096, allocations: 372.2 kB / 1.13 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.096, allocations: 4 kB / 1.13 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/1.096, allocations: 16 kB / 1.13 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001989/1.096, allocations: 107.9 kB / 1.13 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/1.097, allocations: 188.1 kB / 1.13 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.097, allocations: 4 kB / 1.13 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.097, allocations: 3.984 kB / 1.13 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.097, allocations: 0 / 1.13 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/1.097, allocations: 351.6 kB / 1.131 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/1.098, allocations: 319.8 kB / 1.131 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/1.098, allocations: 118.6 kB / 1.131 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/1.098, allocations: 4 kB / 1.131 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/1.098, allocations: 278.8 kB / 1.131 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/1.098, allocations: 0 / 1.131 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007221/1.099, allocations: 408 kB / 1.132 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/1.099, allocations: 114.8 kB / 1.132 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/1.099, allocations: 341.1 kB / 1.132 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/1.099, allocations: 33.7 kB / 1.132 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/1.1, allocations: 161.5 kB / 1.132 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.1, allocations: 35.61 kB / 1.132 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.1, allocations: 2.906 kB / 1.132 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.1, allocations: 342.8 kB / 1.133 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/1.1, allocations: 79.97 kB / 1.133 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/1.1, allocations: 461.8 kB / 1.133 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/1.101, allocations: 163.8 kB / 1.133 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.101, allocations: 7.953 kB / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006389/1.102, allocations: 324.9 kB / 1.134 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.102, allocations: 5.656 kB / 1.134 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.102, allocations: 8 kB / 1.134 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.102, allocations: 11.98 kB / 1.134 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/1.102, allocations: 31.92 kB / 1.134 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.102, allocations: 4 kB / 1.134 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/1.102, allocations: 44.03 kB / 1.134 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.102, allocations: 12 kB / 1.134 GB, free: 1.496 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.0001462/1.103, allocations: 135.3 kB / 1.134 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005483/1.103, allocations: 393.1 kB / 1.134 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/1.103, allocations: 27.62 kB / 1.134 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/1.103, allocations: 34.02 kB / 1.134 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.103, allocations: 4 kB / 1.134 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.103, allocations: 0 / 1.134 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.103, allocations: 0 / 1.134 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/1.104, allocations: 267.2 kB / 1.135 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.104, allocations: 4 kB / 1.135 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/1.104, allocations: 4 kB / 1.135 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.104, allocations: 7.984 kB / 1.135 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.104, allocations: 4 kB / 1.135 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.104, allocations: 0 / 1.135 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.104, allocations: 0 / 1.135 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/1.104, allocations: 469.5 kB / 1.135 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.104, allocations: 108.8 kB / 1.135 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/1.104, allocations: 2.75 kB / 1.135 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/1.104, allocations: 13.67 kB / 1.135 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.105, allocations: 11.98 kB / 1.135 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.105, allocations: 19.98 kB / 1.135 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002584/1.105, allocations: 268.6 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.105, allocations: 4 kB / 1.135 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003946/1.105, allocations: 83.89 kB / 1.136 GB, free: 15.57 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.0009872/1.106, allocations: 1.157 MB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003755/1.107, allocations: 240 kB / 1.137 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.107, allocations: 0 / 1.137 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.107, allocations: 139.9 kB / 1.137 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/1.107, allocations: 25.64 kB / 1.137 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/1.108, allocations: 0.5248 MB / 1.138 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/1.108, allocations: 0.7718 MB / 1.138 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001522/1.109, allocations: 54.38 kB / 1.138 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.109, allocations: 83.41 kB / 1.138 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.109, allocations: 0 / 1.138 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/1.135, allocations: 6.499 MB / 1.145 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.135, allocations: 160.8 kB / 1.145 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.177, allocations: 3.625 kB / 1.145 GB, free: 5.957 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)