Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.00108/0.00108, allocations: 180.8 kB / 361.4 MB, free: 6.848 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.628/1.628, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008805/0.0008803, allocations: 89.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.376e-05/1.377e-05, allocations: 0 / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6954, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.8915, allocations: 138.8 MB / 1.1 GB, free: 1.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.8919, allocations: 81.67 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.907, allocations: 5.406 MB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.907, allocations: 4 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.9071, allocations: 8 kB / 1.105 GB, free: 11.63 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.0006503/0.9077, allocations: 0.5414 MB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9078, allocations: 8.031 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.9079, allocations: 35.72 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.9083, allocations: 257.6 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.9083, allocations: 12.73 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.9084, allocations: 35.98 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001971/0.9086, allocations: 92.58 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.9089, allocations: 151.9 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.9089, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.9089, allocations: 7.984 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.9089, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.9099, allocations: 0.5908 MB / 1.107 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.9102, allocations: 180.7 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.9103, allocations: 72.86 kB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.9103, allocations: 7.938 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.9107, allocations: 255.3 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.9107, allocations: 0 / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0005032/0.9112, allocations: 301.4 kB / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.9113, allocations: 67.11 kB / 1.108 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.9114, allocations: 169.9 kB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.9115, allocations: 37.7 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9116, allocations: 133 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.9117, allocations: 79.05 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.9117, allocations: 11.94 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9119, allocations: 334.8 kB / 1.109 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.9121, allocations: 137.1 kB / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.9125, allocations: 258.1 kB / 1.109 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.913, allocations: 163.5 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.913, allocations: 4 kB / 1.109 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009823/0.914, allocations: 482.1 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.9141, allocations: 102 kB / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9141, allocations: 4 kB / 1.11 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.9141, allocations: 8 kB / 1.11 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.9143, allocations: 52.16 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.9143, allocations: 11.94 kB / 1.11 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.9149, allocations: 122.7 kB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.9149, allocations: 31.98 kB / 1.11 GB, free: 6.668 MB / 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.0001573/0.9151, allocations: 150.1 kB / 1.11 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.9151, allocations: 23.72 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.9152, allocations: 23.39 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.9152, allocations: 4 kB / 1.11 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9152, allocations: 3.938 kB / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9152, allocations: 0 / 1.11 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.916, allocations: 0.647 MB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.916, allocations: 1.406 kB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.9161, allocations: 19.92 kB / 1.111 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9161, allocations: 4 kB / 1.111 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.9161, allocations: 7.984 kB / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9161, allocations: 0 / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9161, allocations: 0 / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.9166, allocations: 402.6 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.9167, allocations: 108.8 kB / 1.111 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.9167, allocations: 11.98 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.9168, allocations: 7.984 kB / 1.111 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.9169, allocations: 23.97 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.9169, allocations: 19.98 kB / 1.111 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.917, allocations: 115.2 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.917, allocations: 0 / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003776/0.9174, allocations: 99.84 kB / 1.111 GB, free: 4.93 MB / 0.7136 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.000168/0.9175, allocations: 129.8 kB / 1.112 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006414/0.9182, allocations: 0.5129 MB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9182, allocations: 0 / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9184, allocations: 136.5 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.9187, allocations: 29.86 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.9192, allocations: 293.1 kB / 1.113 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.9195, allocations: 0.7565 MB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.9196, allocations: 27.28 kB / 1.113 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.9197, allocations: 27.44 kB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9197, allocations: 4 kB / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of Templates: time 0.006931/0.9266, allocations: 3.347 MB / 1.117 GB, free: 15.69 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)