Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.514/2.514, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001408/0.001407, allocations: 193.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009444/0.0009437, allocations: 98.31 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007274/0.0007276, allocations: 11 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2071, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9404/1.148, allocations: 139.4 MB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.148, allocations: 84 kB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02468/1.173, allocations: 5.475 MB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/1.173, allocations: 0 / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.551e-05/1.173, allocations: 11.69 kB / 1.121 GB, free: 31.19 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.001023/1.174, allocations: 0.5632 MB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.174, allocations: 7.688 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/1.174, allocations: 37.66 kB / 1.121 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/1.174, allocations: 255.8 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/1.175, allocations: 24.38 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/1.175, allocations: 35.52 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/1.175, allocations: 192.1 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.175, allocations: 6.844 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.175, allocations: 12.61 kB / 1.122 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.175, allocations: 7.719 kB / 1.122 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/1.175, allocations: 108.2 kB / 1.122 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.177, allocations: 0.6226 MB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/1.177, allocations: 205.4 kB / 1.123 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/1.178, allocations: 87.88 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/1.178, allocations: 4.156 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/1.178, allocations: 267.3 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.045e-06/1.178, allocations: 3.938 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001078/1.179, allocations: 426.2 kB / 1.124 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.179, allocations: 62.19 kB / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/1.18, allocations: 196.7 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.18, allocations: 47.58 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/1.18, allocations: 133.6 kB / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/1.18, allocations: 91 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/1.18, allocations: 14.38 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.18, allocations: 338.1 kB / 1.124 GB, free: 29.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/1.181, allocations: 155.4 kB / 1.125 GB, free: 29.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/1.181, allocations: 284.5 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/1.182, allocations: 419.8 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.182, allocations: 3.812 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001489/1.184, allocations: 0.6066 MB / 1.126 GB, free: 28.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.184, allocations: 101.8 kB / 1.126 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.184, allocations: 3.844 kB / 1.126 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.184, allocations: 7.688 kB / 1.126 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.184, allocations: 40.69 kB / 1.126 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.184, allocations: 11.75 kB / 1.126 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000986/1.185, allocations: 135.8 kB / 1.126 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/1.185, allocations: 33.92 kB / 1.126 GB, free: 28.6 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.0003099/1.185, allocations: 179.4 kB / 1.126 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/1.185, allocations: 31.19 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/1.186, allocations: 26.83 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/1.186, allocations: 3.844 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.186, allocations: 4 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.186, allocations: 3.281 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.187, allocations: 0.7225 MB / 1.127 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.187, allocations: 0 / 1.127 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.187, allocations: 18.44 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/1.187, allocations: 3.281 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/1.187, allocations: 13.73 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.187, allocations: 0 / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.187, allocations: 4 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/1.188, allocations: 438.9 kB / 1.128 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/1.188, allocations: 96.55 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/1.188, allocations: 10.45 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.188, allocations: 12.72 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/1.188, allocations: 25.72 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.188, allocations: 16.77 kB / 1.128 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001412/1.189, allocations: 133 kB / 1.128 GB, free: 27.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.189, allocations: 0 / 1.128 GB, free: 27.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006609/1.189, allocations: 103.3 kB / 1.128 GB, free: 27.78 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.0002217/1.19, allocations: 128.2 kB / 1.128 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.191, allocations: 0.5585 MB / 1.129 GB, free: 27.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.191, allocations: 3.938 kB / 1.129 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/1.191, allocations: 155.6 kB / 1.129 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/1.192, allocations: 39.44 kB / 1.129 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/1.193, allocations: 471.4 kB / 1.129 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.193, allocations: 0.7401 MB / 1.13 GB, free: 26.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001628/1.193, allocations: 35.25 kB / 1.13 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/1.193, allocations: 26.66 kB / 1.13 GB, free: 26.49 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.193, allocations: 0 / 1.13 GB, free: 26.49 MB / 0.698 GB Notification: Performance of Templates: time 0.01053/1.204, allocations: 3.615 MB / 1.134 GB, free: 26.03 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)