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.001416/0.001416, allocations: 109.3 kB / 16.36 MB, free: 6.426 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.001659/0.001659, allocations: 190.6 kB / 17.3 MB, free: 5.805 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.717/1.717, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001404/0.001404, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1973, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002744/0.2, allocations: 1.778 MB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2012, allocations: 0.7575 MB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.2013, allocations: 4 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2014, allocations: 19.73 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.2015, allocations: 39.62 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.2024, allocations: 399 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3176/0.5199, allocations: 446.4 kB / 0.7881 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.5201, allocations: 59.55 kB / 0.7882 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.5203, allocations: 167.2 kB / 0.7884 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.5205, allocations: 161.7 kB / 0.7885 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.5206, allocations: 40.31 kB / 0.7886 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.5207, allocations: 56.2 kB / 0.7886 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.5208, allocations: 58.25 kB / 0.7887 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.5209, allocations: 168.2 kB / 0.7888 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.5213, allocations: 390.5 kB / 0.7892 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5213, allocations: 0 / 0.7892 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5213, allocations: 3.5 kB / 0.7892 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.5213, allocations: 0 / 0.7892 GB, free: 47.07 MB / 0.6544 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.0006551/0.522, allocations: 0.6205 MB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.522, allocations: 11.09 kB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.5221, allocations: 35.19 kB / 0.7898 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.5227, allocations: 301.9 kB / 0.7901 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.5228, allocations: 25.7 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.5228, allocations: 41.28 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.5231, allocations: 172.8 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5231, allocations: 8.938 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.5231, allocations: 12.03 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.5231, allocations: 5.031 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.5233, allocations: 108.5 kB / 0.7905 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.5241, allocations: 0.5877 MB / 0.7911 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.5243, allocations: 196.9 kB / 0.7913 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.5244, allocations: 85.94 kB / 0.7913 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.5245, allocations: 4.266 kB / 0.7913 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.5248, allocations: 257.3 kB / 0.7916 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.5248, allocations: 0 / 0.7916 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.000594/0.5254, allocations: 414.1 kB / 0.792 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.5255, allocations: 61.88 kB / 0.792 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5256, allocations: 195.2 kB / 0.7922 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.5256, allocations: 46.36 kB / 0.7923 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.5257, allocations: 134.4 kB / 0.7924 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.5258, allocations: 86.56 kB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5259, allocations: 128.2 kB / 0.7926 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.526, allocations: 337.9 kB / 0.7929 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.5262, allocations: 156.2 kB / 0.7931 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.5265, allocations: 270.4 kB / 0.7933 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.5269, allocations: 424 kB / 0.7937 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5269, allocations: 2.625 kB / 0.7937 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007597/0.5277, allocations: 0.5873 MB / 0.7943 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.5277, allocations: 102.5 kB / 0.7944 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5278, allocations: 6.328 kB / 0.7944 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5278, allocations: 7.781 kB / 0.7944 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5279, allocations: 40.98 kB / 0.7945 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5279, allocations: 9.656 kB / 0.7945 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.5284, allocations: 95.27 kB / 0.7946 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.5285, allocations: 34.92 kB / 0.7946 GB, free: 44.61 MB / 0.6544 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.0001486/0.5286, allocations: 184.9 kB / 0.7948 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.5287, allocations: 27.19 kB / 0.7948 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.5287, allocations: 29.09 kB / 0.7948 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5287, allocations: 4.438 kB / 0.7948 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5287, allocations: 0.5938 kB / 0.7948 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5288, allocations: 3.281 kB / 0.7948 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.5294, allocations: 0.7187 MB / 0.7955 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5295, allocations: 0 / 0.7955 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.5295, allocations: 14.12 kB / 0.7955 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5295, allocations: 0 / 0.7955 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.5296, allocations: 14.55 kB / 0.7956 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5296, allocations: 3.656 kB / 0.7956 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5296, allocations: 0 / 0.7956 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.53, allocations: 426.8 kB / 0.796 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.53, allocations: 99.55 kB / 0.7961 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.53, allocations: 13.75 kB / 0.7961 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5301, allocations: 9.562 kB / 0.7961 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.5302, allocations: 30.2 kB / 0.7961 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.5302, allocations: 17.2 kB / 0.7961 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.5303, allocations: 120.5 kB / 0.7963 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5303, allocations: 0 / 0.7963 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003712/0.5307, allocations: 104 kB / 0.7964 GB, free: 43.79 MB / 0.6544 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.0001209/0.5308, allocations: 129.7 kB / 0.7965 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005896/0.5314, allocations: 0.5418 MB / 0.797 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5314, allocations: 0 / 0.797 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.5316, allocations: 141.6 kB / 0.7971 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.5319, allocations: 43.55 kB / 0.7972 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.5325, allocations: 410.3 kB / 0.7976 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.5326, allocations: 0.7466 MB / 0.7983 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.5327, allocations: 36.56 kB / 0.7983 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.5328, allocations: 29.19 kB / 0.7984 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.5328, allocations: 0 / 0.7984 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.007566/0.5403, allocations: 3.8 MB / 0.8021 GB, free: 42.41 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)