Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001189/0.001189, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 69.5 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.362, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00232/0.3644, allocations: 0.8676 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.3647, allocations: 91.69 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.3648, allocations: 7.938 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3649, allocations: 19.8 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3651, allocations: 15.86 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.73e-05/0.3652, allocations: 35.97 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3654, allocations: 259.4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.3658, allocations: 294.3 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.366, allocations: 131.5 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3661, allocations: 147.3 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.3662, allocations: 32 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.3662, allocations: 32 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.3663, allocations: 87.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3665, allocations: 155.1 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.3668, allocations: 434.6 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3668, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3669, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3669, allocations: 0 / 1.071 GB, free: 7.84 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.0006948/0.3676, allocations: 0.5967 MB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3676, allocations: 15.97 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.3677, allocations: 36.47 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3681, allocations: 332.1 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.3681, allocations: 37.02 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.3682, allocations: 40.31 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.3687, allocations: 396 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3687, allocations: 192 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.3688, allocations: 23.94 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3688, allocations: 8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.3693, allocations: 299.8 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.3707, allocations: 1.057 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3708, allocations: 93.16 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.3709, allocations: 45.78 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3709, allocations: 4 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.371, allocations: 38.56 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.371, allocations: 0 / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003496/0.3713, allocations: 161.2 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3714, allocations: 81.05 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.372, allocations: 0.5091 MB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.372, allocations: 29.7 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3722, allocations: 207.5 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.3722, allocations: 15.75 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.3723, allocations: 53.69 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3724, allocations: 346.8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3725, allocations: 67.94 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3726, allocations: 89.52 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3728, allocations: 113.6 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3728, allocations: 8 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003062/0.3731, allocations: 209.1 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3732, allocations: 4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3732, allocations: 3.984 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3732, allocations: 0 / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3733, allocations: 35.88 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3734, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.3735, allocations: 39.52 kB / 1.076 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3735, allocations: 4 kB / 1.076 GB, free: 2.629 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.0001978/0.3737, allocations: 200.1 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3738, allocations: 31.62 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.374, allocations: 121.9 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.374, allocations: 3.938 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3741, allocations: 3.984 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3741, allocations: 256 / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.3747, allocations: 0.6525 MB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3747, allocations: 4.312 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.436e-05/0.3747, allocations: 4 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3747, allocations: 0 / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3747, allocations: 11.98 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3747, allocations: 4.125 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3748, allocations: 4 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3749, allocations: 135.1 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.375, allocations: 116.7 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.3751, allocations: 4 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.3751, allocations: 8 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.3752, allocations: 4 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3752, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00044/0.3756, allocations: 391 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3756, allocations: 0 / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002649/0.3759, allocations: 43.84 kB / 1.077 GB, free: 0.7695 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.0001386/0.3761, allocations: 107.2 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3763, allocations: 107.9 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3763, allocations: 0 / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.3763, allocations: 19.92 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3766, allocations: 33.5 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.3775, allocations: 0.5026 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3779, allocations: 0.787 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.3781, allocations: 58.94 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.3781, allocations: 27.44 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.3781, allocations: 0 / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Templates: time 0.005916/0.3841, allocations: 1.987 MB / 1.081 GB, free: 13.09 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1)