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.7/1.7, allocations: 288.3 MB / 303.2 MB, free: 8.047 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.001216/0.001216, allocations: 175.8 kB / 371.8 MB, free: 10.28 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.773/1.773, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001018/0.001018, allocations: 98.78 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 13.89 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6968/0.9051, allocations: 139.5 MB / 1.116 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.9053, allocations: 76.03 kB / 1.116 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.9194, allocations: 5.443 MB / 1.121 GB, free: 31.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9194, allocations: 4 kB / 1.121 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.9194, allocations: 7.844 kB / 1.121 GB, free: 31.71 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.0006741/0.9201, allocations: 0.5645 MB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.9202, allocations: 7.688 kB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.9203, allocations: 41.55 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.9206, allocations: 261.8 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.9206, allocations: 25.91 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.9207, allocations: 33.47 kB / 1.122 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.921, allocations: 176.7 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.921, allocations: 2.812 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.921, allocations: 14.09 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.921, allocations: 3.844 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.9212, allocations: 111.3 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.9221, allocations: 0.6337 MB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.9223, allocations: 204 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.9223, allocations: 7.781 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.9227, allocations: 254.3 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.9227, allocations: 3.562 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0006265/0.9234, allocations: 428.3 kB / 1.124 GB, free: 30.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.9234, allocations: 69.5 kB / 1.124 GB, free: 30.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.9236, allocations: 176 kB / 1.124 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.9236, allocations: 45.08 kB / 1.124 GB, free: 30.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.9238, allocations: 137.7 kB / 1.124 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.9238, allocations: 89.8 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.9239, allocations: 15.47 kB / 1.124 GB, free: 30.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.924, allocations: 334.5 kB / 1.125 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.9243, allocations: 156.5 kB / 1.125 GB, free: 29.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.9246, allocations: 283.7 kB / 1.125 GB, free: 29.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.9249, allocations: 239 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9249, allocations: 0 / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008392/0.9257, allocations: 0.5976 MB / 1.126 GB, free: 29.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.9258, allocations: 100.5 kB / 1.126 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9258, allocations: 7.938 kB / 1.126 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9259, allocations: 14.25 kB / 1.126 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.926, allocations: 41.05 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.926, allocations: 6.75 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.9265, allocations: 138.5 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.9266, allocations: 31.64 kB / 1.126 GB, free: 29.29 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.0001874/0.9268, allocations: 174.1 kB / 1.126 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.9268, allocations: 25.3 kB / 1.126 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.9269, allocations: 32.56 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9269, allocations: 3.875 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9269, allocations: 0 / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9269, allocations: 6.172 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.9277, allocations: 0.7207 MB / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9277, allocations: 0 / 1.127 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.9278, allocations: 17.8 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.9278, allocations: 7.875 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.9278, allocations: 9.688 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9278, allocations: 0 / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9279, allocations: 3.953 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.9283, allocations: 436.5 kB / 1.128 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.9284, allocations: 107.2 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.9284, allocations: 8.984 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.9285, allocations: 15.8 kB / 1.128 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.9286, allocations: 34.7 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.9286, allocations: 18.5 kB / 1.128 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001102/0.9288, allocations: 127.8 kB / 1.128 GB, free: 28.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9288, allocations: 0 / 1.128 GB, free: 28.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003818/0.9292, allocations: 101.9 kB / 1.128 GB, free: 28.46 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.00019/0.9294, allocations: 129.8 kB / 1.128 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006884/0.93, allocations: 0.5566 MB / 1.129 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9301, allocations: 0 / 1.129 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.9302, allocations: 156.7 kB / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.9305, allocations: 27.11 kB / 1.129 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.9312, allocations: 475.6 kB / 1.129 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.9316, allocations: 0.7533 MB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.767e-05/0.9317, allocations: 28.58 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.9317, allocations: 29.58 kB / 1.13 GB, free: 27.17 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.9317, allocations: 0 / 1.13 GB, free: 27.17 MB / 0.698 GB Notification: Performance of Templates: time 0.00658/0.9383, allocations: 3.58 MB / 1.134 GB, free: 25.89 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)