Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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.001128/0.001128, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001332/0.001332, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.9111/0.9111, allocations: 177.2 MB / 205.6 MB, free: 4 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.879/1.879, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.7756 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.884e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002093/0.002112, allocations: 0.9754 MB / 0.7765 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.003984, allocations: 1.439 MB / 0.7779 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.00408, allocations: 4 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.004426, allocations: 75.55 kB / 0.778 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.004521, allocations: 59.67 kB / 0.778 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.005209, allocations: 327.1 kB / 0.7784 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.005637, allocations: 431.2 kB / 0.7788 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.00576, allocations: 46.41 kB / 0.7788 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.006014, allocations: 231.7 kB / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.006248, allocations: 131.7 kB / 0.7792 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.00631, allocations: 36 kB / 0.7792 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.006469, allocations: 67.91 kB / 0.7793 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.006582, allocations: 79.73 kB / 0.7793 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.006713, allocations: 115.8 kB / 0.7794 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.007086, allocations: 331.1 kB / 0.7798 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007088, allocations: 0 / 0.7798 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.007089, allocations: 0 / 0.7798 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.007092, allocations: 0 / 0.7798 GB, free: 10.25 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006452/0.007737, allocations: 0.5454 MB / 0.7803 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.007778, allocations: 12.02 kB / 0.7803 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.007861, allocations: 36.91 kB / 0.7803 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.00812, allocations: 186.5 kB / 0.7805 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.008142, allocations: 16.38 kB / 0.7805 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.008192, allocations: 28.38 kB / 0.7806 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.008426, allocations: 205.1 kB / 0.7808 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.008434, allocations: 192 / 0.7808 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.008449, allocations: 8.359 kB / 0.7808 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.008456, allocations: 4.375 kB / 0.7808 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.008573, allocations: 127.2 kB / 0.7809 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.009111, allocations: 341.4 kB / 0.7812 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.009369, allocations: 227.4 kB / 0.7814 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.009484, allocations: 132.2 kB / 0.7816 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.009493, allocations: 8 kB / 0.7816 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.009738, allocations: 246 kB / 0.7818 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.114e-06/0.00974, allocations: 4 kB / 0.7818 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004501/0.01019, allocations: 450.6 kB / 0.7822 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.01025, allocations: 114.8 kB / 0.7823 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.0104, allocations: 219.3 kB / 0.7826 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.01044, allocations: 41.69 kB / 0.7826 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.01051, allocations: 112.5 kB / 0.7827 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.01056, allocations: 63.56 kB / 0.7828 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.01069, allocations: 89.61 kB / 0.7828 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01087, allocations: 338.8 kB / 0.7832 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.01106, allocations: 229.5 kB / 0.7834 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.01136, allocations: 460.9 kB / 0.7838 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.01169, allocations: 434.1 kB / 0.7842 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01169, allocations: 0 / 0.7842 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005119/0.01221, allocations: 0.5485 MB / 0.7848 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.01229, allocations: 138.8 kB / 0.7849 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01229, allocations: 0 / 0.7849 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01231, allocations: 4.312 kB / 0.7849 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.0124, allocations: 35.92 kB / 0.7849 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01241, allocations: 7.938 kB / 0.785 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.01268, allocations: 74.84 kB / 0.785 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.01272, allocations: 23.98 kB / 0.785 GB, free: 4.254 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0001569/0.01288, allocations: 214.6 kB / 0.7853 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01292, allocations: 35.92 kB / 0.7853 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.01296, allocations: 22.64 kB / 0.7853 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01296, allocations: 4 kB / 0.7853 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.01297, allocations: 0 / 0.7853 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01297, allocations: 0 / 0.7853 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.01355, allocations: 0.6185 MB / 0.7859 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01355, allocations: 0 / 0.7859 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.01359, allocations: 15.98 kB / 0.7859 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01359, allocations: 0 / 0.7859 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01361, allocations: 8 kB / 0.7859 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01361, allocations: 7.922 kB / 0.7859 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.01361, allocations: 8 kB / 0.786 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.01396, allocations: 0.4971 MB / 0.7864 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01399, allocations: 19.86 kB / 0.7865 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.01403, allocations: 15.98 kB / 0.7865 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.01412, allocations: 8 kB / 0.7865 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.01421, allocations: 50.77 kB / 0.7865 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.01423, allocations: 15.98 kB / 0.7865 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.0143, allocations: 67.16 kB / 0.7866 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0143, allocations: 0 / 0.7866 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002958/0.0146, allocations: 79.94 kB / 0.7867 GB, free: 2.457 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.01476, allocations: 130.3 kB / 0.7868 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.01529, allocations: 0.6761 MB / 0.7875 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.0153, allocations: 0 / 0.7875 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.01551, allocations: 301.8 kB / 0.7878 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01579, allocations: 61.03 kB / 0.7878 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.0164, allocations: 0.5303 MB / 0.7883 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.0165, allocations: 136.6 kB / 0.7885 GB, free: 440 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.01678, allocations: 143.3 kB / 0.7886 GB, free: 296 kB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01678, allocations: 0 / 0.7886 GB, free: 296 kB / 0.7448 GB Notification: Performance of Templates: time 0.005287/0.02206, allocations: 3.955 MB / 0.7925 GB, free: 12.36 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.098431947641075]