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.607/1.607, allocations: 288.4 MB / 304.3 MB, free: 8.105 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.001259/0.001259, allocations: 173.9 kB / 372.9 MB, free: 10.12 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.481/1.481, allocations: 205.4 MB / 0.6317 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.0008461, allocations: 98.25 kB / 0.745 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 14.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6241/0.8107, allocations: 139.6 MB / 1.117 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.811, allocations: 80.45 kB / 1.117 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.8252, allocations: 5.469 MB / 1.122 GB, free: 31.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8253, allocations: 7.531 kB / 1.122 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.8253, allocations: 7.875 kB / 1.122 GB, free: 31.83 MB / 0.698 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.0006654/0.826, allocations: 0.562 MB / 1.123 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.826, allocations: 7.719 kB / 1.123 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.8261, allocations: 38.73 kB / 1.123 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.8264, allocations: 258.4 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.8264, allocations: 24.88 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.8265, allocations: 36.39 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.8268, allocations: 186.5 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8268, allocations: 192 / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.8268, allocations: 13.39 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.8269, allocations: 3.594 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.827, allocations: 114.2 kB / 1.124 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.8279, allocations: 0.6161 MB / 1.124 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.8282, allocations: 209.6 kB / 1.124 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.8283, allocations: 85.11 kB / 1.125 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.8283, allocations: 14.73 kB / 1.125 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.8287, allocations: 272.3 kB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.8287, allocations: 0 / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0006556/0.8294, allocations: 428.9 kB / 1.125 GB, free: 30.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.8295, allocations: 61.05 kB / 1.125 GB, free: 30.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.8296, allocations: 196.9 kB / 1.125 GB, free: 30.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.8297, allocations: 47.64 kB / 1.126 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.8298, allocations: 132.4 kB / 1.126 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.8299, allocations: 90.34 kB / 1.126 GB, free: 30.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.8299, allocations: 17.62 kB / 1.126 GB, free: 30.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8301, allocations: 335.8 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.8303, allocations: 157.7 kB / 1.126 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.8306, allocations: 276.7 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.8311, allocations: 423.6 kB / 1.127 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8311, allocations: 5.703 kB / 1.127 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007794/0.8319, allocations: 0.6052 MB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.832, allocations: 104.8 kB / 1.128 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.832, allocations: 3.844 kB / 1.128 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.832, allocations: 7.719 kB / 1.128 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.8321, allocations: 43.91 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.8322, allocations: 7.781 kB / 1.128 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.8327, allocations: 133.6 kB / 1.128 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.8327, allocations: 35.67 kB / 1.128 GB, free: 29.24 MB / 0.698 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 () * Number of clocked 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.0001781/0.8329, allocations: 177.9 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.8329, allocations: 27.12 kB / 1.128 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.833, allocations: 26.98 kB / 1.128 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.833, allocations: 7.844 kB / 1.128 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.833, allocations: 7.812 kB / 1.128 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.833, allocations: 3.141 kB / 1.128 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.8338, allocations: 0.724 MB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.8339, allocations: 0 / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.8339, allocations: 11.03 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.8339, allocations: 6.703 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.834, allocations: 9.562 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.834, allocations: 4 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.834, allocations: 0 / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.8344, allocations: 437.4 kB / 1.129 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.8345, allocations: 99.27 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.8345, allocations: 9.234 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.8346, allocations: 12.36 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.8347, allocations: 26.42 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.8347, allocations: 21.83 kB / 1.129 GB, free: 28.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.8348, allocations: 126.6 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8348, allocations: 3.938 kB / 1.129 GB, free: 28.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003455/0.8352, allocations: 101.4 kB / 1.13 GB, free: 28.41 MB / 0.698 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) * Number of clocked states: 0 () * 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.0001683/0.8354, allocations: 132.5 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.836, allocations: 0.563 MB / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.836, allocations: 0 / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.8362, allocations: 151.2 kB / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.8366, allocations: 45.72 kB / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.8372, allocations: 472.7 kB / 1.131 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.8375, allocations: 0.74 MB / 1.132 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.457e-05/0.8376, allocations: 36.22 kB / 1.132 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.8377, allocations: 26.59 kB / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8377, allocations: 0 / 1.132 GB, free: 27.12 MB / 0.698 GB Notification: Performance of Templates: time 0.005906/0.8436, allocations: 3.648 MB / 1.135 GB, free: 25.71 MB / 0.698 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)