Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001292/0.001292, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.83 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2449, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001895/0.2468, allocations: 0.9257 MB / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.2471, allocations: 83.64 kB / 1.053 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.2471, allocations: 11.94 kB / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2473, allocations: 11.86 kB / 1.053 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2474, allocations: 11.94 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.01e-05/0.2474, allocations: 39.97 kB / 1.053 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2477, allocations: 227.5 kB / 1.053 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.248, allocations: 286.3 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2481, allocations: 103.5 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2482, allocations: 131.3 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.2483, allocations: 16 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.2483, allocations: 20 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.2484, allocations: 71.7 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2485, allocations: 135.1 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.2488, allocations: 422.6 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2488, allocations: 3.938 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.2488, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.2488, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 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.0005842/0.2494, allocations: 0.5929 MB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2494, allocations: 11.97 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.2495, allocations: 70.72 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.2496, allocations: 40.47 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.2499, allocations: 336.1 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.2499, allocations: 37.02 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.25, allocations: 28.38 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.2505, allocations: 404.2 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2505, allocations: 3.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.2506, allocations: 16 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2506, allocations: 8 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.251, allocations: 295.6 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2522, allocations: 1.061 MB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2523, allocations: 93.16 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.2524, allocations: 49.77 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2524, allocations: 0 / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2525, allocations: 34.56 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2525, allocations: 3.938 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003089/0.2528, allocations: 169.2 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.2528, allocations: 81.05 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.2533, allocations: 0.5091 MB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2533, allocations: 25.7 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2534, allocations: 203.5 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.2535, allocations: 15.81 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.2535, allocations: 57.69 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2537, allocations: 342.8 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2538, allocations: 71.94 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2539, allocations: 83.11 kB / 1.059 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.254, allocations: 117.5 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.254, allocations: 0 / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002677/0.2543, allocations: 209.1 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2543, allocations: 8 kB / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2543, allocations: 7.984 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2543, allocations: 3.938 kB / 1.059 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2545, allocations: 27.94 kB / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.2545, allocations: 0 / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.2546, allocations: 39.61 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2546, allocations: 4 kB / 1.06 GB, free: 464 kB / 0.8106 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.0001871/0.2548, allocations: 199.5 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.2549, allocations: 35.47 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.255, allocations: 114 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2551, allocations: 7.938 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2551, allocations: 3.984 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2551, allocations: 3.938 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.2555, allocations: 0.6526 MB / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2555, allocations: 0 / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.2556, allocations: 7.938 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2556, allocations: 0 / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2556, allocations: 7.984 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2556, allocations: 4.125 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2556, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2557, allocations: 139.3 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.2558, allocations: 124.6 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2558, allocations: 4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.2559, allocations: 4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.2559, allocations: 12.36 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2559, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003681/0.2563, allocations: 391 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2563, allocations: 0 / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000221/0.2565, allocations: 36 kB / 1.061 GB, free: 14.59 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.0003552/0.2569, allocations: 0.6731 MB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2571, allocations: 107.8 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2571, allocations: 0 / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.2571, allocations: 15.98 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2574, allocations: 25.81 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.2602, allocations: 2.984 MB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2605, allocations: 0.7872 MB / 1.066 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.972e-05/0.2606, allocations: 62.94 kB / 1.066 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2608, allocations: 87.41 kB / 1.066 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2608, allocations: 384 / 1.066 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.495/1.756, allocations: 5.388 MB / 1.071 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.756, allocations: 230.1 kB / 1.071 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/4.118, allocations: 0.75 kB / 1.071 GB, free: 4.199 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1)