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.001093/0.001093, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001065/0.001065, allocations: 185.5 kB / 17.3 MB, free: 5.613 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001412/0.001413, allocations: 71.89 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00321/0.2423, allocations: 1.777 MB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2436, allocations: 0.7653 MB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2438, allocations: 4 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.2439, allocations: 19.73 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.244, allocations: 35.64 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.245, allocations: 399.2 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4353/0.6804, allocations: 448.5 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.6807, allocations: 63.19 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.6809, allocations: 166.6 kB / 0.7884 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.6811, allocations: 163.1 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.6812, allocations: 37.75 kB / 0.7886 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.6813, allocations: 55.61 kB / 0.7886 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.6814, allocations: 55.02 kB / 0.7887 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.6816, allocations: 167.6 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.682, allocations: 390.7 kB / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.682, allocations: 0 / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.682, allocations: 5.406 kB / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.682, allocations: 2.906 kB / 0.7892 GB, free: 46.32 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.0007838/0.6828, allocations: 0.617 MB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6829, allocations: 10.5 kB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.683, allocations: 38 kB / 0.7899 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.6837, allocations: 302.6 kB / 0.7901 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.6838, allocations: 28.67 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.6839, allocations: 36.11 kB / 0.7902 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.6841, allocations: 179.4 kB / 0.7904 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6842, allocations: 4.594 kB / 0.7904 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.6842, allocations: 11.39 kB / 0.7904 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.6842, allocations: 5.25 kB / 0.7904 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.6844, allocations: 110.2 kB / 0.7905 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.6852, allocations: 0.589 MB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.6855, allocations: 198.5 kB / 0.7913 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6856, allocations: 87.36 kB / 0.7914 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6856, allocations: 6.516 kB / 0.7914 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.686, allocations: 262.2 kB / 0.7916 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.686, allocations: 0 / 0.7916 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.000635/0.6866, allocations: 409.3 kB / 0.792 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6867, allocations: 65.73 kB / 0.7921 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6868, allocations: 198.4 kB / 0.7923 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.6869, allocations: 46.14 kB / 0.7923 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.687, allocations: 135 kB / 0.7924 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.687, allocations: 80.88 kB / 0.7925 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.6872, allocations: 129.8 kB / 0.7926 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.6873, allocations: 337.9 kB / 0.793 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.6875, allocations: 150.5 kB / 0.7931 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.6878, allocations: 268.9 kB / 0.7934 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.6882, allocations: 422.8 kB / 0.7938 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6882, allocations: 3.469 kB / 0.7938 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007654/0.689, allocations: 0.5944 MB / 0.7943 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.689, allocations: 94.86 kB / 0.7944 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6891, allocations: 3.438 kB / 0.7944 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6891, allocations: 6.688 kB / 0.7944 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.6892, allocations: 45.33 kB / 0.7945 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.6893, allocations: 13.8 kB / 0.7945 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.6898, allocations: 99.08 kB / 0.7946 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.6898, allocations: 30.3 kB / 0.7946 GB, free: 43.85 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.0001542/0.69, allocations: 186.5 kB / 0.7948 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.69, allocations: 25.36 kB / 0.7948 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.6901, allocations: 24.31 kB / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6901, allocations: 7.469 kB / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6901, allocations: 0 / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.6901, allocations: 6.672 kB / 0.7949 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.6909, allocations: 0.7181 MB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6909, allocations: 0 / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.6909, allocations: 10.53 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6909, allocations: 3.5 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.691, allocations: 13.36 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.691, allocations: 0 / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.691, allocations: 4.094 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.6914, allocations: 433.4 kB / 0.796 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.6914, allocations: 92.11 kB / 0.7961 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.6915, allocations: 15.28 kB / 0.7961 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.6916, allocations: 10.28 kB / 0.7961 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.6916, allocations: 23.84 kB / 0.7961 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.6917, allocations: 20.11 kB / 0.7962 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.892e-05/0.6917, allocations: 123.4 kB / 0.7963 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6917, allocations: 7.469 kB / 0.7963 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003818/0.6921, allocations: 100.5 kB / 0.7964 GB, free: 43.04 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.0001466/0.6923, allocations: 119.5 kB / 0.7965 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.6929, allocations: 0.5408 MB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.693, allocations: 4.25 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6931, allocations: 138.6 kB / 0.7972 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.6935, allocations: 41.8 kB / 0.7972 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.6942, allocations: 445.6 kB / 0.7976 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.6944, allocations: 0.7437 MB / 0.7983 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.6944, allocations: 26.62 kB / 0.7984 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6944, allocations: 3.938 kB / 0.7984 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.007583/0.702, allocations: 3.695 MB / 0.802 GB, free: 41.57 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)