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.547/1.547, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001007/0.001007, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.416/1.416, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.000853/0.0008528, allocations: 81.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.239e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.63, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.8211, allocations: 139.8 MB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.8215, allocations: 79.39 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.8372, allocations: 5.422 MB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8372, allocations: 0 / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.8373, allocations: 4 kB / 1.115 GB, free: 5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006109/0.8379, allocations: 0.5404 MB / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8379, allocations: 8.031 kB / 1.116 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.838, allocations: 35.7 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.8384, allocations: 261 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8384, allocations: 12 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.8385, allocations: 27.98 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000193/0.8387, allocations: 100.6 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.8389, allocations: 151.8 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.8389, allocations: 2.25 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.8389, allocations: 7.984 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.839, allocations: 4 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.8398, allocations: 0.5934 MB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.8401, allocations: 186.5 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.8402, allocations: 69.08 kB / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.8402, allocations: 8 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.8405, allocations: 242.7 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.8405, allocations: 0 / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0005133/0.8411, allocations: 305.2 kB / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8411, allocations: 71.34 kB / 1.118 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8413, allocations: 158.7 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.8413, allocations: 41.7 kB / 1.118 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.8414, allocations: 137 kB / 1.118 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.8415, allocations: 79.05 kB / 1.118 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.8415, allocations: 4 kB / 1.118 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8416, allocations: 338.8 kB / 1.118 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.8419, allocations: 133.1 kB / 1.119 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.8422, allocations: 254.1 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.8427, allocations: 170.4 kB / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8427, allocations: 0 / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009504/0.8436, allocations: 484.8 kB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.8437, allocations: 103.1 kB / 1.119 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8437, allocations: 4 kB / 1.119 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.8437, allocations: 8.375 kB / 1.119 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.8439, allocations: 43.86 kB / 1.12 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8439, allocations: 11.94 kB / 1.12 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.8444, allocations: 119.7 kB / 1.12 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.8445, allocations: 35.98 kB / 1.12 GB, free: 40 kB / 0.7136 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 () * 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.0001747/0.8447, allocations: 154.1 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.8447, allocations: 27.7 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.8448, allocations: 23.41 kB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8448, allocations: 4 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.8448, allocations: 2.062 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8448, allocations: 3.984 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.8455, allocations: 0.6469 MB / 1.121 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.8455, allocations: 4 kB / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.8456, allocations: 11.94 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8456, allocations: 0 / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.8456, allocations: 7.984 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.8456, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8457, allocations: 0 / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8461, allocations: 406.6 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.8461, allocations: 100.9 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.8462, allocations: 10.89 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8463, allocations: 11.98 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.8463, allocations: 27.91 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.8464, allocations: 15.98 kB / 1.121 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.191e-05/0.8464, allocations: 119.2 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8465, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003639/0.8468, allocations: 91.84 kB / 1.121 GB, free: 14.3 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) * 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.0001771/0.847, allocations: 133.4 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006309/0.8476, allocations: 0.5095 MB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8477, allocations: 4 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.8478, allocations: 132.5 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.8481, allocations: 30.22 kB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.8487, allocations: 302.2 kB / 1.122 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.849, allocations: 0.7526 MB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.216e-05/0.8491, allocations: 27.28 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.8491, allocations: 23.44 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8491, allocations: 0 / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.006699/0.8558, allocations: 3.348 MB / 1.126 GB, free: 9.059 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)