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.0009074/0.0009074, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.001407/0.001407, allocations: 166.5 kB / 24.96 MB, free: 8.711 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.8812/0.8812, allocations: 177.1 MB / 205.4 MB, free: 4.484 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.957/1.957, allocations: 389.6 MB / 0.6362 GB, free: 13.35 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 2.385e-06/2.385e-06, allocations: 0 / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.643e-05, allocations: 6.109 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002242/0.002269, allocations: 0.9725 MB / 0.7769 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.00432, allocations: 1.45 MB / 0.7783 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004427, allocations: 7.938 kB / 0.7783 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.004803, allocations: 71.61 kB / 0.7784 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.004908, allocations: 63.61 kB / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008075/0.005715, allocations: 323.2 kB / 0.7788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.006227, allocations: 435.2 kB / 0.7792 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.006374, allocations: 54.41 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.006672, allocations: 231.6 kB / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.006938, allocations: 127.7 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.007327, allocations: 39.94 kB / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.007531, allocations: 71.91 kB / 0.7797 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.007676, allocations: 75.78 kB / 0.7798 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.007808, allocations: 119.7 kB / 0.7799 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.008223, allocations: 323.1 kB / 0.7802 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.008227, allocations: 4 kB / 0.7802 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.008228, allocations: 0 / 0.7802 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.008232, allocations: 0 / 0.7802 GB, free: 9.578 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.0007293/0.008961, allocations: 0.5415 MB / 0.7807 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.009, allocations: 12.02 kB / 0.7807 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.009081, allocations: 32.91 kB / 0.7808 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.009375, allocations: 198.5 kB / 0.781 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.009401, allocations: 12.38 kB / 0.781 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.009446, allocations: 24.38 kB / 0.781 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.009691, allocations: 208.8 kB / 0.7812 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.0097, allocations: 192 / 0.7812 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.009714, allocations: 384 / 0.7812 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.009722, allocations: 4.375 kB / 0.7812 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.009836, allocations: 123.3 kB / 0.7813 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.01044, allocations: 333.5 kB / 0.7816 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.01071, allocations: 219.4 kB / 0.7818 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.01082, allocations: 124.2 kB / 0.782 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.01084, allocations: 4 kB / 0.782 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.01111, allocations: 250 kB / 0.7822 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.014e-06/0.01111, allocations: 0 / 0.7822 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0004588/0.01157, allocations: 439.2 kB / 0.7826 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.01163, allocations: 118.8 kB / 0.7827 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.0118, allocations: 223.2 kB / 0.783 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.01184, allocations: 37.7 kB / 0.783 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.01192, allocations: 116.5 kB / 0.7831 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.01197, allocations: 59.56 kB / 0.7832 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.01212, allocations: 97.59 kB / 0.7832 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01222, allocations: 334.8 kB / 0.7836 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.01242, allocations: 209.6 kB / 0.7838 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.01271, allocations: 460.9 kB / 0.7842 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.01305, allocations: 417.5 kB / 0.7846 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01306, allocations: 4 kB / 0.7846 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005075/0.01356, allocations: 0.525 MB / 0.7851 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.01365, allocations: 134.8 kB / 0.7852 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01366, allocations: 0 / 0.7852 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01367, allocations: 4 kB / 0.7853 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01377, allocations: 40.17 kB / 0.7853 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.01378, allocations: 8 kB / 0.7853 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.01407, allocations: 75.75 kB / 0.7854 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.01411, allocations: 15.98 kB / 0.7854 GB, free: 3.688 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.0001789/0.01429, allocations: 222.6 kB / 0.7856 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.01434, allocations: 31.92 kB / 0.7856 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.01438, allocations: 30.58 kB / 0.7857 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01438, allocations: 4 kB / 0.7857 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01439, allocations: 0 / 0.7857 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01439, allocations: 0 / 0.7857 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.01503, allocations: 0.6068 MB / 0.7863 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.01503, allocations: 0 / 0.7863 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.01508, allocations: 19.92 kB / 0.7863 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01508, allocations: 0 / 0.7863 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.0151, allocations: 8 kB / 0.7863 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.0151, allocations: 0 / 0.7863 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0151, allocations: 4 kB / 0.7863 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.01547, allocations: 493.1 kB / 0.7868 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.0155, allocations: 23.84 kB / 0.7868 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.01554, allocations: 15.98 kB / 0.7868 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.01565, allocations: 12 kB / 0.7868 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.01575, allocations: 46.72 kB / 0.7869 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.01578, allocations: 19.92 kB / 0.7869 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.01585, allocations: 63.17 kB / 0.7869 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01585, allocations: 0 / 0.7869 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003332/0.01618, allocations: 83.94 kB / 0.787 GB, free: 1.906 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.0002052/0.01639, allocations: 126.3 kB / 0.7871 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.01696, allocations: 0.6605 MB / 0.7878 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.01696, allocations: 4 kB / 0.7878 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.01717, allocations: 290.9 kB / 0.7881 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01747, allocations: 69.08 kB / 0.7881 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.01811, allocations: 493.4 kB / 0.7886 GB, free: 104 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.01817, allocations: 84.27 kB / 0.7887 GB, free: 0 / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.01826, allocations: 25.94 kB / 0.7887 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.01853, allocations: 147.3 kB / 0.7888 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of SimCode: time 7.82e-07/0.01854, allocations: 8 kB / 0.7888 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.009089/0.02762, allocations: 5.689 MB / 0.7944 GB, free: 10.2 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.278876049444079]