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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.105 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.001088/0.001088, allocations: 181 kB / 371.6 MB, free: 3.367 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.879/1.879, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001041/0.00104, allocations: 89.89 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.784e-05/4.793e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3395, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.163, allocations: 139 MB / 1.116 GB, free: 44.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.163, allocations: 75.91 kB / 1.116 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05621/1.219, allocations: 21.2 MB / 1.136 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.913e-06/1.219, allocations: 0 / 1.136 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.517e-05/1.219, allocations: 4 kB / 1.136 GB, free: 33.12 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.0008447/1.22, allocations: 493 kB / 1.137 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.22, allocations: 8.031 kB / 1.137 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/1.221, allocations: 37.91 kB / 1.137 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/1.221, allocations: 368 kB / 1.137 GB, free: 32.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.221, allocations: 16.05 kB / 1.137 GB, free: 32.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/1.221, allocations: 28.05 kB / 1.137 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/1.222, allocations: 188.9 kB / 1.137 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/1.222, allocations: 0 / 1.137 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/1.222, allocations: 0.7969 kB / 1.137 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.222, allocations: 5.594 kB / 1.137 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/1.222, allocations: 112.7 kB / 1.138 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/1.223, allocations: 399 kB / 1.138 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/1.223, allocations: 319.5 kB / 1.138 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.223, allocations: 124.2 kB / 1.138 GB, free: 31.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/1.223, allocations: 4.797 kB / 1.138 GB, free: 31.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/1.224, allocations: 279.9 kB / 1.139 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/1.224, allocations: 0 / 1.139 GB, free: 31.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006937/1.224, allocations: 404.2 kB / 1.139 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.225, allocations: 116 kB / 1.139 GB, free: 30.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/1.225, allocations: 357.5 kB / 1.139 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/1.225, allocations: 41.55 kB / 1.139 GB, free: 30.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.225, allocations: 166.3 kB / 1.14 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/1.225, allocations: 33.55 kB / 1.14 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.225, allocations: 7.688 kB / 1.14 GB, free: 30.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/1.225, allocations: 345.5 kB / 1.14 GB, free: 30.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.225, allocations: 88.03 kB / 1.14 GB, free: 29.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/1.226, allocations: 469.3 kB / 1.141 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/1.226, allocations: 141.4 kB / 1.141 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.226, allocations: 0 / 1.141 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004753/1.227, allocations: 328.8 kB / 1.141 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.227, allocations: 8 kB / 1.141 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.227, allocations: 5.859 kB / 1.141 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.227, allocations: 4 kB / 1.141 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.227, allocations: 39.94 kB / 1.141 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.227, allocations: 4.516 kB / 1.141 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/1.228, allocations: 54.72 kB / 1.141 GB, free: 29.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/1.228, allocations: 16.5 kB / 1.141 GB, free: 29.02 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.0001353/1.228, allocations: 142.4 kB / 1.141 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/1.228, allocations: 24.42 kB / 1.141 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/1.228, allocations: 33.48 kB / 1.141 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.228, allocations: 8 kB / 1.141 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.228, allocations: 1.031 kB / 1.141 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.228, allocations: 1.031 kB / 1.141 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/1.228, allocations: 295.5 kB / 1.142 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.228, allocations: 0.6562 kB / 1.142 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/1.228, allocations: 8.781 kB / 1.142 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.228, allocations: 0.9375 kB / 1.142 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.228, allocations: 5.828 kB / 1.142 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.228, allocations: 4 kB / 1.142 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.228, allocations: 0 / 1.142 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/1.229, allocations: 466.2 kB / 1.142 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/1.229, allocations: 117.7 kB / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/1.229, allocations: 0.6562 kB / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/1.229, allocations: 8.438 kB / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/1.229, allocations: 22.98 kB / 1.142 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.229, allocations: 17.41 kB / 1.142 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003125/1.229, allocations: 287.9 kB / 1.142 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.2e-07/1.23, allocations: 0.75 kB / 1.142 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004821/1.23, allocations: 92.3 kB / 1.143 GB, free: 27.76 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.00028/1.23, allocations: 144.8 kB / 1.143 GB, free: 27.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004099/1.231, allocations: 260.3 kB / 1.143 GB, free: 27.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.231, allocations: 0 / 1.143 GB, free: 27.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/1.231, allocations: 142.9 kB / 1.143 GB, free: 27.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/1.231, allocations: 21.64 kB / 1.143 GB, free: 27.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/1.232, allocations: 470.2 kB / 1.144 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/1.232, allocations: 0.7689 MB / 1.144 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001654/1.232, allocations: 59.27 kB / 1.144 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/1.232, allocations: 29.14 kB / 1.144 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.232, allocations: 0 / 1.144 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.009927/1.242, allocations: 4.591 MB / 1.149 GB, free: 23.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)