Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.815/1.815, allocations: 285.7 MB / 293.1 MB, free: 10.18 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.001267/0.001267, allocations: 176.9 kB / 361.4 MB, free: 6.84 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009032/0.0009034, allocations: 85.41 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.404e-05, allocations: 8 kB / 0.8518 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6916, allocations: 115.3 MB / 0.9644 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.8755, allocations: 140.8 MB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.8758, allocations: 80.84 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06198/0.9378, allocations: 22.94 MB / 1.124 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9379, allocations: 0 / 1.124 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.56e-05/0.938, allocations: 16 kB / 1.124 GB, free: 8.195 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001777/0.9398, allocations: 0.7707 MB / 1.125 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9399, allocations: 8.031 kB / 1.125 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.9402, allocations: 72.09 kB / 1.125 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.9417, allocations: 0.6983 MB / 1.126 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.9418, allocations: 7.938 kB / 1.126 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.9418, allocations: 8 kB / 1.126 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000203/0.942, allocations: 93.92 kB / 1.126 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.9423, allocations: 190.3 kB / 1.126 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.9423, allocations: 4 kB / 1.126 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.9424, allocations: 0 / 1.126 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.9424, allocations: 4 kB / 1.126 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.9439, allocations: 1.09 MB / 1.127 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.9443, allocations: 253.5 kB / 1.127 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.9444, allocations: 96.31 kB / 1.128 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.9445, allocations: 4 kB / 1.128 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.9448, allocations: 207.5 kB / 1.128 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.9448, allocations: 4 kB / 1.128 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0006317/0.9454, allocations: 329.8 kB / 1.128 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.9455, allocations: 162.1 kB / 1.128 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.9468, allocations: 0.9102 MB / 1.129 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.9468, allocations: 29.7 kB / 1.129 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.9471, allocations: 293.1 kB / 1.129 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.9471, allocations: 67.16 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.9472, allocations: 4 kB / 1.129 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9473, allocations: 330 kB / 1.13 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.9477, allocations: 233.5 kB / 1.13 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.9482, allocations: 321.4 kB / 1.13 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.949, allocations: 308.9 kB / 1.131 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9491, allocations: 0 / 1.131 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001359/0.9504, allocations: 0.7392 MB / 1.131 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9505, allocations: 9.234 kB / 1.131 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9505, allocations: 4 kB / 1.131 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.9505, allocations: 4 kB / 1.131 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.9509, allocations: 115.8 kB / 1.131 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.951, allocations: 11.94 kB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.9513, allocations: 39.78 kB / 1.132 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.9514, allocations: 39.98 kB / 1.132 GB, free: 480 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001435/0.9515, allocations: 127.8 kB / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9517, allocations: 79.06 kB / 1.132 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.9523, allocations: 362.2 kB / 1.132 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.9524, allocations: 7.938 kB / 1.132 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9524, allocations: 0 / 1.132 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9524, allocations: 8 kB / 1.132 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.9529, allocations: 461.7 kB / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9529, allocations: 0 / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.953, allocations: 27.98 kB / 1.133 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.953, allocations: 0 / 1.133 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.9531, allocations: 4 kB / 1.133 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.9531, allocations: 11.92 kB / 1.133 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9531, allocations: 0 / 1.133 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.9536, allocations: 441.3 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.9538, allocations: 180 kB / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.9539, allocations: 8 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.9541, allocations: 19.97 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.9542, allocations: 28.56 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.9542, allocations: 19 kB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007076/0.9549, allocations: 0.5694 MB / 1.134 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9549, allocations: 0 / 1.134 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004859/0.9554, allocations: 135.9 kB / 1.134 GB, free: 13.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009405/0.9564, allocations: 427.2 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.9569, allocations: 384.7 kB / 1.135 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.957, allocations: 0 / 1.135 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.9571, allocations: 107.8 kB / 1.135 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.958, allocations: 188 kB / 1.135 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.9594, allocations: 0.8928 MB / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.9599, allocations: 0.9404 MB / 1.137 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003256/0.9603, allocations: 120.7 kB / 1.137 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.9604, allocations: 59.41 kB / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.9604, allocations: 4 kB / 1.137 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.0138/0.9742, allocations: 7.02 MB / 1.144 GB, free: 3.984 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)