Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.222/2.222, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 186.9 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5772 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009402/0.0009399, allocations: 90.31 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006554, allocations: 12.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2613/0.4852, allocations: 131.9 MB / 1.028 GB, free: 13.45 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004567/0.4857, allocations: 75.95 kB / 1.028 GB, free: 13.37 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.4973, allocations: 2.276 MB / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4974, allocations: 0 / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.4974, allocations: 8 kB / 1.031 GB, free: 11.08 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001095/0.4985, allocations: 491.7 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4986, allocations: 8.031 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.4987, allocations: 32.73 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.499, allocations: 224.3 kB / 1.031 GB, free: 10.25 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.4991, allocations: 12.7 kB / 1.031 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.4991, allocations: 32.3 kB / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.4997, allocations: 181.3 kB / 1.032 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4997, allocations: 8.109 kB / 1.032 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4997, allocations: 11.94 kB / 1.032 GB, free: 10 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-06/0.4998, allocations: 4 kB / 1.032 GB, free: 10 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.5002, allocations: 124.5 kB / 1.032 GB, free: 9.879 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.5018, allocations: 0.5469 MB / 1.032 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.5023, allocations: 222.4 kB / 1.032 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.5026, allocations: 96.83 kB / 1.033 GB, free: 8.957 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5027, allocations: 4 kB / 1.033 GB, free: 8.953 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006588/0.5033, allocations: 272.2 kB / 1.033 GB, free: 8.676 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=39): time 2.826e-06/0.5034, allocations: 0 / 1.033 GB, free: 8.676 MB / 0.6824 GB Notification: Performance of matching and sorting (n=39): time 0.001324/0.5047, allocations: 430 kB / 1.033 GB, free: 8.25 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.5048, allocations: 63.41 kB / 1.033 GB, free: 8.176 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.505, allocations: 155.2 kB / 1.033 GB, free: 8.016 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.5051, allocations: 53.69 kB / 1.033 GB, free: 7.957 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.5053, allocations: 112.9 kB / 1.034 GB, free: 7.84 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.5054, allocations: 86.95 kB / 1.034 GB, free: 7.754 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.5055, allocations: 8 kB / 1.034 GB, free: 7.746 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5056, allocations: 336.3 kB / 1.034 GB, free: 7.41 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.5059, allocations: 89.09 kB / 1.034 GB, free: 7.324 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.5063, allocations: 154.3 kB / 1.034 GB, free: 7.16 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.5066, allocations: 96.81 kB / 1.034 GB, free: 7.07 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5066, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6824 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007954/0.5074, allocations: 323.7 kB / 1.035 GB, free: 6.746 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.5075, allocations: 5.562 kB / 1.035 GB, free: 6.742 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5075, allocations: 3.938 kB / 1.035 GB, free: 6.738 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.5075, allocations: 12.06 kB / 1.035 GB, free: 6.727 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.5078, allocations: 43.86 kB / 1.035 GB, free: 6.684 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.5079, allocations: 4 kB / 1.035 GB, free: 6.68 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.5082, allocations: 51.66 kB / 1.035 GB, free: 6.629 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.5082, allocations: 16 kB / 1.035 GB, free: 6.613 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0002609/0.5085, allocations: 163 kB / 1.035 GB, free: 6.441 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.5086, allocations: 23.8 kB / 1.035 GB, free: 6.418 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.5087, allocations: 29.91 kB / 1.035 GB, free: 6.391 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5087, allocations: 4 kB / 1.035 GB, free: 6.387 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5087, allocations: 0 / 1.035 GB, free: 6.387 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5087, allocations: 3.984 kB / 1.035 GB, free: 6.383 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.5105, allocations: 0.756 MB / 1.036 GB, free: 5.57 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.5105, allocations: 0 / 1.036 GB, free: 5.57 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5106, allocations: 12 kB / 1.036 GB, free: 5.559 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.5107, allocations: 11.88 kB / 1.036 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5107, allocations: 7.984 kB / 1.036 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5107, allocations: 4 kB / 1.036 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5107, allocations: 0 / 1.036 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.5116, allocations: 439 kB / 1.036 GB, free: 5.09 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.5117, allocations: 100.8 kB / 1.036 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.5118, allocations: 11.98 kB / 1.036 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.5122, allocations: 27.97 kB / 1.036 GB, free: 4.934 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5123, allocations: 39.92 kB / 1.036 GB, free: 4.895 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.5124, allocations: 19.98 kB / 1.036 GB, free: 4.875 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001139/0.5125, allocations: 110.4 kB / 1.036 GB, free: 4.77 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5125, allocations: 4 kB / 1.036 GB, free: 4.766 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004517/0.513, allocations: 71.98 kB / 1.037 GB, free: 4.695 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,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 (39): * Single equations (assignments): 26 * 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.0002081/0.5132, allocations: 121.8 kB / 1.037 GB, free: 4.57 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0007581/0.514, allocations: 278.9 kB / 1.037 GB, free: 4.297 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.514, allocations: 0 / 1.037 GB, free: 4.297 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.5144, allocations: 156.1 kB / 1.037 GB, free: 4.145 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.515, allocations: 43.91 kB / 1.037 GB, free: 4.102 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5161, allocations: 465 kB / 1.038 GB, free: 3.617 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.5165, allocations: 0.7413 MB / 1.038 GB, free: 2.844 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.5167, allocations: 30.91 kB / 1.038 GB, free: 2.812 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5168, allocations: 23.44 kB / 1.038 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of SimCode: time 8.01e-07/0.5168, allocations: 0 / 1.038 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of Templates: time 0.008607/0.5254, allocations: 2.325 MB / 1.041 GB, free: 492 kB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)