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.768/1.768, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001403/0.001403, allocations: 179.4 kB / 371.6 MB, free: 3.398 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.643/1.643, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009204/0.0009204, allocations: 98.91 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.614e-05/4.616e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/1.145, allocations: 140.4 MB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.145, allocations: 78.14 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.159, allocations: 5.438 MB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.784e-06/1.159, allocations: 0 / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.159, allocations: 4.75 kB / 1.122 GB, free: 40.61 MB / 0.7448 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.0005789/1.16, allocations: 0.546 MB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.16, allocations: 8.031 kB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/1.16, allocations: 35.72 kB / 1.123 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/1.16, allocations: 259 kB / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/1.16, allocations: 19.64 kB / 1.123 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/1.16, allocations: 42.81 kB / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/1.161, allocations: 174.1 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.161, allocations: 0.5625 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.161, allocations: 11.2 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.161, allocations: 4 kB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/1.161, allocations: 106.4 kB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/1.162, allocations: 0.6372 MB / 1.124 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/1.162, allocations: 197.2 kB / 1.124 GB, free: 39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/1.162, allocations: 87.02 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/1.162, allocations: 11.88 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/1.163, allocations: 248.7 kB / 1.125 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/1.163, allocations: 0 / 1.125 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0004868/1.163, allocations: 340.3 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.163, allocations: 71.33 kB / 1.125 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.163, allocations: 175.6 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/1.163, allocations: 49.44 kB / 1.125 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/1.163, allocations: 131.4 kB / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/1.164, allocations: 88.44 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/1.164, allocations: 11.62 kB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/1.164, allocations: 340.4 kB / 1.126 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/1.164, allocations: 147.1 kB / 1.126 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/1.164, allocations: 273 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/1.165, allocations: 242 kB / 1.126 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.165, allocations: 4 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008119/1.165, allocations: 0.5932 MB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/1.165, allocations: 99.22 kB / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.165, allocations: 4 kB / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.165, allocations: 4.375 kB / 1.127 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.166, allocations: 54.27 kB / 1.127 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/1.166, allocations: 12.48 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/1.166, allocations: 122.9 kB / 1.127 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/1.166, allocations: 39.64 kB / 1.127 GB, free: 36.5 MB / 0.7448 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.0001319/1.166, allocations: 161 kB / 1.127 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/1.166, allocations: 27.72 kB / 1.128 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/1.167, allocations: 30.48 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.167, allocations: 5.875 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.167, allocations: 3.953 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.167, allocations: 0 / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/1.167, allocations: 0.7128 MB / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.167, allocations: 0 / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/1.167, allocations: 15.94 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.167, allocations: 0 / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.167, allocations: 18.61 kB / 1.128 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.167, allocations: 4 kB / 1.128 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.167, allocations: 0 / 1.128 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/1.168, allocations: 427.1 kB / 1.129 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/1.168, allocations: 104.1 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/1.168, allocations: 14.17 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.168, allocations: 19.17 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/1.168, allocations: 24.95 kB / 1.129 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.168, allocations: 18.23 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.779e-05/1.168, allocations: 130.4 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.168, allocations: 0 / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003562/1.169, allocations: 97.39 kB / 1.129 GB, free: 35.04 MB / 0.7448 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.0001832/1.169, allocations: 139.6 kB / 1.129 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006294/1.169, allocations: 0.5449 MB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.169, allocations: 0 / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/1.17, allocations: 143.9 kB / 1.13 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/1.17, allocations: 44.05 kB / 1.13 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/1.17, allocations: 305 kB / 1.13 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/1.171, allocations: 0.7549 MB / 1.131 GB, free: 33.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.542e-05/1.171, allocations: 29.89 kB / 1.131 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/1.171, allocations: 23.44 kB / 1.131 GB, free: 33.31 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.171, allocations: 0 / 1.131 GB, free: 33.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.006438/1.177, allocations: 3.577 MB / 1.134 GB, free: 31.31 MB / 0.7448 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)