Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.3 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.3 MB / 0.5484 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.86 kB / 0.6708 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2081, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002781/0.2109, allocations: 1.835 MB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2121, allocations: 0.8004 MB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.326e-05/0.2122, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2123, allocations: 11.86 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.2124, allocations: 23.78 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.2132, allocations: 364.5 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.2135, allocations: 395.1 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.2137, allocations: 63.89 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.2139, allocations: 151.6 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2141, allocations: 135.5 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.2142, allocations: 27.94 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2143, allocations: 35.98 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.2144, allocations: 47.88 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.2146, allocations: 159.4 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.215, allocations: 371.1 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.215, allocations: 0 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.215, allocations: 0 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.215, allocations: 0 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008989/0.2159, allocations: 0.6317 MB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.216, allocations: 8.031 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.2161, allocations: 32.66 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.2168, allocations: 302.2 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.2169, allocations: 28.69 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.217, allocations: 32.31 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.2173, allocations: 184.7 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2173, allocations: 3.938 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2173, allocations: 11.98 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2173, allocations: 4 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2175, allocations: 115.8 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/0.2184, allocations: 0.5936 MB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.2187, allocations: 202.4 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2189, allocations: 88.75 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.2189, allocations: 0 / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.2194, allocations: 250.9 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.2194, allocations: 0 / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0007161/0.2201, allocations: 415.6 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.2202, allocations: 59.41 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2203, allocations: 191.1 kB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.2204, allocations: 53.7 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2205, allocations: 132.7 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/0.2206, allocations: 86.97 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.2208, allocations: 126.1 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2209, allocations: 342.8 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.2212, allocations: 153 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.2216, allocations: 274 kB / 0.7911 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.222, allocations: 419.1 kB / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.222, allocations: 0 / 0.7915 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008441/0.2229, allocations: 0.5889 MB / 0.7921 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.2229, allocations: 97.09 kB / 0.7922 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.223, allocations: 4 kB / 0.7922 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.223, allocations: 8 kB / 0.7922 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2231, allocations: 35.92 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2232, allocations: 15.92 kB / 0.7923 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.2236, allocations: 103.6 kB / 0.7924 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.2237, allocations: 31.98 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.2239, allocations: 179.6 kB / 0.7926 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.2239, allocations: 27.7 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.224, allocations: 22.66 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.224, allocations: 4 kB / 0.7926 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.224, allocations: 4 kB / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.224, allocations: 3.984 kB / 0.7926 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.2248, allocations: 0.7089 MB / 0.7933 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2248, allocations: 0 / 0.7933 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.2249, allocations: 12.09 kB / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2249, allocations: 3.938 kB / 0.7933 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.2249, allocations: 11.98 kB / 0.7933 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2249, allocations: 11.98 kB / 0.7933 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2249, allocations: 0 / 0.7933 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.2254, allocations: 430.7 kB / 0.7938 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.2254, allocations: 92.86 kB / 0.7938 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.2255, allocations: 11.98 kB / 0.7939 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2256, allocations: 11.98 kB / 0.7939 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.2257, allocations: 23.97 kB / 0.7939 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2257, allocations: 23.98 kB / 0.7939 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.2258, allocations: 126.3 kB / 0.794 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2258, allocations: 0 / 0.794 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003825/0.2262, allocations: 99.83 kB / 0.7941 GB, free: 1.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.2263, allocations: 129.4 kB / 0.7942 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007022/0.227, allocations: 0.5453 MB / 0.7948 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2271, allocations: 0 / 0.7948 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.2272, allocations: 139.9 kB / 0.7949 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.2276, allocations: 36.91 kB / 0.795 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.2283, allocations: 493.7 kB / 0.7954 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2286, allocations: 0.7447 MB / 0.7961 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.2287, allocations: 34.97 kB / 0.7962 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.2288, allocations: 23.44 kB / 0.7962 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2288, allocations: 8 kB / 0.7962 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.006725/0.2355, allocations: 3.593 MB / 0.7997 GB, free: 11.99 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)