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/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001216/0.001216, allocations: 185 kB / 377.1 MB, free: 1.527 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.682/1.682, allocations: 205.4 MB / 0.6367 GB, free: 8.559 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.0008549/0.0008546, allocations: 88.19 kB / 0.751 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7414/1.022, allocations: 140.5 MB / 1.126 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.023, allocations: 79.52 kB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/1.037, allocations: 5.454 MB / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.248e-06/1.037, allocations: 0 / 1.131 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.461e-05/1.037, allocations: 8.547 kB / 1.131 GB, free: 30.69 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008586/1.038, allocations: 0.5674 MB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.038, allocations: 8.031 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/1.038, allocations: 35.84 kB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/1.039, allocations: 261.6 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/1.039, allocations: 21.39 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/1.039, allocations: 40.41 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/1.039, allocations: 175.1 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.039, allocations: 4 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/1.039, allocations: 16.36 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/1.039, allocations: 4 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/1.04, allocations: 107.5 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/1.041, allocations: 0.6317 MB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/1.041, allocations: 201.5 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.041, allocations: 5.812 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/1.042, allocations: 258.8 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/1.042, allocations: 3.938 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0006907/1.042, allocations: 429.2 kB / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.042, allocations: 66.08 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/1.042, allocations: 169.6 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/1.043, allocations: 51.53 kB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/1.043, allocations: 134.5 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/1.043, allocations: 94.78 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/1.043, allocations: 12 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/1.043, allocations: 340 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/1.043, allocations: 154.8 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/1.043, allocations: 278.2 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/1.044, allocations: 243.6 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.044, allocations: 0.6562 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009179/1.045, allocations: 0.6049 MB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/1.045, allocations: 102.5 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.045, allocations: 4.703 kB / 1.136 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.045, allocations: 4.75 kB / 1.136 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/1.045, allocations: 41.55 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/1.045, allocations: 9.734 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/1.046, allocations: 136.7 kB / 1.136 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/1.046, allocations: 36.22 kB / 1.136 GB, free: 25.8 MB / 0.7292 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,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$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.0001793/1.046, allocations: 177.6 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.046, allocations: 25.27 kB / 1.136 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/1.046, allocations: 28.91 kB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.046, allocations: 4 kB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.046, allocations: 4.812 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.046, allocations: 2.156 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/1.047, allocations: 0.7175 MB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.047, allocations: 1.594 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/1.047, allocations: 21.81 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/1.047, allocations: 1.172 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.047, allocations: 12.08 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.047, allocations: 8 kB / 1.137 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.047, allocations: 4.469 kB / 1.137 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/1.048, allocations: 432.3 kB / 1.137 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/1.048, allocations: 105.7 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/1.048, allocations: 11.98 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/1.048, allocations: 11.33 kB / 1.138 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/1.048, allocations: 30.41 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/1.048, allocations: 19.33 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.323e-05/1.048, allocations: 127 kB / 1.138 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.41e-07/1.048, allocations: 0 / 1.138 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004359/1.048, allocations: 103.2 kB / 1.138 GB, free: 24.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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 (37): * Single equations (assignments): 24 * 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.0002282/1.049, allocations: 127.6 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007375/1.049, allocations: 0.5571 MB / 1.139 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.049, allocations: 0 / 1.139 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/1.05, allocations: 157.2 kB / 1.139 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.05, allocations: 32.7 kB / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/1.051, allocations: 471.8 kB / 1.139 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/1.051, allocations: 0.7465 MB / 1.14 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000116/1.051, allocations: 36.14 kB / 1.14 GB, free: 22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/1.051, allocations: 25.08 kB / 1.14 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.051, allocations: 0 / 1.14 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.009127/1.06, allocations: 3.572 MB / 1.143 GB, free: 19.98 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)