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.0008339/0.0008338, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005482/0.005482, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.428/1.428, 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 2.945/2.945, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 9.938 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001158/0.3269, allocations: 0.5695 MB / 1.075 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.3271, allocations: 87.64 kB / 1.075 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.3272, allocations: 0 / 1.075 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3273, allocations: 19.86 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3275, allocations: 15.92 kB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.634e-05/0.3276, allocations: 35.98 kB / 1.075 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3278, allocations: 231.5 kB / 1.075 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.3282, allocations: 282.3 kB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3283, allocations: 63.55 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3285, allocations: 91.36 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3285, allocations: 7.938 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.3285, allocations: 8 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.3286, allocations: 47.73 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3287, allocations: 136.8 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.329, allocations: 406.5 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3291, allocations: 4 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3291, allocations: 0 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3291, allocations: 0 / 1.076 GB, free: 5.551 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.0006221/0.3297, allocations: 0.5149 MB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3297, allocations: 8.031 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3298, allocations: 44.45 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3302, allocations: 328.1 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.3303, allocations: 41.02 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3303, allocations: 32.38 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.331, allocations: 408 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.331, allocations: 192 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.3311, allocations: 15.94 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3311, allocations: 15.94 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.3316, allocations: 299.8 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.333, allocations: 1.057 MB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.3332, allocations: 93.16 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.3333, allocations: 45.8 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3333, allocations: 0 / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3333, allocations: 30.56 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.3334, allocations: 3.984 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004109/0.3338, allocations: 173.2 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.3338, allocations: 85.05 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.3344, allocations: 0.5091 MB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3344, allocations: 29.64 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3346, allocations: 207.4 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3346, allocations: 11.84 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3347, allocations: 41.7 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3348, allocations: 342.8 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.335, allocations: 67.95 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3351, allocations: 94.88 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3353, allocations: 109.7 kB / 1.081 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3353, allocations: 0 / 1.081 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002894/0.3356, allocations: 213.1 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3356, allocations: 4.188 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3356, allocations: 0 / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3357, allocations: 7.938 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3358, allocations: 35.86 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3358, allocations: 8 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.3359, allocations: 31.53 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.3359, allocations: 12 kB / 1.081 GB, free: 436 kB / 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.0002031/0.3361, allocations: 195.5 kB / 1.081 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.3362, allocations: 35.53 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.3364, allocations: 118 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3365, allocations: 3.938 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3365, allocations: 4 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3365, allocations: 0 / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006093/0.3371, allocations: 0.6563 MB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3371, allocations: 4.188 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.3371, allocations: 7.984 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3371, allocations: 4 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3372, allocations: 0 / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3372, allocations: 0 / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3372, allocations: 4 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3373, allocations: 135.2 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3375, allocations: 124.6 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3375, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.3376, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.3376, allocations: 7.984 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3376, allocations: 0 / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004643/0.3381, allocations: 391 kB / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3381, allocations: 0 / 1.082 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000246/0.3383, allocations: 43.94 kB / 1.082 GB, free: 14.56 MB / 0.8419 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.0001246/0.3385, allocations: 103.2 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3387, allocations: 107.9 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3387, allocations: 0 / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.3387, allocations: 12 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3391, allocations: 30.55 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.3399, allocations: 0.5938 MB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.3403, allocations: 0.7872 MB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.3404, allocations: 58.88 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.3405, allocations: 23.42 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3405, allocations: 7.938 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.004909/0.3454, allocations: 1.86 MB / 1.086 GB, free: 10.92 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)