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.001382/0.001387, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001466/0.001466, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.8/1.8, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005968/0.0005968, allocations: 13.62 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3578, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003006/0.3608, allocations: 1.454 MB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.363, allocations: 0.7188 MB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3632, allocations: 7.938 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.3634, allocations: 15.86 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3635, allocations: 35.7 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3652, allocations: 347.4 kB / 0.7898 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.3657, allocations: 367.1 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.366, allocations: 52.2 kB / 0.7902 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3662, allocations: 131.7 kB / 0.7903 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.3665, allocations: 123.5 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.3666, allocations: 20 kB / 0.7905 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3667, allocations: 31.98 kB / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.3668, allocations: 51.81 kB / 0.7906 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.3671, allocations: 85.56 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.3675, allocations: 263.6 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3675, allocations: 0 / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3676, allocations: 0 / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3676, allocations: 0 / 0.7909 GB, free: 8.238 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.001085/0.3687, allocations: 0.5535 MB / 0.7914 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.3687, allocations: 16.03 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3689, allocations: 31.72 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.37, allocations: 310.2 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.3701, allocations: 28.31 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/0.3701, allocations: 31.98 kB / 0.7918 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.3705, allocations: 176.2 kB / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3706, allocations: 0 / 0.792 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.3706, allocations: 11.98 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3706, allocations: 4 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.3709, allocations: 120.1 kB / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3721, allocations: 0.5975 MB / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.3726, allocations: 202.4 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3728, allocations: 80.83 kB / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3728, allocations: 0 / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.3734, allocations: 254.8 kB / 0.7932 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.655e-06/0.3734, allocations: 0 / 0.7932 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001131/0.3745, allocations: 415.9 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.3746, allocations: 67.39 kB / 0.7937 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3749, allocations: 183 kB / 0.7939 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/0.375, allocations: 53.69 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3752, allocations: 128.8 kB / 0.794 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3753, allocations: 90.89 kB / 0.7941 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3754, allocations: 12 kB / 0.7941 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3756, allocations: 334.8 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.3761, allocations: 149 kB / 0.7946 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.3767, allocations: 271.2 kB / 0.7948 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.3772, allocations: 233 kB / 0.7951 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3773, allocations: 0 / 0.7951 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001491/0.3788, allocations: 0.589 MB / 0.7956 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.3789, allocations: 97.09 kB / 0.7957 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3789, allocations: 4 kB / 0.7957 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.3789, allocations: 8 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.3792, allocations: 43.84 kB / 0.7958 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.3792, allocations: 15.89 kB / 0.7958 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.3801, allocations: 136 kB / 0.7959 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3802, allocations: 31.98 kB / 0.796 GB, free: 2.691 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 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.3805, allocations: 171.8 kB / 0.7961 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.3806, allocations: 27.72 kB / 0.7962 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.3807, allocations: 26.59 kB / 0.7962 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3807, allocations: 4 kB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3807, allocations: 4 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3807, allocations: 7.938 kB / 0.7962 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.3821, allocations: 0.7012 MB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3821, allocations: 0 / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.3822, allocations: 19.98 kB / 0.7969 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.3823, allocations: 0 / 0.7969 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.3823, allocations: 11.98 kB / 0.7969 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.3823, allocations: 7.953 kB / 0.7969 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3823, allocations: 0 / 0.7969 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.383, allocations: 422.8 kB / 0.7973 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3831, allocations: 100.8 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.3832, allocations: 11.98 kB / 0.7974 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3834, allocations: 15.98 kB / 0.7974 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.3834, allocations: 27.92 kB / 0.7975 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.3835, allocations: 15.98 kB / 0.7975 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001211/0.3836, allocations: 122.3 kB / 0.7976 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3836, allocations: 4 kB / 0.7976 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006351/0.3843, allocations: 91.98 kB / 0.7977 GB, free: 0.8203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.3845, allocations: 125.4 kB / 0.7978 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.3855, allocations: 0.5373 MB / 0.7983 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3856, allocations: 0 / 0.7983 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.3859, allocations: 135.9 kB / 0.7985 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.3865, allocations: 49.02 kB / 0.7985 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3876, allocations: 468.5 kB / 0.799 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.388, allocations: 0.7487 MB / 0.7997 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.3882, allocations: 34.97 kB / 0.7997 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.3883, allocations: 23.44 kB / 0.7998 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.3883, allocations: 0 / 0.7998 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.01092/0.3993, allocations: 3.442 MB / 0.8031 GB, free: 11.2 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: