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.001471/0.001471, allocations: 105.4 kB / 15.7 MB, free: 24 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.001127/0.001127, allocations: 193.2 kB / 16.64 MB, free: 6.594 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.718/1.718, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.936/1.936, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001464/0.001464, allocations: 75.05 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2935, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00222/0.2958, allocations: 0.7679 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2974, allocations: 1.25 MB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.2975, allocations: 3.938 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.2975, allocations: 7.875 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.2976, allocations: 23.84 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.2983, allocations: 245.8 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.2986, allocations: 263.5 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2988, allocations: 20.22 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2989, allocations: 99.8 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.2991, allocations: 99.67 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2991, allocations: 24 kB / 0.7869 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.2992, allocations: 39.97 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.2993, allocations: 31.91 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2994, allocations: 91.73 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.2997, allocations: 219.4 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2997, allocations: 0 / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2997, allocations: 0 / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2997, allocations: 4 kB / 0.7872 GB, free: 9.574 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.0007431/0.3005, allocations: 0.4969 MB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3005, allocations: 8.031 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.3006, allocations: 16.84 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.3012, allocations: 252.3 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3012, allocations: 16.36 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.3013, allocations: 24.36 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3015, allocations: 131.9 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3015, allocations: 3.938 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3016, allocations: 3.984 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3016, allocations: 4 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3017, allocations: 63.89 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.3025, allocations: 0.5134 MB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3028, allocations: 157.2 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.3029, allocations: 61.7 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.303, allocations: 4 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.3033, allocations: 216.9 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.3033, allocations: 0 / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005549/0.3039, allocations: 312.1 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.304, allocations: 96.97 kB / 0.7895 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3041, allocations: 122.1 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.3041, allocations: 45.69 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.3042, allocations: 92.61 kB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.3043, allocations: 55.34 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3044, allocations: 81.67 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3045, allocations: 322.8 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3047, allocations: 88.23 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.3049, allocations: 148.2 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.3052, allocations: 250.6 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3052, allocations: 0 / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005777/0.3058, allocations: 364.6 kB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.3059, allocations: 67.39 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3059, allocations: 4 kB / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3059, allocations: 0 / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.306, allocations: 23.92 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.306, allocations: 3.938 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.3064, allocations: 71.91 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.3064, allocations: 23.98 kB / 0.7912 GB, free: 5.137 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.0001422/0.3066, allocations: 144.7 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3066, allocations: 12.28 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.3067, allocations: 16.5 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3067, allocations: 4 kB / 0.7914 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3067, allocations: 3.938 kB / 0.7914 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3067, allocations: 7.922 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.3073, allocations: 0.6109 MB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3073, allocations: 0 / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.3074, allocations: 8 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3074, allocations: 7.938 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3074, allocations: 7.984 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3074, allocations: 0 / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3074, allocations: 4 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.3078, allocations: 425.2 kB / 0.7924 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3079, allocations: 88.95 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3079, allocations: 15.92 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3081, allocations: 11.98 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.3082, allocations: 19.97 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.3082, allocations: 23.98 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.3083, allocations: 91.27 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3083, allocations: 0 / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003467/0.3086, allocations: 59.98 kB / 0.7927 GB, free: 3.492 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.0002457/0.3089, allocations: 115.2 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.3094, allocations: 351 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3094, allocations: 8.062 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.3096, allocations: 119.1 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3101, allocations: 27.91 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3106, allocations: 276.5 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.3109, allocations: 0.7086 MB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.311, allocations: 21.48 kB / 0.7943 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.311, allocations: 19.42 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.311, allocations: 4 kB / 0.7943 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.005927/0.317, allocations: 2.674 MB / 0.7969 GB, free: 15.11 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)