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.001301/0.0013, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.78/1.78, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001724/0.001724, allocations: 76.47 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3914, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003351/0.3949, allocations: 0.7596 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3973, allocations: 1.258 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3975, allocations: 8 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.3976, allocations: 7.875 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3978, allocations: 11.86 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3989, allocations: 237.4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.3994, allocations: 267.5 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3996, allocations: 20.23 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.3999, allocations: 99.86 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.4001, allocations: 87.69 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.4002, allocations: 24 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.4005, allocations: 35.98 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.4006, allocations: 31.95 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.4008, allocations: 91.73 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.4012, allocations: 227.6 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.4012, allocations: 4 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4012, allocations: 0 / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4012, allocations: 0 / 0.7864 GB, free: 10.32 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.001097/0.4023, allocations: 0.4907 MB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.044e-05/0.4024, allocations: 12.03 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.4026, allocations: 16.84 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/0.4033, allocations: 248.4 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4034, allocations: 12.38 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.4034, allocations: 20.36 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.4038, allocations: 131.8 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4038, allocations: 3.938 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4038, allocations: 3.984 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.4039, allocations: 7.938 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.404, allocations: 55.95 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4051, allocations: 0.5201 MB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4055, allocations: 166.2 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4056, allocations: 69.67 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4056, allocations: 0 / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/0.4062, allocations: 208.8 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.4062, allocations: 3.938 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.000713/0.407, allocations: 312.9 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.4071, allocations: 93.05 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4072, allocations: 122.1 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4073, allocations: 41.7 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4074, allocations: 104.7 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.4075, allocations: 55.34 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.4076, allocations: 77.62 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4078, allocations: 322.8 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.408, allocations: 96.22 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.4083, allocations: 156.2 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.4086, allocations: 243 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4086, allocations: 4 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006561/0.4093, allocations: 351.6 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/0.4094, allocations: 67.41 kB / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4094, allocations: 0 / 0.7903 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4094, allocations: 4 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.4096, allocations: 24.14 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.4096, allocations: 7.938 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.41, allocations: 67.69 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.41, allocations: 23.98 kB / 0.7904 GB, free: 5.887 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.0001783/0.4102, allocations: 144 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.4103, allocations: 11.91 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.4103, allocations: 20.48 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4103, allocations: 7.938 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.4103, allocations: 3.938 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4104, allocations: 0 / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008664/0.4112, allocations: 0.6032 MB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4112, allocations: 4 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.4113, allocations: 11.92 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4113, allocations: 7.938 kB / 0.7912 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.4113, allocations: 11.98 kB / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4113, allocations: 0 / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.4114, allocations: 0 / 0.7912 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.4119, allocations: 417.6 kB / 0.7916 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.412, allocations: 96.94 kB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.412, allocations: 11.94 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4122, allocations: 15.98 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4123, allocations: 23.89 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.4123, allocations: 12 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.4124, allocations: 99.27 kB / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4124, allocations: 0 / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003937/0.4128, allocations: 55.98 kB / 0.7919 GB, free: 4.246 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.0002795/0.4131, allocations: 123 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.4137, allocations: 358.5 kB / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4137, allocations: 0 / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.4139, allocations: 123.6 kB / 0.7925 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.4143, allocations: 32.34 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.415, allocations: 280.2 kB / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4154, allocations: 0.7086 MB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.532e-05/0.4155, allocations: 13.55 kB / 0.7935 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.4155, allocations: 23.44 kB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.4155, allocations: 4 kB / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.006276/0.4218, allocations: 2.674 MB / 0.7962 GB, free: 15.86 MB / 0.6231 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)