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.721/1.721, allocations: 285.4 MB / 298 MB, free: 5.992 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.001182/0.001182, allocations: 168.9 kB / 366.4 MB, free: 2.082 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.766/1.766, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009317/0.0009317, allocations: 95.88 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7062, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.9119, allocations: 139.5 MB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.9122, allocations: 79.89 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.928, allocations: 5.435 MB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9281, allocations: 0 / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.9281, allocations: 11.98 kB / 1.112 GB, free: 6.867 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.0008291/0.929, allocations: 0.5434 MB / 1.113 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.929, allocations: 12.02 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.9292, allocations: 35.72 kB / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.9296, allocations: 255.4 kB / 1.113 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.9297, allocations: 28.31 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.564e-05/0.9298, allocations: 32 kB / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.9301, allocations: 168.2 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.9301, allocations: 1.219 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.9302, allocations: 19.97 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.9302, allocations: 7.984 kB / 1.114 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.9304, allocations: 104.6 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.9315, allocations: 0.6365 MB / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.9318, allocations: 194.6 kB / 1.114 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.9319, allocations: 85.08 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.9319, allocations: 0 / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.9323, allocations: 273.1 kB / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.9324, allocations: 0 / 1.115 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0006104/0.933, allocations: 328.5 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.9331, allocations: 67.39 kB / 1.115 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.9333, allocations: 180.9 kB / 1.115 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.9333, allocations: 41.7 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.9335, allocations: 136.8 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.9336, allocations: 82.95 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.9336, allocations: 16 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9338, allocations: 342.8 kB / 1.116 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.9341, allocations: 153.1 kB / 1.116 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.9345, allocations: 271.3 kB / 1.116 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.9349, allocations: 234.6 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9349, allocations: 4 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009783/0.9359, allocations: 0.5816 MB / 1.117 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.936, allocations: 105.1 kB / 1.117 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.936, allocations: 4 kB / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.936, allocations: 8 kB / 1.117 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.9362, allocations: 47.81 kB / 1.117 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.9362, allocations: 9.969 kB / 1.117 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.9368, allocations: 131.8 kB / 1.117 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.9369, allocations: 35.97 kB / 1.117 GB, free: 1.426 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.0001624/0.9371, allocations: 165.8 kB / 1.118 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.9371, allocations: 27.7 kB / 1.118 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.9372, allocations: 22.78 kB / 1.118 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9372, allocations: 6.438 kB / 1.118 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.9372, allocations: 3.953 kB / 1.118 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9372, allocations: 3.984 kB / 1.118 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.9382, allocations: 0.7127 MB / 1.118 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9382, allocations: 0 / 1.118 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.9383, allocations: 15.94 kB / 1.118 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.9383, allocations: 4 kB / 1.118 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.9383, allocations: 18 kB / 1.118 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9383, allocations: 0 / 1.118 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9383, allocations: 3.984 kB / 1.118 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.9388, allocations: 435 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.9389, allocations: 100.8 kB / 1.119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.939, allocations: 15.98 kB / 1.119 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9391, allocations: 11.94 kB / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.9392, allocations: 23.97 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.9392, allocations: 19.98 kB / 1.119 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000107/0.9393, allocations: 125.2 kB / 1.119 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9393, allocations: 4 kB / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004249/0.9398, allocations: 104 kB / 1.119 GB, free: 15.53 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.0002085/0.94, allocations: 129.4 kB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007373/0.9407, allocations: 0.542 MB / 1.12 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9407, allocations: 12.12 kB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.941, allocations: 141.5 kB / 1.12 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.9413, allocations: 33.58 kB / 1.12 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.9419, allocations: 311.2 kB / 1.12 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.9423, allocations: 0.7529 MB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.966e-05/0.9424, allocations: 30.97 kB / 1.121 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.9425, allocations: 27.44 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.9425, allocations: 0 / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.008506/0.951, allocations: 3.578 MB / 1.125 GB, free: 9.996 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)