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.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.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.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001178/0.001178, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.782/1.782, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.001009/0.001009, allocations: 90.91 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.697e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.632, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.8008, allocations: 138.6 MB / 1.109 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.8011, allocations: 72.45 kB / 1.109 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.8111, allocations: 3.356 MB / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8112, allocations: 0 / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.8112, allocations: 0 / 1.112 GB, free: 8.23 MB / 0.7136 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.0005629/0.8118, allocations: 453.7 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8118, allocations: 12.03 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.8119, allocations: 19.89 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.812, allocations: 176.4 kB / 1.113 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.8121, allocations: 11.92 kB / 1.113 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.8121, allocations: 20 kB / 1.113 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.8122, allocations: 47.98 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.8124, allocations: 123.3 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8124, allocations: 0 / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.8125, allocations: 3.984 kB / 1.113 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8125, allocations: 4 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.8133, allocations: 0.5207 MB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.8135, allocations: 148.1 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.8136, allocations: 61.72 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.8136, allocations: 4.031 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.8139, allocations: 198.8 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.8139, allocations: 7.281 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003827/0.8143, allocations: 229.4 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.8144, allocations: 85.11 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.8145, allocations: 111.5 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.8145, allocations: 41.69 kB / 1.114 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.8146, allocations: 96.55 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.8147, allocations: 47.41 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.8147, allocations: 11.94 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8148, allocations: 330.8 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.815, allocations: 80.27 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.8151, allocations: 144.3 kB / 1.115 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.8155, allocations: 95.86 kB / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.8155, allocations: 0 / 1.115 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006242/0.8161, allocations: 287.5 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.8162, allocations: 75.61 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8162, allocations: 0 / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8162, allocations: 4 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.8163, allocations: 20.67 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.8163, allocations: 4 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.8168, allocations: 91.77 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.8168, allocations: 16 kB / 1.115 GB, free: 4.426 MB / 0.7136 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 () * 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.0001162/0.8169, allocations: 136.7 kB / 1.116 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.817, allocations: 15.81 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.817, allocations: 16.73 kB / 1.116 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.817, allocations: 7.938 kB / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.817, allocations: 2.062 kB / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.817, allocations: 0 / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.8176, allocations: 0.5607 MB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8176, allocations: 0 / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.8176, allocations: 12 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.8176, allocations: 3.938 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.8177, allocations: 7.984 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8177, allocations: 0 / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.8177, allocations: 6.688 kB / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.8181, allocations: 413.6 kB / 1.117 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.8181, allocations: 92.92 kB / 1.117 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.8182, allocations: 11.98 kB / 1.117 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.8183, allocations: 11.98 kB / 1.117 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.8184, allocations: 19.95 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.8184, allocations: 17.39 kB / 1.117 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.8185, allocations: 95.91 kB / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8185, allocations: 0 / 1.117 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003316/0.8188, allocations: 55.98 kB / 1.117 GB, free: 2.871 MB / 0.7136 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) * 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.0001766/0.819, allocations: 138.9 kB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.8194, allocations: 324.6 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8194, allocations: 0 / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.8196, allocations: 103.9 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.8198, allocations: 18.39 kB / 1.117 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.8202, allocations: 194 kB / 1.118 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.8205, allocations: 0.7134 MB / 1.118 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.155e-05/0.8206, allocations: 9.219 kB / 1.118 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.8206, allocations: 27.42 kB / 1.118 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8206, allocations: 0 / 1.118 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.004736/0.8254, allocations: 2.335 MB / 1.121 GB, free: 15.01 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)