Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001842/0.001843, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.773 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.886/1.886, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.00144/0.00144, allocations: 62.45 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2998, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002406/0.3023, allocations: 0.8124 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3041, allocations: 1.274 MB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.3041, allocations: 4 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.3042, allocations: 7.938 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.3043, allocations: 15.84 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.3049, allocations: 229.7 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3052, allocations: 227.5 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3053, allocations: 16.23 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3054, allocations: 91.8 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3055, allocations: 83.75 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.3056, allocations: 12 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.3057, allocations: 27.98 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.3057, allocations: 31.89 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3059, allocations: 83.73 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3061, allocations: 211.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3061, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3061, allocations: 4 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3062, allocations: 0 / 0.7857 GB, free: 10.86 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008096/0.307, allocations: 498.5 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.307, allocations: 12.03 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.3071, allocations: 20.84 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.3077, allocations: 260.2 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3078, allocations: 8.375 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.3078, allocations: 24.36 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3081, allocations: 135.2 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3081, allocations: 3.938 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3082, allocations: 3.984 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3082, allocations: 4 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3083, allocations: 59.89 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.3092, allocations: 0.5201 MB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.3094, allocations: 165.1 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3096, allocations: 61.69 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.3096, allocations: 0 / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.31, allocations: 214.6 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.31, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005926/0.3106, allocations: 313.2 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.3107, allocations: 93.03 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3108, allocations: 130.1 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.3109, allocations: 41.7 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.311, allocations: 100.6 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.311, allocations: 51.34 kB / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3112, allocations: 73.69 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3114, allocations: 326.8 kB / 0.7887 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3115, allocations: 88.22 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.3118, allocations: 152.2 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3121, allocations: 255 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3121, allocations: 4 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000574/0.3127, allocations: 348.7 kB / 0.7895 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.3128, allocations: 63.41 kB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3128, allocations: 0 / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3128, allocations: 4 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3129, allocations: 20.14 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3129, allocations: 11.94 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.3133, allocations: 71.67 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.3133, allocations: 20 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001647/0.3135, allocations: 140.7 kB / 0.7898 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3135, allocations: 19.91 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.3136, allocations: 16.42 kB / 0.7899 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3136, allocations: 4 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3136, allocations: 3.938 kB / 0.7899 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3136, allocations: 0 / 0.7899 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.3143, allocations: 0.6109 MB / 0.7905 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3143, allocations: 4 kB / 0.7905 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.3143, allocations: 15.98 kB / 0.7905 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3143, allocations: 3.938 kB / 0.7905 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3144, allocations: 7.984 kB / 0.7905 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3144, allocations: 4 kB / 0.7905 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3144, allocations: 0 / 0.7905 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.3148, allocations: 426.4 kB / 0.7909 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3149, allocations: 88.95 kB / 0.791 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.3149, allocations: 15.94 kB / 0.791 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3151, allocations: 7.984 kB / 0.791 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.3152, allocations: 23.95 kB / 0.7911 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3152, allocations: 20.08 kB / 0.7911 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.3152, allocations: 91.22 kB / 0.7912 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3153, allocations: 0 / 0.7912 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003436/0.3156, allocations: 59.98 kB / 0.7912 GB, free: 4.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000248/0.3159, allocations: 122.9 kB / 0.7913 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.3164, allocations: 343.5 kB / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3164, allocations: 0 / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3166, allocations: 119.2 kB / 0.7918 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3171, allocations: 32.34 kB / 0.7918 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.3177, allocations: 309.7 kB / 0.7921 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3182, allocations: 0.7086 MB / 0.7928 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.3182, allocations: 13.55 kB / 0.7928 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.3183, allocations: 15.44 kB / 0.7928 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.3183, allocations: 8 kB / 0.7928 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.005839/0.3241, allocations: 2.483 MB / 0.7953 GB, free: 0.5703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)