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/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 293 MB / 309 MB, free: 4.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 172.6 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 0.6383 GB, free: 9.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007407/0.0007408, allocations: 98.3 kB / 0.7527 GB, free: 62.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004274, allocations: 19.98 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 116.4 MB / 0.9905 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.757/1.017, allocations: 139.4 MB / 1.127 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.017, allocations: 70.78 kB / 1.127 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008889/1.026, allocations: 3.388 MB / 1.13 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.475e-06/1.026, allocations: 0 / 1.13 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.914e-06/1.026, allocations: 4 kB / 1.13 GB, free: 32.21 MB / 0.7292 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.0005359/1.026, allocations: 479.2 kB / 1.13 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.026, allocations: 8.031 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/1.027, allocations: 20.84 kB / 1.13 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/1.027, allocations: 177.2 kB / 1.131 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/1.027, allocations: 12.94 kB / 1.131 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/1.027, allocations: 19.66 kB / 1.131 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/1.027, allocations: 135.6 kB / 1.131 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.027, allocations: 192 / 1.131 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/1.027, allocations: 15.22 kB / 1.131 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.027, allocations: 0 / 1.131 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/1.027, allocations: 58.03 kB / 1.131 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/1.028, allocations: 0.5567 MB / 1.131 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/1.028, allocations: 166.1 kB / 1.132 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/1.028, allocations: 69.22 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/1.028, allocations: 3.938 kB / 1.132 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/1.029, allocations: 207.8 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/1.029, allocations: 0 / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0005108/1.029, allocations: 323.7 kB / 1.132 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/1.029, allocations: 81.11 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/1.029, allocations: 131.5 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.029, allocations: 37.7 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/1.029, allocations: 103.9 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/1.029, allocations: 51.48 kB / 1.133 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.029, allocations: 8 kB / 1.133 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.029, allocations: 330.2 kB / 1.133 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.03, allocations: 89.45 kB / 1.133 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.03, allocations: 161 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.03, allocations: 254.5 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.03, allocations: 0 / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004917/1.031, allocations: 374.4 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/1.031, allocations: 70.64 kB / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.031, allocations: 0 / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.031, allocations: 4.625 kB / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/1.031, allocations: 23.27 kB / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.031, allocations: 11.88 kB / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/1.031, allocations: 87.81 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/1.031, allocations: 20.78 kB / 1.134 GB, free: 28.25 MB / 0.7292 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 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.031, allocations: 151.1 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/1.031, allocations: 16.38 kB / 1.134 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/1.031, allocations: 13.44 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.031, allocations: 4 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.031, allocations: 7.875 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.031, allocations: 7.281 kB / 1.134 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/1.032, allocations: 0.6103 MB / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.032, allocations: 0 / 1.135 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/1.032, allocations: 11.27 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.032, allocations: 4.516 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/1.032, allocations: 11.88 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.032, allocations: 4 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.032, allocations: 0 / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/1.032, allocations: 417 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/1.032, allocations: 88.92 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/1.032, allocations: 11.78 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/1.032, allocations: 23.48 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.033, allocations: 31.62 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/1.033, allocations: 15.8 kB / 1.135 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.97e-05/1.033, allocations: 101.8 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003808/1.033, allocations: 63.12 kB / 1.135 GB, free: 26.71 MB / 0.7292 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 (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.0001894/1.033, allocations: 127.1 kB / 1.136 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004277/1.034, allocations: 353.2 kB / 1.136 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.034, allocations: 1.375 kB / 1.136 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/1.034, allocations: 124.8 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/1.034, allocations: 33.98 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/1.035, allocations: 299.5 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/1.035, allocations: 0.7027 MB / 1.137 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.616e-05/1.035, allocations: 12.72 kB / 1.137 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/1.035, allocations: 26.67 kB / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.035, allocations: 0 / 1.137 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.006238/1.041, allocations: 2.515 MB / 1.14 GB, free: 23.69 MB / 0.7292 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)