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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001343, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.55 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3591, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002195/0.3614, allocations: 0.9084 MB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.3616, allocations: 87.64 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.3617, allocations: 4 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3618, allocations: 19.8 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.362, allocations: 15.94 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.41e-05/0.3621, allocations: 39.97 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3623, allocations: 227.5 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.3627, allocations: 286.3 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3628, allocations: 115.5 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3629, allocations: 123.3 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.363, allocations: 16 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.363, allocations: 20 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3631, allocations: 67.7 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3632, allocations: 139.1 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.3635, allocations: 418.6 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3636, allocations: 3.984 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3636, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3636, allocations: 0 / 1.07 GB, free: 8.387 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.0006737/0.3643, allocations: 0.5967 MB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3643, allocations: 8.031 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.3644, allocations: 40.47 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3647, allocations: 336 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.3648, allocations: 37.02 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3649, allocations: 32.38 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.3655, allocations: 408 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3655, allocations: 192 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3655, allocations: 19.94 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3656, allocations: 8 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.366, allocations: 295.8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3676, allocations: 1.057 MB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3677, allocations: 89.16 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.3678, allocations: 49.78 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3678, allocations: 8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3679, allocations: 30.56 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3679, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003478/0.3682, allocations: 165.5 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3683, allocations: 81.05 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.3689, allocations: 0.5091 MB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3689, allocations: 33.64 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3691, allocations: 207.5 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3691, allocations: 15.75 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.3692, allocations: 57.69 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3693, allocations: 342.8 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3695, allocations: 71.95 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3696, allocations: 85.58 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3698, allocations: 117.5 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3698, allocations: 4 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002824/0.3701, allocations: 209.2 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3701, allocations: 7.984 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3701, allocations: 7.984 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3701, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3703, allocations: 35.88 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3703, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.3704, allocations: 39.52 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3704, allocations: 8 kB / 1.075 GB, free: 3.168 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.0002567/0.3707, allocations: 199.7 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.3707, allocations: 27.62 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.3709, allocations: 117.9 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.371, allocations: 11.92 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.371, allocations: 0 / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.371, allocations: 64 / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.3715, allocations: 0.6603 MB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3715, allocations: 0 / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.3716, allocations: 4 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3716, allocations: 3.984 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3716, allocations: 0 / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3716, allocations: 8.125 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3716, allocations: 3.938 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.3718, allocations: 131.2 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3719, allocations: 116.7 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3719, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.372, allocations: 8 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.372, allocations: 4 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.372, allocations: 4 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004113/0.3724, allocations: 391 kB / 1.076 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3724, allocations: 3.938 kB / 1.076 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000251/0.3727, allocations: 39.84 kB / 1.076 GB, free: 1.312 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.000124/0.3728, allocations: 107.2 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.373, allocations: 103.9 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3731, allocations: 0 / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.3731, allocations: 19.92 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3734, allocations: 35.05 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.3742, allocations: 0.5785 MB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3747, allocations: 0.7911 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.3748, allocations: 58.94 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3748, allocations: 23.44 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3749, allocations: 0 / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.005258/0.3801, allocations: 1.912 MB / 1.08 GB, free: 13.62 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)