Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 163.2 kB / 24.97 MB, free: 9.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9834/0.9834, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.913/1.913, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.776 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.199e-05, allocations: 2.859 kB / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.001537/0.001549, allocations: 1.088 MB / 0.777 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.003316, allocations: 1.846 MB / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.003396, allocations: 7.938 kB / 0.7788 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.003763, allocations: 243.4 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.003873, allocations: 132.1 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.004388, allocations: 332.5 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008247/0.005213, allocations: 1.309 MB / 0.7808 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.005415, allocations: 170.3 kB / 0.7809 GB, free: 304 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.005953, allocations: 0.7101 MB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.00625, allocations: 328.1 kB / 0.782 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.006359, allocations: 76.69 kB / 0.782 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.006575, allocations: 136.6 kB / 0.7822 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005499/0.007125, allocations: 407.1 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.00739, allocations: 335.3 kB / 0.7829 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.008185, allocations: 1.111 MB / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.008187, allocations: 1.031 kB / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.008187, allocations: 0 / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.008195, allocations: 0 / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001078/0.009273, allocations: 1.013 MB / 0.7849 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.009305, allocations: 8.031 kB / 0.7849 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.009452, allocations: 93.36 kB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.009958, allocations: 474.6 kB / 0.7855 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.009997, allocations: 49.02 kB / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.0101, allocations: 68.38 kB / 0.7856 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.01045, allocations: 319.2 kB / 0.7859 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.01046, allocations: 192 / 0.7859 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.01049, allocations: 16.86 kB / 0.7859 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.0105, allocations: 11.94 kB / 0.7859 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.01069, allocations: 136.7 kB / 0.7861 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01187, allocations: 0.8937 MB / 0.7869 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.01221, allocations: 329.2 kB / 0.7873 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.01232, allocations: 88.8 kB / 0.7873 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.01233, allocations: 11.75 kB / 0.7873 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.01265, allocations: 370.3 kB / 0.7877 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=55): time 1.754e-06/0.01265, allocations: 0 / 0.7877 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55): time 0.0004651/0.01311, allocations: 414.5 kB / 0.7881 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.01315, allocations: 63.89 kB / 0.7882 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.01345, allocations: 476.2 kB / 0.7886 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.01353, allocations: 61.69 kB / 0.7887 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01367, allocations: 215.6 kB / 0.7889 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.01374, allocations: 120.2 kB / 0.789 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.0142, allocations: 262.6 kB / 0.7892 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.0143, allocations: 383.1 kB / 0.7896 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.01439, allocations: 80.11 kB / 0.7897 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.01525, allocations: 2.248 MB / 0.7919 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01549, allocations: 305.1 kB / 0.7922 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01549, allocations: 1.312 kB / 0.7922 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000358/0.01585, allocations: 378.1 kB / 0.7925 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01586, allocations: 8 kB / 0.7925 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01587, allocations: 4 kB / 0.7925 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01588, allocations: 5.5 kB / 0.7925 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01601, allocations: 67.83 kB / 0.7926 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01602, allocations: 8 kB / 0.7926 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.01662, allocations: 149.3 kB / 0.7928 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.01664, allocations: 16 kB / 0.7928 GB, free: 3.363 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition17,$whenCondition16,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,idxSta.idx,$PRE.idxSta.idx,idxSta.y[1],$PRE.idxSta.y[1],y1ComSta.entryTimeFalse,$PRE.y1ComSta.entryTimeFalse,y1ComSta.entryTimeTrue,$PRE.y1ComSta.entryTimeTrue,y1ComSta.not_y,$PRE.y1ComSta.not_y,y1ComSta.not_u,$PRE.y1ComSta.not_u,y1ComSta.y,$PRE.y1ComSta.y,y1ComSta.u,$PRE.y1ComSta.u,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[4],$PRE.booTimTab.intTimTab.y[4],booTimTab.intTimTab.y[3],$PRE.booTimTab.intTimTab.y[3],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[4],booTimTab.y[3],comSta.chaSta.down,comSta.chaSta.up,comSta.chaSta.u,$PRE.comSta.chaSta.u,comSta.preAnyCha.u,$PRE.comSta.preAnyCha.u,comSta.anyCha.u[1],comSta.lckAnyCha.y,$PRE.comSta.lckAnyCha.y,comSta.lckAnyCha.clr,comSta.lckAnyCha.u,comSta.cha[2].y,comSta.cha[2].u,$PRE.comSta.cha[2].u,comSta.cha[1].u,$PRE.comSta.cha[1].u,comSta.lckChaSta.y,$PRE.comSta.lckChaSta.y,comSta.lckChaSta.clr,comSta.lckChaSta.u,comSta.endStaPro.not_u,$PRE.comSta.endStaPro.not_u,comSta.onOrOff[2].y,comSta.allTru.y,comSta.allTru.u[1],comSta.disAndOff[2].y,comSta.disAndOff[1].y,comSta.enaAndOn[2].y,comSta.enaAndOn[1].y,comSta.y1End,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,$whenCondition13,$whenCondition14) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.01683, allocations: 208.5 kB / 0.793 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.01688, allocations: 59.89 kB / 0.793 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.01695, allocations: 69.25 kB / 0.7931 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01696, allocations: 7.922 kB / 0.7931 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01696, allocations: 0 / 0.7931 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.01701, allocations: 63.55 kB / 0.7932 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.01706, allocations: 16 kB / 0.7932 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.01715, allocations: 19.98 kB / 0.7932 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.01723, allocations: 40.41 kB / 0.7932 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002781/0.0175, allocations: 394.2 kB / 0.7936 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003397/0.01784, allocations: 0.5338 MB / 0.7941 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001189/0.01796, allocations: 133.8 kB / 0.7943 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001585/0.01812, allocations: 208.4 kB / 0.7945 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of Backend: time 2.3e-07/0.01812, allocations: 0 / 0.7945 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.01873, allocations: 362.7 kB / 0.7948 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001744/0.02048, allocations: 1.572 MB / 0.7963 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of Templates: time 0.01603/0.0365, allocations: 15.14 MB / 0.8111 GB, free: 0.8633 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.052325184457004]