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.001306/0.001306, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001434/0.001434, allocations: 184 kB / 17.22 MB, free: 5.934 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.363/1.363, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.772/1.772, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.002378/0.002379, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.262, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003063/0.2651, allocations: 1.785 MB / 0.7858 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2662, allocations: 0.7614 MB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2664, allocations: 8 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.2665, allocations: 19.73 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.2666, allocations: 39.64 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.2675, allocations: 388.8 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000416/0.2679, allocations: 451.1 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2681, allocations: 68.25 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2683, allocations: 167.6 kB / 0.7877 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2685, allocations: 163.5 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.2685, allocations: 36 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4604/0.7289, allocations: 46.61 kB / 0.7879 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.7291, allocations: 56.14 kB / 0.7879 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.7294, allocations: 167.2 kB / 0.7881 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.7299, allocations: 393.4 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7299, allocations: 0 / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7299, allocations: 3.469 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.7299, allocations: 0 / 0.7885 GB, free: 46.39 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.0008171/0.7308, allocations: 0.6221 MB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7308, allocations: 7.906 kB / 0.7891 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.7309, allocations: 35.86 kB / 0.7891 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.7316, allocations: 304.6 kB / 0.7894 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.7316, allocations: 25.3 kB / 0.7894 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.7317, allocations: 39.83 kB / 0.7895 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.732, allocations: 176.5 kB / 0.7897 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.732, allocations: 3.938 kB / 0.7897 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7321, allocations: 9.109 kB / 0.7897 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.7321, allocations: 7.219 kB / 0.7897 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.7323, allocations: 108.5 kB / 0.7898 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.7332, allocations: 0.5894 MB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.7335, allocations: 207.7 kB / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7336, allocations: 84.94 kB / 0.7906 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.7336, allocations: 3.047 kB / 0.7906 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.734, allocations: 248.9 kB / 0.7909 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.734, allocations: 3.562 kB / 0.7909 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36): time 0.0006493/0.7346, allocations: 415.1 kB / 0.7913 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7347, allocations: 64.23 kB / 0.7913 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.7348, allocations: 189.1 kB / 0.7915 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.7349, allocations: 48.02 kB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.735, allocations: 136 kB / 0.7917 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.735, allocations: 86.12 kB / 0.7918 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.7352, allocations: 128.6 kB / 0.7919 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.7353, allocations: 345.9 kB / 0.7922 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.7355, allocations: 147.5 kB / 0.7924 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.7358, allocations: 267.4 kB / 0.7926 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.7362, allocations: 421 kB / 0.793 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7362, allocations: 3.438 kB / 0.793 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000743/0.737, allocations: 0.589 MB / 0.7936 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.737, allocations: 101.2 kB / 0.7937 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7371, allocations: 7.906 kB / 0.7937 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.7371, allocations: 7 kB / 0.7937 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7372, allocations: 43.94 kB / 0.7938 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7372, allocations: 5.062 kB / 0.7938 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.7377, allocations: 110.2 kB / 0.7939 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.7377, allocations: 31.75 kB / 0.7939 GB, free: 43.93 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.0001426/0.7379, allocations: 183.5 kB / 0.7941 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.7379, allocations: 28.62 kB / 0.7941 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.738, allocations: 25.17 kB / 0.7941 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.738, allocations: 3.5 kB / 0.7941 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.738, allocations: 3.906 kB / 0.7941 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.738, allocations: 0 / 0.7941 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.7387, allocations: 0.7036 MB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7388, allocations: 3.5 kB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.7388, allocations: 13.28 kB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7388, allocations: 3.406 kB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.7389, allocations: 13.05 kB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7389, allocations: 0.75 kB / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7389, allocations: 0 / 0.7948 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.7393, allocations: 432.1 kB / 0.7953 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.7394, allocations: 101.3 kB / 0.7954 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.7394, allocations: 15.75 kB / 0.7954 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.7395, allocations: 10.06 kB / 0.7954 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.7396, allocations: 23.61 kB / 0.7954 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.7396, allocations: 19.56 kB / 0.7954 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.7397, allocations: 126.1 kB / 0.7955 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7397, allocations: 3.312 kB / 0.7955 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003564/0.7401, allocations: 101.5 kB / 0.7956 GB, free: 43.13 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.0001547/0.7402, allocations: 129.7 kB / 0.7958 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006001/0.7408, allocations: 0.5409 MB / 0.7963 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7408, allocations: 0 / 0.7963 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.741, allocations: 140.3 kB / 0.7964 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.7414, allocations: 42.5 kB / 0.7965 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.742, allocations: 417.2 kB / 0.7969 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.7422, allocations: 0.7433 MB / 0.7976 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.506e-05/0.7423, allocations: 41.14 kB / 0.7976 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.7423, allocations: 22.72 kB / 0.7977 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7423, allocations: 0 / 0.7977 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.01044/0.7528, allocations: 3.801 MB / 0.8014 GB, free: 41.75 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)