Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002069/0.002069, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.5 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002107/0.3385, allocations: 0.9122 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.3388, allocations: 83.7 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.3389, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.339, allocations: 23.78 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3391, allocations: 11.94 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.037e-05/0.3392, allocations: 31.98 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.3394, allocations: 239.4 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.3398, allocations: 282.3 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3399, allocations: 103.6 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3401, allocations: 135.3 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.3401, allocations: 16 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.3401, allocations: 16 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.3402, allocations: 67.72 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3403, allocations: 143.1 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3407, allocations: 414.6 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3407, allocations: 4 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3407, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3407, allocations: 0 / 1.07 GB, free: 8.477 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00067/0.3414, allocations: 0.5984 MB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3414, allocations: 8.031 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.3415, allocations: 44.41 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.3419, allocations: 336.1 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.3419, allocations: 33.03 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.342, allocations: 32.38 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.3425, allocations: 403.9 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3426, allocations: 8.188 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3426, allocations: 15.94 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3426, allocations: 8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.343, allocations: 303.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.3443, allocations: 1.057 MB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3445, allocations: 89.16 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.3446, allocations: 49.78 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3446, allocations: 4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3446, allocations: 38.5 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3446, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003095/0.3449, allocations: 157.2 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.345, allocations: 88.98 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.3455, allocations: 0.5091 MB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3455, allocations: 29.7 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3457, allocations: 207.5 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.3457, allocations: 19.75 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.3458, allocations: 53.69 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3459, allocations: 342.8 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.346, allocations: 63.95 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3462, allocations: 93.56 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.3463, allocations: 121.5 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3463, allocations: 0 / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002703/0.3466, allocations: 205.2 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3466, allocations: 5.094 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3466, allocations: 0 / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3467, allocations: 4 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3468, allocations: 35.86 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3468, allocations: 4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.3469, allocations: 31.53 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3469, allocations: 8 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001845/0.3471, allocations: 203.6 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.3472, allocations: 35.62 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.3474, allocations: 114 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3474, allocations: 11.81 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3474, allocations: 4 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3474, allocations: 4.062 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.348, allocations: 0.6447 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.348, allocations: 4 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.348, allocations: 4 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.348, allocations: 4 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.348, allocations: 4.5 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.348, allocations: 7.938 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.348, allocations: 0 / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3482, allocations: 135.1 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.3483, allocations: 116.7 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.3483, allocations: 11.98 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.3484, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.3484, allocations: 7.938 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3484, allocations: 8 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003995/0.3488, allocations: 387 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 0 / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002346/0.349, allocations: 43.84 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001005/0.3491, allocations: 99.25 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.3494, allocations: 107.9 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3494, allocations: 0 / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.3494, allocations: 19.94 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3497, allocations: 33.48 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.3504, allocations: 0.5824 MB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3507, allocations: 0.7872 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.3509, allocations: 62.94 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3509, allocations: 19.44 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3509, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.01019/0.3611, allocations: 1.914 MB / 1.08 GB, free: 13.71 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1)