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.001734/0.001734, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00232/0.00232, allocations: 189.4 kB / 16.25 MB, free: 6.148 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3394, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002231/0.3417, allocations: 0.92 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.342, allocations: 87.64 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.3421, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3422, allocations: 11.86 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3424, allocations: 15.94 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.115e-05/0.3425, allocations: 39.95 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.3427, allocations: 251.5 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.3431, allocations: 294.3 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3432, allocations: 135.5 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3434, allocations: 139.3 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.3435, allocations: 32 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.3435, allocations: 32 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.3436, allocations: 87.7 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3437, allocations: 155.1 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.3441, allocations: 442.6 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3442, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3442, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.3442, allocations: 0 / 1.07 GB, free: 8.129 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.0008225/0.345, allocations: 0.5967 MB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.345, allocations: 12.03 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.3451, allocations: 36.47 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.3455, allocations: 336 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.3456, allocations: 37.02 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.3456, allocations: 32.38 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.3462, allocations: 404 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3462, allocations: 4.188 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3463, allocations: 15.94 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3463, allocations: 11.94 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.3467, allocations: 295.8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3481, allocations: 1.057 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3482, allocations: 93.16 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.3483, allocations: 49.78 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3484, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3484, allocations: 34.56 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.3484, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003208/0.3487, allocations: 165.2 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3488, allocations: 81.05 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.3493, allocations: 0.5091 MB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3493, allocations: 29.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3495, allocations: 207.5 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3495, allocations: 19.75 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.3496, allocations: 53.69 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3497, allocations: 346.8 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3498, allocations: 71.89 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.35, allocations: 85.58 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3501, allocations: 117.6 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3501, allocations: 4 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002849/0.3504, allocations: 209.1 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3504, allocations: 8 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3505, allocations: 0 / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3505, allocations: 0 / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3506, allocations: 35.86 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3506, allocations: 0 / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.3507, allocations: 39.53 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.3507, allocations: 7.938 kB / 1.075 GB, free: 2.918 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.0002258/0.351, allocations: 203.9 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.351, allocations: 35.61 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.3513, allocations: 114 kB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3513, allocations: 4.125 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3513, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3513, allocations: 12 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.3519, allocations: 0.6525 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3519, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.3519, allocations: 7.984 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3519, allocations: 0 / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.352, allocations: 8.125 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.352, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.352, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.3521, allocations: 135.1 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.3522, allocations: 116.7 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3522, allocations: 8 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.3523, allocations: 4 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.3523, allocations: 4 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3523, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003843/0.3527, allocations: 391 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3527, allocations: 0 / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002424/0.353, allocations: 43.84 kB / 1.077 GB, free: 1.059 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.0001147/0.3531, allocations: 111.2 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3533, allocations: 103.9 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3533, allocations: 0 / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.3534, allocations: 19.92 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3536, allocations: 31.05 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.3544, allocations: 0.5885 MB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3548, allocations: 0.7831 MB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3549, allocations: 58.94 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.3549, allocations: 23.44 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3549, allocations: 0 / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.00503/0.36, allocations: 1.992 MB / 1.08 GB, free: 13.29 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)