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.001073/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001087/0.001087, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.25 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002321/0.3366, allocations: 0.9205 MB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.3369, allocations: 87.64 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.337, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3371, allocations: 15.84 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.3372, allocations: 15.94 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.128e-05/0.3373, allocations: 31.98 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.3376, allocations: 255.5 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.338, allocations: 290.3 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3381, allocations: 131.5 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3382, allocations: 143.3 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.3383, allocations: 39.94 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.3383, allocations: 32 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.3384, allocations: 87.7 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3386, allocations: 155.1 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3389, allocations: 434.6 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.339, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.339, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.339, allocations: 0 / 1.07 GB, free: 8.199 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.0007226/0.3397, allocations: 0.5967 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3398, allocations: 12.03 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3398, allocations: 40.47 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.3402, allocations: 336 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.3403, allocations: 37.02 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.3403, allocations: 28.38 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.341, allocations: 408 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.341, allocations: 4.172 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.341, allocations: 19.94 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.341, allocations: 8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.3415, allocations: 299.8 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.3428, allocations: 1.053 MB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3429, allocations: 93.16 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.343, allocations: 45.78 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.343, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3431, allocations: 34.56 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3431, allocations: 7.938 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003366/0.3434, allocations: 169.2 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.3435, allocations: 81.05 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.344, allocations: 0.5091 MB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.344, allocations: 25.7 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3442, allocations: 207.5 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3442, allocations: 19.75 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.3443, allocations: 53.69 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3444, allocations: 346.8 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3446, allocations: 67.94 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3447, allocations: 90.77 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3448, allocations: 109.7 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3449, allocations: 4 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002885/0.3452, allocations: 217.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3452, allocations: 8 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3452, allocations: 3.984 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3452, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3454, allocations: 31.88 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3454, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.3455, allocations: 43.52 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.3455, allocations: 4 kB / 1.075 GB, free: 2.98 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.0001959/0.3457, allocations: 203.5 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.3458, allocations: 27.62 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.346, allocations: 118 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.346, allocations: 3.938 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.346, allocations: 3.984 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.346, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.3466, allocations: 0.6604 MB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3466, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.3466, allocations: 4 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3466, allocations: 0 / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3466, allocations: 7.984 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3466, allocations: 0 / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3466, allocations: 0 / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3468, allocations: 139.2 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.3469, allocations: 120.7 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3469, allocations: 0 / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.347, allocations: 4 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.347, allocations: 8 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.347, allocations: 0 / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003959/0.3474, allocations: 391 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3474, allocations: 0 / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000233/0.3477, allocations: 43.84 kB / 1.077 GB, free: 1.125 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 9.801e-05/0.3478, allocations: 107.2 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.348, allocations: 103.9 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.348, allocations: 4.469 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.348, allocations: 19.92 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3483, allocations: 37.84 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.349, allocations: 0.5821 MB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3494, allocations: 0.7909 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.3495, allocations: 54.94 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3496, allocations: 23.44 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3496, allocations: 0 / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.004772/0.3543, allocations: 1.983 MB / 1.08 GB, free: 13.36 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)