Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00654/0.00654, allocations: 170.2 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.00041, allocations: 17.31 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3755, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001389/0.3769, allocations: 0.6436 MB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3793, allocations: 1.439 MB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3795, allocations: 4 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.3799, allocations: 63.73 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.3801, allocations: 51.75 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.3811, allocations: 309.8 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.3815, allocations: 379.2 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.3817, allocations: 53.62 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3818, allocations: 135.7 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.3821, allocations: 127.5 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.3821, allocations: 12 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3823, allocations: 51.95 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3824, allocations: 67.8 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3826, allocations: 157 kB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.383, allocations: 399 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.383, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.383, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.383, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 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.0007868/0.3838, allocations: 0.5912 MB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3839, allocations: 8.031 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.384, allocations: 32.66 kB / 1.079 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3844, allocations: 296.9 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.3844, allocations: 16.31 kB / 1.079 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.3845, allocations: 28.36 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.3848, allocations: 182.1 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3848, allocations: 192 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3848, allocations: 7.938 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3848, allocations: 4 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3851, allocations: 119.9 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.386, allocations: 0.6211 MB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3865, allocations: 242.5 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3867, allocations: 160.8 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3867, allocations: 7.984 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.3871, allocations: 235.9 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.3871, allocations: 0 / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.000778/0.3879, allocations: 0.5116 MB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.388, allocations: 122.8 kB / 1.081 GB, free: 288 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3882, allocations: 251.9 kB / 1.081 GB, free: 24 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.3883, allocations: 41.69 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3885, allocations: 120.8 kB / 1.081 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.3885, allocations: 63.19 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.3886, allocations: 45.7 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3888, allocations: 342.8 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.389, allocations: 167.9 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.3894, allocations: 310.7 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.39, allocations: 484.1 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.39, allocations: 0 / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008329/0.3908, allocations: 0.586 MB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.3909, allocations: 144.3 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3909, allocations: 4 kB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.391, allocations: 7.938 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3911, allocations: 27.92 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3911, allocations: 7.984 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.3917, allocations: 109.6 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.3918, allocations: 23.98 kB / 1.084 GB, free: 13.39 MB / 0.8419 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.0002544/0.392, allocations: 251.6 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3921, allocations: 27.72 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.3921, allocations: 22.55 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3921, allocations: 4 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3922, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3922, allocations: 0 / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3933, allocations: 0.8607 MB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3933, allocations: 4 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3933, allocations: 8 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3933, allocations: 0 / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3934, allocations: 15.98 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3934, allocations: 3.938 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3934, allocations: 0 / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.394, allocations: 0.5336 MB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.394, allocations: 100.8 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.3941, allocations: 16 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3943, allocations: 19.92 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3944, allocations: 47.95 kB / 1.085 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.3944, allocations: 15.98 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000155/0.3946, allocations: 177.6 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.302e-06/0.3946, allocations: 0 / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003808/0.395, allocations: 87.88 kB / 1.086 GB, free: 11.07 MB / 0.8419 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.0002505/0.3952, allocations: 152.2 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.3961, allocations: 0.6926 MB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3961, allocations: 0 / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.3965, allocations: 342.6 kB / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.397, allocations: 60.95 kB / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.3979, allocations: 0.5453 MB / 1.087 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3982, allocations: 0.7482 MB / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.3983, allocations: 33.94 kB / 1.088 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.3984, allocations: 23.42 kB / 1.088 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3984, allocations: 0 / 1.088 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of Templates: time 0.009549/0.4079, allocations: 4.598 MB / 1.093 GB, free: 3.812 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1)